diff options
author | unknown <jimw@mysql.com> | 2005-07-22 16:18:34 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-07-22 16:18:34 -0700 |
commit | c055edc631ad5e681e3b5fea6527d0608797ddab (patch) | |
tree | 2c85c101a029d878e55c1520a01261212d52ef9f /mysql-test/t/variables.test | |
parent | 9a0d9c35697c250f3136b1cb7b6a184cef3c6d45 (diff) | |
download | mariadb-git-c055edc631ad5e681e3b5fea6527d0608797ddab.tar.gz |
Fix value returned from SELECT of unsigned long system
variables. (Bug #10351)
mysql-test/r/variables.result:
Update results
mysql-test/t/variables.test:
Add regression test
sql/item.h:
Add Item_uint(ulong) constructor
sql/mysqld.cc:
Fix default/max max_seeks_for_key to UINT_MAX32
sql/set_var.cc:
Use correct Item_uint() constructors in sys_var::item()
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r-- | mysql-test/t/variables.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test index c3ffdc79c16..e6efb86e325 100644 --- a/mysql-test/t/variables.test +++ b/mysql-test/t/variables.test @@ -406,3 +406,13 @@ drop table t1; set @@warning_count=1; --error 1238 set @@global.error_count=1; + +# +# Bug #10351: Setting max_heap_table_size to 4G fails +# +set @@max_heap_table_size= 4294967296; +select @@max_heap_table_size; +set global max_heap_table_size= 4294967296; +select @@max_heap_table_size; +set @@max_heap_table_size= 4294967296; +select @@max_heap_table_size; |