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

Assertion `!mysql_parse_status || thd->is_error() || thd->get_internal_handler()' failed in parse_sql

    XMLWordPrintable

    Details

      Description

      CREATE SEQUENCE s;
      ALTER SEQUENCE s MAXVALUE 100 NO MAXVALUE;
       
      # Cleanup
      DROP SEQUENCE s;
      

      10.3 1761e38208

      mysqld: /data/src/10.3/sql/sql_parse.cc:10003: bool parse_sql(THD*, Parser_state*, Object_creation_ctx*, bool): Assertion `!mysql_parse_status || thd->is_error() || thd->get_internal_handler()' failed.
      171225  2:39:29 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007f9ec72d2ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x0000561404e440e0 in parse_sql (thd=0x7f9eb0000b00, parser_state=0x7f9ec1541610, creation_ctx=0x0, do_pfs_digest=true) at /data/src/10.3/sql/sql_parse.cc:10001
      #9  0x0000561404e3f3aa in mysql_parse (thd=0x7f9eb0000b00, rawbuf=0x7f9eb0014b58 "ALTER SEQUENCE s MAXVALUE 100 NO MAXVALUE", length=41, parser_state=0x7f9ec1541610, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7919
      #10 0x0000561404e2ceaf in dispatch_command (command=COM_QUERY, thd=0x7f9eb0000b00, packet=0x7f9eb011ecf1 "ALTER SEQUENCE s MAXVALUE 100 NO MAXVALUE", packet_length=41, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1824
      #11 0x0000561404e2b8e3 in do_command (thd=0x7f9eb0000b00) at /data/src/10.3/sql/sql_parse.cc:1369
      #12 0x0000561404f8535a in do_handle_one_connection (connect=0x561408f08190) at /data/src/10.3/sql/sql_connect.cc:1420
      #13 0x0000561404f850e7 in handle_one_connection (arg=0x561408f08190) at /data/src/10.3/sql/sql_connect.cc:1326
      #14 0x00005614054121e6 in pfs_spawn_thread (arg=0x561408fa1a00) at /data/src/10.3/storage/perfschema/pfs.cc:1863
      #15 0x00007f9ec8fa9494 in start_thread (arg=0x7f9ec1542700) at pthread_create.c:333
      #16 0x00007f9ec738f93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

        Attachments

          Activity

            People

            Assignee:
            monty Michael Widenius
            Reporter:
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: