Manual merge from mysql-5.5-bugteam.

This commit is contained in:
Ramil Kalimullin 2010-11-22 14:47:28 +03:00
commit cc5263b223
344 changed files with 10355 additions and 14746 deletions

View file

@ -512,7 +512,28 @@ SELECT INET_NTOA(0);
SELECT '1' IN ('1', INET_NTOA(0));
--echo End of 5.1 tests
--echo #
--echo # End of 5.1 tests
--echo #
--echo End of tests
--echo #
--echo # Bug #58199: name_const in the having clause crashes
--echo #
CREATE TABLE t1 (a INT);
# NAME_CONST() would seg.fault when used wrongly in a HAVING clause
--error ER_WRONG_ARGUMENTS
SELECT 1 from t1 HAVING NAME_CONST('', a);
DROP TABLE t1;
--echo #
--echo # End of 5.5 tests
--echo #
--echo #
--echo # End of tests
--echo #