Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3841 LevelDB storage engine
  3. MDEV-4047

LevelDB: Assertion `0' fails in Protocol::end_statement() on multi-table INSERT IGNORE

    XMLWordPrintable

Details

    • Technical task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      mysqld: mysql-5.6-leveldb/sql/protocol.cc:518: void Protocol::end_statement(): Assertion `0' failed.
      00:47:20 UTC - mysqld got signal 6 ;

      #9  0xb73c5167 in __assert_fail () from /lib/libc.so.6
      #10 0x0830d0a1 in Protocol::end_statement (this=0x96631dc) at mysql-5.6-leveldb/sql/protocol.cc:518
      #11 0x083a421c in dispatch_command (command=COM_QUERY, thd=0x9662e08, packet=0x97027c9 "DELETE IGNORE t1.*, t2.* FROM t1, t2 WHERE b < a", packet_length=48) at mysql-5.6-leveldb/sql/sql_parse.cc:1695
      #12 0x083a265e in do_command (thd=0x9662e08) at mysql-5.6-leveldb/sql/sql_parse.cc:1036
      #13 0x08372019 in do_handle_one_connection (thd_arg=0x9662e08) at mysql-5.6-leveldb/sql/sql_connect.cc:969
      #14 0x08371bc2 in handle_one_connection (arg=0x9662e08) at mysql-5.6-leveldb/sql/sql_connect.cc:885
      #15 0x08650a37 in pfs_spawn_thread (arg=0x95e6938) at mysql-5.6-leveldb/storage/perfschema/pfs.cc:1853
      #16 0xb7719e32 in start_thread () from /lib/libpthread.so.0

      Test case:

      CREATE TABLE t1 (a int primary key) ENGINE=LevelDB;
      INSERT INTO t1 VALUES (1),(2);
      CREATE TABLE t2 (b int primary key) ENGINE=LevelDB;
      INSERT INTO t2 SELECT * FROM t1;
      DELETE IGNORE t1.*, t2.* FROM t1, t2 WHERE b < a;

      revision-id: psergey@askmonty.org-20130114195003-fgp08gh4swgcf1cx
      revno: 4486
      branch-nick: mysql-5.6-leveldb

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.