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

CREATE TABLE IF NOT EXISTS ... LIKE dosn't work with PS

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.2
    • Fix Version/s: 10.3
    • Component/s: Protocol
    • Labels:
      None

      Description

      CREATE TABLE t_exists (a INT);
      CREATE TABLE IF NOT EXISTS t_exists LIKE x;
      DROP TABLE t_exists;

      The above test works in normal mysql-test-run but fails in mysql-test-run --ps

      mysqltest: At line 29: query 'CREATE TABLE IF NOT EXISTS t_exists LIKE x' failed: 1146: Table 'test.x' doesn't exist

        Attachments

          Activity

            People

            • Assignee:
              sanja Oleksandr Byelkin
              Reporter:
              monty Michael Widenius
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: