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:
parent
3687048bc2
commit
30eb092d48
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user