summaryrefslogtreecommitdiff
path: root/mysql-test/t/select.test
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2012-09-29 22:44:13 -0700
committerIgor Babaev <igor@askmonty.org>2012-09-29 22:44:13 -0700
commit66bd2b56fce6be2a083ef04b593fb0f8e644d5b4 (patch)
tree56dd1b0932b93625a1858fc54a82e3acd63066a4 /mysql-test/t/select.test
parente290d2bed52b0d5d930a0bc3362008ddb27915a6 (diff)
downloadmariadb-git-66bd2b56fce6be2a083ef04b593fb0f8e644d5b4.tar.gz
Fixed LP bug #1058071 (mdev-564).
In some rare cases when the value of the system variable join_buffer_size was set to a number less than 256 the function JOIN_CACHE::set_constants determined the size of an offset in the join buffer equal to 1 though the minimal join buffer required more than 256 bytes. This could cause a crash of the server when records from the join buffer were read.
Diffstat (limited to 'mysql-test/t/select.test')
-rw-r--r--mysql-test/t/select.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/select.test b/mysql-test/t/select.test
index b937462e3e9..890da70caad 100644
--- a/mysql-test/t/select.test
+++ b/mysql-test/t/select.test
@@ -4126,7 +4126,7 @@ INSERT INTO t5 VALUES (20),(5);
CREATE TABLE t6(f1 int);
INSERT INTO t6 VALUES (9),(7);
-SET SESSION join_buffer_size = 2048;
+SET SESSION join_buffer_size = 2176;
EXPLAIN
SELECT STRAIGHT_JOIN * FROM t2, (t1 LEFT JOIN (t3,t4) ON t1.f1 = t4.f1), t5, t6;