diff options
author | Ramil Kalimullin <ramil@mysql.com> | 2010-11-22 14:47:28 +0300 |
---|---|---|
committer | Ramil Kalimullin <ramil@mysql.com> | 2010-11-22 14:47:28 +0300 |
commit | cc5263b223c9bc65d2a98276020a56d23c2fde29 (patch) | |
tree | 318334755d94aef3ee64545c0a4a566380f9162f /mysql-test/t/func_misc.test | |
parent | aab0c52976a9d647388525423f7c7e8d25ad4118 (diff) | |
parent | 218ca24cd9f8261b2473de6792067de75d95ca31 (diff) | |
download | mariadb-git-cc5263b223c9bc65d2a98276020a56d23c2fde29.tar.gz |
Manual merge from mysql-5.5-bugteam.
Diffstat (limited to 'mysql-test/t/func_misc.test')
-rw-r--r-- | mysql-test/t/func_misc.test | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test index 2251ae45b3f..1a5c5373841 100644 --- a/mysql-test/t/func_misc.test +++ b/mysql-test/t/func_misc.test @@ -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 # +--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); ---echo End of tests +DROP TABLE t1; + + +--echo # +--echo # End of 5.5 tests +--echo # + +--echo # +--echo # End of tests +--echo # |