summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authorkaa@polly.(none) <>2007-10-04 12:34:00 +0400
committerkaa@polly.(none) <>2007-10-04 12:34:00 +0400
commit1ba3f4f56b57bcf6266beae20da6a06eda436964 (patch)
treee84ac095560faabf900d89f9cf86b80c1815e1aa /mysql-test/t/variables.test
parentb794e5f212c7be40ad7be58f7b87319cdcd4c8e3 (diff)
downloadmariadb-git-1ba3f4f56b57bcf6266beae20da6a06eda436964.tar.gz
Issue a warning if a user sets an option or a variable to a value that is greater than a defined maximum for the option/variable.
This is for bug #29446 "Specifying a myisam_sort_buffer > 4GB on 64 bit machines not possible". Support for myisam_sort_buffer_size > 4 GB on 64-bit Windows will be looked at later in 5.2.
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r--mysql-test/t/variables.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index 0ad85a32568..ccd487a72ea 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -139,6 +139,7 @@ show global variables like 'net_%';
show session variables like 'net_%';
set net_buffer_length=1;
show variables like 'net_buffer_length';
+--warning 1292
set net_buffer_length=2000000000;
show variables like 'net_buffer_length';