8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00

Make numbers parser behave traditionally - no spaces inside the number

This commit is contained in:
alexpeshkoff 2013-04-15 11:07:30 +00:00
parent 3687048bc2
commit 30eb092d48
2 changed files with 7 additions and 2 deletions

View File

@ -450,7 +450,10 @@ int Config::getDummyPacketInterval() const
int Config::getLockMemSize() const
{
return get<int>(KEY_LOCK_MEM_SIZE);
int size = get<int>(KEY_LOCK_MEM_SIZE);
if (size < 64 * 1024)
size = 64 * 1024;
return size;
}
int Config::getLockHashSlots() const

View File

@ -795,7 +795,9 @@ SINT64 ConfigFile::Parameter::asInteger() const
break;
case ' ': case '\t':
break;
if (state == 1)
break;
return 0;
case 'k': case 'K':
if (state != 2)