summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authorDmitry Shulga <Dmitry.Shulga@oracle.com>2011-03-15 18:57:36 +0600
committerDmitry Shulga <Dmitry.Shulga@oracle.com>2011-03-15 18:57:36 +0600
commitfeb6d223285e91d435f3c72f2dc3f2b5e73c0f4a (patch)
tree0f5b82b368f0393b2467be245564bcd49d0933f9 /mysql-test/t/variables.test
parentf94e7288e33332584074ee85f625db9a93f2369c (diff)
parent9320dca994fdae18c549cb59266d49846dc1f839 (diff)
downloadmariadb-git-feb6d223285e91d435f3c72f2dc3f2b5e73c0f4a.tar.gz
Manual merge from mysql-5.1 for Bug#11764168 (56976: Severe denial
of service in prepared statements). sql/sql_prepare.cc: At mysql_stmt_get_longdata(): instead of pushing an internal error handler (as done in 5.1-tree) we save, set and restore the statement's diagnostics area and warning info.
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r--mysql-test/t/variables.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index 2b20bbdc13b..173f8aeaa58 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -1281,6 +1281,11 @@ SET @@global.max_join_size=0;
SET @@global.key_buffer_size=0;
SET @@global.key_cache_block_size=0;
+#
+# Bug#56976: added new start-up parameter
+#
+select @@max_long_data_size;
+
# cleanup
SET @@global.max_binlog_cache_size=DEFAULT;
SET @@global.max_join_size=DEFAULT;