diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2010-08-10 12:13:58 +0200 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2010-08-10 12:13:58 +0200 |
commit | 788b4e404bbd97ff6b215ae55633e0971f8d19d6 (patch) | |
tree | efc0dbd46d368ae0610e007610662df90b1c73c3 /mysql-test/t/mysqltest.test | |
parent | f3f5e04a366d970ab4b90860b83350fbed0951c6 (diff) | |
download | mariadb-git-788b4e404bbd97ff6b215ae55633e0971f8d19d6.tar.gz |
Bug #55413 mysqltest gives parse error for lines matching "^let.*\\.*;$"
Allow escaped quotes also in statements not starting with --
But will not support single unescaped ' or `
Diffstat (limited to 'mysql-test/t/mysqltest.test')
-rw-r--r-- | mysql-test/t/mysqltest.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/mysqltest.test b/mysql-test/t/mysqltest.test index 031c51a0720..9da19ec00e0 100644 --- a/mysql-test/t/mysqltest.test +++ b/mysql-test/t/mysqltest.test @@ -701,6 +701,16 @@ echo banana = $cat; let $cat=ba\\\$cat\\\$cat; echo Not a banana: $cat; +# Bug #55413 would cause this to fail +let $escape= with\`some\"escaped\'quotes; +echo $escape; + +--let $escape= with\`some\"escaped\'quotes +echo $escape; + +# This only works with "--let" syntax +--let $tick= single'tick`backtick +echo $tick; # Test illegal uses of let |