summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authortnurnberg@sin.intern.azundris.com <>2007-10-18 10:55:42 +0200
committertnurnberg@sin.intern.azundris.com <>2007-10-18 10:55:42 +0200
commit2a9d32f8ebf1b515bc541cc0e7ac8e8bbb3e72c6 (patch)
tree5aa999685f705164d33cbb12c28d5a7d3a1ba2c8 /mysql-test/t/variables.test
parent5f5b7cc3114443f3c69904d777a016a97ec3cf4e (diff)
parent4a48f2b3f4accc77cae142b9879cf10d34f05b53 (diff)
downloadmariadb-git-2a9d32f8ebf1b515bc541cc0e7ac8e8bbb3e72c6.tar.gz
Merge sin.intern.azundris.com:/misc/mysql/31588/50-31588
into sin.intern.azundris.com:/misc/mysql/31588/51-31588
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r--mysql-test/t/variables.test9
1 files changed, 8 insertions, 1 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index 81db143b518..495cfe4445a 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -574,7 +574,14 @@ set @test = @@query_prealloc_size;
set @@query_prealloc_size = @test;
select @@query_prealloc_size = @test;
-# End of 4.1 tests
+#
+# Bug#31588 buffer overrun when setting variables
+#
+# Buffer-size Off By One. Should throw valgrind-warning without fix #31588.
+--error 1231
+set global sql_mode=repeat('a',80);
+
+--echo End of 4.1 tests
#
# Bug#6282 Packet error with SELECT INTO