summaryrefslogtreecommitdiff
path: root/mysql-test/r/ps.result
diff options
context:
space:
mode:
authortnurnberg@mysql.com/white.intern.koehntopp.de <>2007-11-30 06:32:04 +0100
committertnurnberg@mysql.com/white.intern.koehntopp.de <>2007-11-30 06:32:04 +0100
commit31d4e58ad4c26fea1367ddb00ea0c26a17d3ddfc (patch)
treed9c1641496d14878b7f46428eea3f65b3a7aeb9b /mysql-test/r/ps.result
parent6b92ec4acbf78892bc4880913a762db0189ce20f (diff)
downloadmariadb-git-31d4e58ad4c26fea1367ddb00ea0c26a17d3ddfc.tar.gz
Bug#31177: Server variables can't be set to their current values
Default values of variables were not subject to upper/lower bounds and step, while setting variables was. Bounds and step are also applied to defaults now; defaults are corrected quietly, values given by the user are corrected, and a correction-warning is thrown as needed. Lastly, very large values could wrap around, starting from 0 again. They are bounded at the maximum value for the respective data-type now if no lower maximum is specified in the variable's definition.
Diffstat (limited to 'mysql-test/r/ps.result')
-rw-r--r--mysql-test/r/ps.result2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/ps.result b/mysql-test/r/ps.result
index 4db588e5cac..648d6468c0a 100644
--- a/mysql-test/r/ps.result
+++ b/mysql-test/r/ps.result
@@ -806,6 +806,8 @@ select @@max_prepared_stmt_count;
@@max_prepared_stmt_count
0
set global max_prepared_stmt_count=10000000000000000;
+Warnings:
+Warning 1292 Truncated incorrect max_prepared_stmt_count value: '10000000000000000'
select @@max_prepared_stmt_count;
@@max_prepared_stmt_count
1048576