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

Assertion `0' failed in Protocol::end_statement

    XMLWordPrintable

Details

    Description

      10.0 378beed0a68017

      mysqld: /data/src/10.0-bug/sql/protocol.cc:530: void Protocol::end_statement(): Assertion `0' failed.
      170921 17:45:20 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007f514a695ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x00000000005a2241 in Protocol::end_statement (this=0x7f51446a25f8) at /data/src/10.0-bug/sql/protocol.cc:530
      #9  0x000000000064a36e in dispatch_command (command=COM_QUERY, thd=0x7f51446a2070, packet=0x7f5145be5071 "REPLACE INTO v1 SET f = NULL", packet_length=28) at /data/src/10.0-bug/sql/sql_parse.cc:1732
      #10 0x0000000000648237 in do_command (thd=0x7f51446a2070) at /data/src/10.0-bug/sql/sql_parse.cc:999
      #11 0x0000000000768034 in do_handle_one_connection (thd_arg=0x7f51446a2070) at /data/src/10.0-bug/sql/sql_connect.cc:1377
      #12 0x0000000000767da6 in handle_one_connection (arg=0x7f51446a2070) at /data/src/10.0-bug/sql/sql_connect.cc:1292
      #13 0x0000000000ac8056 in pfs_spawn_thread (arg=0x7f51445a2370) at /data/src/10.0-bug/storage/perfschema/pfs.cc:1860
      #14 0x00007f514c607494 in start_thread (arg=0x7f514c9d4700) at pthread_create.c:333
      #15 0x00007f514a75293f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      CREATE TABLE t1 (f INT);
      CREATE VIEW v1 AS SELECT * FROM t1 WHERE f <=> 'foo' WITH CHECK OPTION;
      REPLACE INTO v1 SET f = NULL;
       
      # Cleanup
      DROP VIEW v1;
      DROP TABLE t1;
      

      The failure was introduced by this commit:

      commit 378beed0a680172d6570117c853d803e30983199
      Author: Sergei Golubchik <serg@mariadb.org>
      Date:   Wed Sep 20 20:02:01 2017 +0200
       
          MDEV-13290: Assertion Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' or `! is_set()' failed
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            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.