mirror of
https://github.com/MariaDB/server.git
synced 2025-09-16 16:42:28 +03:00
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
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user