diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2013-12-17 01:38:44 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2013-12-17 01:38:44 +0400 |
commit | c5004e399eda1457508b5d71ca3b170eee3b40ee (patch) | |
tree | 414c10e298af25c074757f4edf5b17a99f95a053 /mysql-test/r/func_like.result | |
parent | c1a65228757e25aabccfcf77c494811ed1e5a633 (diff) | |
download | mariadb-git-c5004e399eda1457508b5d71ca3b170eee3b40ee.tar.gz |
MDEV-5445 Server crashes in Item_func_like::fix_fields on LIKE ExtractValue(..)
Fixed.
Diffstat (limited to 'mysql-test/r/func_like.result')
-rw-r--r-- | mysql-test/r/func_like.result | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/func_like.result b/mysql-test/r/func_like.result index 39590eb1c99..8d72b818cf8 100644 --- a/mysql-test/r/func_like.result +++ b/mysql-test/r/func_like.result @@ -188,3 +188,15 @@ DROP TABLE t1, t2; SELECT '' LIKE '1' ESCAPE COUNT(1); ERROR HY000: Incorrect arguments to ESCAPE End of 5.1 tests +# +# Start of 10.0 tests +# +# +# MDEV-5445 Server crashes in Item_func_like::fix_fields on LIKE ExtractValue(..) +# +SELECT 'a' LIKE REPEAT('',0); +'a' LIKE REPEAT('',0) +0 +SELECT 'a' LIKE EXTRACTVALUE('bar','qux'); +'a' LIKE EXTRACTVALUE('bar','qux') +0 |