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

mariadb-dump -T doesn't convert table names

    XMLWordPrintable

Details

    • Can result in unexpected behaviour
    • `mariadb-dump -T` did not encode table names like the server did for `frm` files, so some tables can be created in the server, but not dumped with `mariadb-dump -T`, for example, a table `con` on Windows.
    • Q4/2025 Server Maintenance

    Description

      for example

      create database foo;
      use foo;
      create table `foo/bar` (c int) select 3 as c;
      exec $MYSQL_DUMP foo --tab $MYSQLTEST_VARDIR;
      drop database foo;
      

      this fails with

      Can't create/write to file 'foo/bar.sql' (Errcode: 2 "No such file or directory")
      

      or, on Windows,

      create table `con` (c int) select 3 as c;
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            serg Sergei Golubchik
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.