diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-02-28 20:19:53 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-02-28 20:19:53 +0100 |
commit | cfa94b4338b5dd5578436df0402b2f2210de3eaa (patch) | |
tree | 896a0814e52b3832f54efbb9a4da5fa6ce0d509c /mysql-test | |
parent | 8161c6772d144d6a4f08fc924ff6e6e403d1371d (diff) | |
download | mariadb-git-cfa94b4338b5dd5578436df0402b2f2210de3eaa.tar.gz |
revert
revid:georgi.kodinov@oracle.com-20120309130449-82e3bs5v3et1x0ef
committer: Georgi Kodinov <Georgi.Kodinov@Oracle.com>
timestamp: Fri 2012-03-09 15:04:49 +0200
message:
Bug #12408412: GROUP_CONCAT + ORDER BY + INPUT/OUTPUT SAME
USER VARIABLE = CRASH
Moved the preparation of the variables that receive the output from
SELECT INTO from execution time (JOIN:execute) to compile time
(JOIN::prepare). This ensures that if the same variable is used in the
SELECT part of SELECT INTO it will be properly marked as non-const
for this query.
Test case added.
Used proper fast iterator.
a better fix (much smaller and without regressions) is coming from 5.1
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/t/user_var.test | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mysql-test/t/user_var.test b/mysql-test/t/user_var.test index c6c4e4d9d2f..147eec6e21d 100644 --- a/mysql-test/t/user_var.test +++ b/mysql-test/t/user_var.test @@ -416,14 +416,6 @@ DROP TRIGGER trg1; DROP TABLE t1; ---echo # ---echo # Bug #12408412: GROUP_CONCAT + ORDER BY + INPUT/OUTPUT ---echo # SAME USER VARIABLE = CRASH ---echo # - -SET @bug12408412=1; -SELECT GROUP_CONCAT(@bug12408412 ORDER BY 1) INTO @bug12408412; - # # MDEV-616 LP BUG#1002126 # Bug #11764371 57196: MORE FUN WITH ASSERTION: !TABLE->FILE || |