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

Inconsistent warning, only with CONNECT

Details

    Description

      MariaDB [xxx]> LOCK TABLE m WRITE;
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [xxx]> START TRANSACTION;
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [xxx]> LOCK TABLE t WRITE;
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [xxx]> START TRANSACTION;
      Query OK, 0 rows affected, 1 warning (0.00 sec)
       
      Warning (Code 1105): external_lock: unexpected command 59

      The table `m` is MyISAM but, as far as I can tell, no warning occurs with other storage engines. The table `t` is CONNECT, which seems to be the only engine that issues a warning.

      I report this behavior because you probably want to be aware about inconsistencies between engines. But, to be honest, I prefer CONNECT's behavior: when a trx starts, table locks are lost, and this is something I want to know. I hope that a more informative warning will be issued, no matter which engine I am using.

      Attachments

        Activity

          f_razzoli Federico Razzoli created issue -

          Hi Federico,

          Thanks. Inconsistency is always suspicious, e.g. as soon as I started verifying it, I got this: MDEV-6994.

          And of course if the warning happens to be intentional, it should come with a better message.

          elenst Elena Stepanova added a comment - Hi Federico, Thanks. Inconsistency is always suspicious, e.g. as soon as I started verifying it, I got this: MDEV-6994 . And of course if the warning happens to be intentional, it should come with a better message.
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Component/s Storage Engine - Connect [ 10128 ]
          Fix Version/s 10.0 [ 16000 ]
          Assignee Olivier Bertrand [ bertrandop ]
          Labels connect-engine

          I can easily suppress this warning. Changing it for a more informative warning should done only according to what other engines do.

          bertrandop Olivier Bertrand added a comment - I can easily suppress this warning. Changing it for a more informative warning should done only according to what other engines do.

          Warning suppressed

          bertrandop Olivier Bertrand added a comment - Warning suppressed
          bertrandop Olivier Bertrand made changes -
          Fix Version/s 10.0.15 [ 17300 ]
          Fix Version/s 10.0 [ 16000 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 57600 ] MariaDB v3 [ 62558 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 62558 ] MariaDB v4 [ 148382 ]

          People

            bertrandop Olivier Bertrand
            f_razzoli Federico Razzoli
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.