diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-01-23 23:19:09 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-01-24 09:35:07 +0100 |
commit | e2da680c5119d78eb152394d521b898337ea5836 (patch) | |
tree | be3d6f0c8576e670cef19a2a81532fc9eae4e1cd /mysql-test/r/mysqldump-nl.result | |
parent | 8637931f118b53ff6fdadf6006ccdb8dedd6f732 (diff) | |
download | mariadb-git-e2da680c5119d78eb152394d521b898337ea5836.tar.gz |
MDEV-13187 incorrect backslash parsing in clients
also cover USE and other built-in commands
Diffstat (limited to 'mysql-test/r/mysqldump-nl.result')
-rw-r--r-- | mysql-test/r/mysqldump-nl.result | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/mysql-test/r/mysqldump-nl.result b/mysql-test/r/mysqldump-nl.result index 6de439bdf3c..bca199dc46a 100644 --- a/mysql-test/r/mysqldump-nl.result +++ b/mysql-test/r/mysqldump-nl.result @@ -124,3 +124,46 @@ v1 1v drop database `mysqltest1 1tsetlqsym`; +create database `test```; +create database `test\`` +\! ls +#`; +show databases like 'test%'; +Database (test%) +test +test\` +\! ls +# +test` + +-- +-- Current Database: `test``` +-- + +/*!40000 DROP DATABASE IF EXISTS `test```*/; + +CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test``` /*!40100 DEFAULT CHARACTER SET latin1 */; + +USE `test```; + +-- +-- Current Database: `test\`` +-- \! ls +-- #` +-- + +/*!40000 DROP DATABASE IF EXISTS `test\`` +\! ls +#`*/; + +CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test\`` +\! ls +#` /*!40100 DEFAULT CHARACTER SET latin1 */; + +USE `test\`` +\! ls +#`; +drop database `test```; +drop database `test\`` +\! ls +#`; |