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

delete query with table aliases fails when no database has been selected

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 5.5.65, 5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL)
    • 10.5, 10.6
    • None
    • CentOS 7

    Description

      MariaDB shares this same bug with MySQL: https://bugs.mysql.com/bug.php?id=82189

      In a nutshell: When you do a delete query with table aliases but did not first type "use <database>", the command will fail with ERROR 1046 (3D000): No database selected.

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            dbuteyn Dennis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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