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

LP:832679 - InnoDB: Error: row_search_for_mysql() is called without ha_innobase::external_lock()

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.1.67, 5.2.14, 5.3.12
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      The error is noticed on rhel5 rpms x86_64 Percona versions 5.1.54, 5.1.57 and 5.1.58

      The SQL script itself runs without errors or warnings but .err file is loaded with error messages
      InnoDB: Error: row_search_for_mysql() is called without ha_innobase::external_lock()

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              anton Anton added a comment -

              Re: InnoDB: Error: row_search_for_mysql() is called without ha_innobase::external_lock()
              The query affected:

              DROP TEMPORARY TABLE IF EXISTS TMP_VIEW;
              DROP TABLE IF EXISTS VIEW;
              CREATE TEMPORARY TABLE TMP_VIEW (
              learn_primary_key INT(20),
              evaluation_status_date DATETIME
              ) TYPE = InnoDB CHARACTER SET utf8 COLLATE utf8_unicode_ci;

              CREATE TABLE VIEW (
              learn_primary_key INT(20),
              evaluation_status_date DATETIME
              ) TYPE = InnoDB CHARACTER SET utf8 COLLATE utf8_unicode_ci;

              LOCK TABLES VIEW WRITE;

              DELETE FROM VIEW;
              INSERT INTO VIEW SELECT * FROM TMP_VIEW;

              UNLOCK TABLES;

              Show
              anton Anton added a comment - Re: InnoDB: Error: row_search_for_mysql() is called without ha_innobase::external_lock() The query affected: DROP TEMPORARY TABLE IF EXISTS TMP_VIEW; DROP TABLE IF EXISTS VIEW; CREATE TEMPORARY TABLE TMP_VIEW ( learn_primary_key INT(20), evaluation_status_date DATETIME ) TYPE = InnoDB CHARACTER SET utf8 COLLATE utf8_unicode_ci; CREATE TABLE VIEW ( learn_primary_key INT(20), evaluation_status_date DATETIME ) TYPE = InnoDB CHARACTER SET utf8 COLLATE utf8_unicode_ci; LOCK TABLES VIEW WRITE; DELETE FROM VIEW; INSERT INTO VIEW SELECT * FROM TMP_VIEW; UNLOCK TABLES;
              Hide
              ratzpo Rasmus Johansson added a comment -

              Re: InnoDB: Error: row_search_for_mysql() is called without ha_innobase::external_lock()
              Linked branch has updated mysql-test.diff with percona_misc_row_search_error test

              main.percona_misc_row_search_error [ fail ] Found warnings/errors in server log file!

              Test ended at 2011-08-26 05:41:06

              line

              InnoDB: Error: row_search_for_mysql() is called without ha_innobase::external_lock()

              ^ Found warnings in /root/5.1/Percona-Server-5.1.58-rel12.9/mysql-test/var/log/mysqld.1.err

              ok

              Show
              ratzpo Rasmus Johansson added a comment - Re: InnoDB: Error: row_search_for_mysql() is called without ha_innobase::external_lock() Linked branch has updated mysql-test.diff with percona_misc_row_search_error test main.percona_misc_row_search_error [ fail ] Found warnings/errors in server log file! Test ended at 2011-08-26 05:41:06 line InnoDB: Error: row_search_for_mysql() is called without ha_innobase::external_lock() ^ Found warnings in /root/5.1/Percona-Server-5.1.58-rel12.9/mysql-test/var/log/mysqld.1.err ok
              Hide
              joejulian Joe Julian added a comment -

              Re: InnoDB: Error: row_search_for_mysql() is called without ha_innobase::external_lock()
              Affects MariaDB 5.2.7-101 from the ourdelta repo

              Show
              joejulian Joe Julian added a comment - Re: InnoDB: Error: row_search_for_mysql() is called without ha_innobase::external_lock() Affects MariaDB 5.2.7-101 from the ourdelta repo
              Hide
              ratzpo Rasmus Johansson added a comment -

              Launchpad bug id: 832679

              Show
              ratzpo Rasmus Johansson added a comment - Launchpad bug id: 832679

                People

                • Assignee:
                  jplindst Jan Lindström
                  Reporter:
                  anton Anton
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated: