mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-13187 incorrect backslash parsing in clients
don't do backslash escapes inside backticks
This commit is contained in:
@ -618,3 +618,18 @@ EOF
|
||||
|
||||
--echo
|
||||
--echo End of tests
|
||||
|
||||
#
|
||||
# MDEV-13187 incorrect backslash parsing in clients
|
||||
#
|
||||
create table `a1\``b1` (a int);
|
||||
show tables;
|
||||
insert `a1\``b1` values (1),(2);
|
||||
show create table `a1\``b1`;
|
||||
--exec $MYSQL_DUMP --compact test
|
||||
--exec $MYSQL_DUMP test > $MYSQLTEST_VARDIR/tmp/bug.sql
|
||||
insert `a1\``b1` values (4),(5);
|
||||
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/bug.sql
|
||||
show create table `a1\``b1`;
|
||||
select * from `a1\``b1`;
|
||||
drop table `a1\``b1`;
|
||||
|
Reference in New Issue
Block a user