Bug #91648 Numeric literals must be a number between 0 and 9999

Submitted: 16 Jul 2018 6:30 Modified: 16 Jul 2018 6:59
Reporter: yghmgl yang Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.7, 8.0.11 OS:Any
Assigned to: CPU Architecture:Any

[16 Jul 2018 6:30] yghmgl yang
Description:
Doc said that Numeric literals must be a number between 0 and 9999 in https://dev.mysql.com/doc/refman/5.7/en/create-server.html, bug we can set the options to bigger than 9999, it still worked.

How to repeat:
create server SERVER_TEST_01
foreign data wrapper mysql options(
host 'host',
database 'database',
user 'user',
password 'password',
socket 'socket',
owner 'owner',
port 10000
);
create server SERVER_TEST_02
foreign data wrapper mysql options(
host 'host',
database 'database',
user 'user',
password 'password',
socket 'socket',
owner 'owner',
port 99999
);

select * from mysql.servers;
[16 Jul 2018 6:59] MySQL Verification Team
Hello yghmgl yang,

Thank you for the report.
Observed this with even 8.0.11.

Thanks,
Umesh

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.037 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.