Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4201 LevelDB Storage Engine MS2
  3. MDEV-4298

LevelDB: Assertion `thd->is_error() || kill_errno' fails in ha_rows filesort

    XMLWordPrintable

Details

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

    Description

      CREATE TABLE t1 (pk INT PRIMARY KEY, i INT, KEY(i)) ENGINE=LevelDB;
      INSERT INTO t1 VALUES (1,1),(2,2);
      BEGIN;
      UPDATE t1 SET i = 100;
       
      --connect (con1,localhost,root,,test)
      DELETE IGNORE FROM t1 ORDER BY i;
       
      --connection defalut
      COMMIT;

      mysql-5.6-leveldb/sql/filesort.cc:439: ha_rows filesort(THD*, TABLE*, Filesort*, bool, ha_rows*, ha_rows*): Assertion `thd->is_error() || kill_errno' failed.
      mysqld got signal 6 ;

      #6  0x00007fd9f3da60ee in __assert_fail_base (fmt=<optimized out>, assertion=0xfa0498 "thd->is_error() || kill_errno", file=0xfa0310 "mysql-5.6-leveldb/sql/filesort.cc", line=<optimized out>, function=<optimized out>) at assert.c:94
      #7  0x00007fd9f3da6192 in __GI___assert_fail (assertion=0xfa0498 "thd->is_error() || kill_errno", file=0xfa0310 "mysql-5.6-leveldb/sql/filesort.cc", line=439, function=0xfa0d40 "ha_rows filesort(THD*, TABLE*, Filesort*, bool, ha_rows*, ha_rows*)") at assert.c:103
      #8  0x00000000008dde28 in filesort (thd=0x382dde0, table=0x7fd9d00158f0, filesort=0x7fd9f01e44b0, sort_positions=true, examined_rows=0x7fd9f01e4518, found_rows=0x7fd9f01e4520) at mysql-5.6-leveldb/sql/filesort.cc:439
      #9  0x000000000094e70c in mysql_delete (thd=0x382dde0, table_list=0x7fd9c4004d28, conds=0x0, order_list=0x3830788, limit=18446744073709551615, options=0) at mysql-5.6-leveldb/sql/sql_delete.cc:302
      #10 0x00000000007a1b1a in mysql_execute_command (thd=0x382dde0) at mysql-5.6-leveldb/sql/sql_parse.cc:3474
      #11 0x00000000007a8be7 in mysql_parse (thd=0x382dde0, rawbuf=0x7fd9c4004c30 "DELETE IGNORE FROM t1 ORDER BY i", length=32, parser_state=0x7fd9f01e6110) at mysql-5.6-leveldb/sql/sql_parse.cc:6117
      #12 0x000000000079c9a3 in dispatch_command (command=COM_QUERY, thd=0x382dde0, packet=0x3831831 "DELETE IGNORE FROM t1 ORDER BY i", packet_length=32) at mysql-5.6-leveldb/sql/sql_parse.cc:1312
      #13 0x000000000079bb66 in do_command (thd=0x382dde0) at mysql-5.6-leveldb/sql/sql_parse.cc:1036
      #14 0x0000000000766e09 in do_handle_one_connection (thd_arg=0x382dde0) at mysql-5.6-leveldb/sql/sql_connect.cc:969
      #15 0x000000000076682e in handle_one_connection (arg=0x382dde0) at mysql-5.6-leveldb/sql/sql_connect.cc:885
      #16 0x0000000000af6924 in pfs_spawn_thread (arg=0x36b3300) at mysql-5.6-leveldb/storage/perfschema/pfs.cc:1853
      #17 0x00007fd9f494fe9a in start_thread (arg=0x7fd9f01e7700) at pthread_create.c:308
      #18 0x00007fd9f3e6acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

      revision-id: psergey@askmonty.org-20130319094846-yze9xy3qeb5g6hrc
      revno: 4610
      branch-nick: mysql-5.6-leveldb

      Attachments

        Activity

          People

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