Update config.default.php
Since 2010 (at least) 0 has been used for unlimited in maxmem However, unlimited is actually -1 and can cause issues in certain environment.
This commit is contained in:
parent
403df4deff
commit
294d33c2f6
@ -705,13 +705,13 @@ $cfg['ExecTimeLimit'] = 300;
|
||||
$cfg['SessionSavePath'] = '';
|
||||
|
||||
/**
|
||||
* maximum allocated bytes ('0' for no limit)
|
||||
* maximum allocated bytes ('-1' for no limit)
|
||||
* this is a string because '16M' is a valid value; we must put here
|
||||
* a string as the default value so that /setup accepts strings
|
||||
*
|
||||
* @global string $cfg['MemoryLimit']
|
||||
*/
|
||||
$cfg['MemoryLimit'] = '0';
|
||||
$cfg['MemoryLimit'] = '-1';
|
||||
|
||||
/**
|
||||
* mark used tables, make possible to show locked tables (since MySQL 3.23.30)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user