[MDEV-13187] incorrect backslash parsing in clients Created: 2017-06-27  Updated: 2018-01-24  Resolved: 2017-06-27

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Affects Version/s: 5.5, 10.0, 10.1, 10.2
Fix Version/s: 10.1.25, 5.5.57, 10.0.32, 10.2.7

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None


 Description   

create table `a1\``b1` (a int);
show tables;
show create table `a1\``b1`;
set sql_mode=default;
--exec $MYSQL_DUMP test > $MYSQLTEST_VARDIR/tmp/bug.sql
--exec $MYSQL < $MYSQLTEST_VARDIR/tmp/bug.sql
drop table `a1\``b1`;

this fails, because mysql cannot parse the table name correctly. Fixing that, mysqltest error will show up. Alternatively, this test will do too:

create table `a1\``b1` (a int);
show create table `a1\``b1`;
drop table `a1\``b1`;


Generated at Thu Feb 08 08:03:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.