1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix for handling of unsigned long options on 32-bit platforms that

allowed unintended overflows. (Bug #10351)
This commit is contained in:
jimw@mysql.com
2005-07-28 18:22:49 -07:00
parent 72a6c71d08
commit 90924fcb6a
6 changed files with 16 additions and 20 deletions

View File

@ -408,11 +408,9 @@ set @@warning_count=1;
set @@global.error_count=1;
#
# Bug #10351: Setting max_heap_table_size to 4G fails
# Bug #10351: Setting ulong variable to > MAX_ULONG fails on 32-bit platform
#
set @@max_heap_table_size= 4294967296;
select @@max_heap_table_size;
select @@max_heap_table_size > 0;
set global max_heap_table_size= 4294967296;
select @@max_heap_table_size;
set @@max_heap_table_size= 4294967296;
select @@max_heap_table_size;
select @@global.max_heap_table_size > 0;