summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authorunknown <gluh@mysql.com/eagle.(none)>2007-10-23 14:06:56 +0500
committerunknown <gluh@mysql.com/eagle.(none)>2007-10-23 14:06:56 +0500
commit31634a38e8639e487e75150567687c2982cbef58 (patch)
treee024ee2308e98299aad32ed7bfc0dd0cdea33ba5 /mysql-test/t/variables.test
parent1a74cdf9d7463321ffc50e87d97f9310116488d3 (diff)
parent78a13fa46da14bb3676e0866c572483da31daea0 (diff)
downloadmariadb-git-31634a38e8639e487e75150567687c2982cbef58.tar.gz
Merge mysql.com:/home/gluh/MySQL/Merge/4.1
into mysql.com:/home/gluh/MySQL/Merge/4.1-opt
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 808dc0973d4..371cd6bc9b1 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -447,4 +447,11 @@ 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