Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.0.3
-
None
Description
This issue was reported on Stackoverflow by Tars Morel
Due to obsolete constant name ULONG_LONG_MAX build fails:
mariadb/mariadb_codecs.c: In function 'my_strtoull':
mariadb/mariadb_codecs.c:148:15: error: 'ULONG_LONG_MAX' undeclared (first use in this function); did you mean 'ULLONG_MAX'?
|
148 | if (val > ULONG_LONG_MAX /10 || val*10 > ULONG_LONG_MAX - (*p - '0'))
|
According to the documentation the ULONG_LONG_MAX definition is obsolete and should be replaced by ULLONG_MAX.