1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Preparation to charset dependant test_if_int and test_if_real

This commit is contained in:
bar@bar.mysql.r18.ru
2002-12-11 17:42:48 +04:00
parent 6f5098c5c9
commit b4fcdaa276
3 changed files with 30 additions and 26 deletions

View File

@ -4637,7 +4637,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
berkeley_lock_type=berkeley_lock_types[type-1];
else
{
if (test_if_int(argument,(uint) strlen(argument)))
if (test_if_int(argument,(uint) strlen(argument), my_charset_latin1))
berkeley_lock_scan_time=atoi(argument);
else
{