diff options
author | unknown <jimw@mysql.com> | 2005-05-06 05:48:46 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-05-06 05:48:46 -0700 |
commit | 34ca109146f97a79fc17bfcac785c4beba426fe1 (patch) | |
tree | 5f0d8331cd9e45e21f18b60e13b5c9347b486517 /mysql-test/t/mysqltest.test | |
parent | 745d52bb3da3afb018061b4e3ec34420a8475389 (diff) | |
download | mariadb-git-34ca109146f97a79fc17bfcac785c4beba426fe1.tar.gz |
Support quoted identifiers containing single and double quotes in
mysqltest. (Bug #10251)
client/mysqltest.c:
Remove duplication in quote-handling quote, and add handling
of backquote (`).
mysql-test/t/mysqltest.test:
Add test of identifiers containing quotes.
mysql-test/r/mysqltest.result:
Update results
Diffstat (limited to 'mysql-test/t/mysqltest.test')
-rw-r--r-- | mysql-test/t/mysqltest.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/mysqltest.test b/mysql-test/t/mysqltest.test index 0802c18ed6c..067b0db492f 100644 --- a/mysql-test/t/mysqltest.test +++ b/mysql-test/t/mysqltest.test @@ -286,3 +286,12 @@ select 3 from t1 ; #select 3 from t1 ; # #select 3 from t1 ; + + +# +# Bug #10251: Identifiers containing quotes not handled correctly +# +select 1 as `a'b`, 2 as `a"b`; + +# Test escaping of quotes +select 'aaa\\','aa''a',"aa""a"; |