1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-20517 Assertion `!is_expensive()' failed in Item::value_depends_on_sql_mode_const_item

This commit is contained in:
Alexander Barkov
2019-09-07 07:44:54 +04:00
parent 39e5b76ef1
commit 8750df43ab
4 changed files with 32 additions and 13 deletions

View File

@ -1557,5 +1557,14 @@ numgtfmt
DROP VIEW v1;
DROP TABLE t1;
#
# MDEV-20517 Assertion `!is_expensive()' failed in Item::value_depends_on_sql_mode_const_item
#
SELECT ( 1 LIKE GET_LOCK( 'foo', 0 ) ) - 2;
( 1 LIKE GET_LOCK( 'foo', 0 ) ) - 2
-1
SELECT RELEASE_LOCK('foo');
RELEASE_LOCK('foo')
1
#
# End of 10.2 tests
#