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:
@ -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;
|
||||
|
Reference in New Issue
Block a user