summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_misc.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-09-07 07:44:54 +0400
committerAlexander Barkov <bar@mariadb.com>2019-09-07 07:44:54 +0400
commit8750df43ab94fb63c1f628b72e89e15118eb7431 (patch)
treedad04ad932cf21f2c6d057a130d76998ba2cdec5 /mysql-test/t/func_misc.test
parent39e5b76ef1e68c0aed0b0f6941d517a986fe8821 (diff)
downloadmariadb-git-8750df43ab94fb63c1f628b72e89e15118eb7431.tar.gz
MDEV-20517 Assertion `!is_expensive()' failed in Item::value_depends_on_sql_mode_const_item
Diffstat (limited to 'mysql-test/t/func_misc.test')
-rw-r--r--mysql-test/t/func_misc.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test
index 89c1744c354..cdbbe708153 100644
--- a/mysql-test/t/func_misc.test
+++ b/mysql-test/t/func_misc.test
@@ -1192,6 +1192,12 @@ SELECT * FROM v1 WHERE numgtfmt = NAME_CONST('wnumgtfmt',_utf8'QEDITIONS' COLLA
DROP VIEW v1;
DROP TABLE t1;
+--echo #
+--echo # MDEV-20517 Assertion `!is_expensive()' failed in Item::value_depends_on_sql_mode_const_item
+--echo #
+
+SELECT ( 1 LIKE GET_LOCK( 'foo', 0 ) ) - 2;
+SELECT RELEASE_LOCK('foo');
--echo #
--echo # End of 10.2 tests