Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13187

incorrect backslash parsing in clients

    Details

      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`;
      

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              serg Sergei Golubchik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: