summaryrefslogtreecommitdiff
path: root/mysql-test/r/variables.result
diff options
context:
space:
mode:
authorunknown <kaa@polly.(none)>2007-10-04 12:34:00 +0400
committerunknown <kaa@polly.(none)>2007-10-04 12:34:00 +0400
commit78348d4ed10a3a77870d956ad861c3fdcadd96a5 (patch)
treee84ac095560faabf900d89f9cf86b80c1815e1aa /mysql-test/r/variables.result
parent2b8748ca6e35c95fb9b8a6f0b55227f7c1da3a0f (diff)
downloadmariadb-git-78348d4ed10a3a77870d956ad861c3fdcadd96a5.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. mysql-test/r/variables.result: Fixed the test. mysql-test/t/variables.test: Fixed the test. mysys/my_getopt.c: Print a warning to the error log if a user sets an option to a value greater than the option's maximum value. sql/set_var.cc: Issue an SQL warning if a user assignes a value greater than the variable's maximum value.
Diffstat (limited to 'mysql-test/r/variables.result')
-rw-r--r--mysql-test/r/variables.result2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result
index 3d76f8e4a90..9e52fbeac1a 100644
--- a/mysql-test/r/variables.result
+++ b/mysql-test/r/variables.result
@@ -218,6 +218,8 @@ show variables like 'net_buffer_length';
Variable_name Value
net_buffer_length 1024
set net_buffer_length=2000000000;
+Warnings:
+Warning 1292 Truncated incorrect net_buffer_length value: '2000000000'
show variables like 'net_buffer_length';
Variable_name Value
net_buffer_length 1048576