1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

BUG#9072 'Max_error_count' system variable cannot be set to zero

- Chaned min value in mysqld.cc
 - Added testcase to warnings.test
This commit is contained in:
msvensson@neptunus.(none)
2005-03-21 11:07:31 +01:00
parent 517544590b
commit a5bb4810ff
3 changed files with 33 additions and 1 deletions

View File

@ -5053,7 +5053,7 @@ The minimum value for this variable is 4096.",
"Max number of errors/warnings to store for a statement.",
(gptr*) &global_system_variables.max_error_count,
(gptr*) &max_system_variables.max_error_count,
0, GET_ULONG, REQUIRED_ARG, DEFAULT_ERROR_COUNT, 1, 65535, 0, 1, 0},
0, GET_ULONG, REQUIRED_ARG, DEFAULT_ERROR_COUNT, 0, 65535, 0, 1, 0},
{"max_heap_table_size", OPT_MAX_HEP_TABLE_SIZE,
"Don't allow creation of heap tables bigger than this.",
(gptr*) &global_system_variables.max_heap_table_size,