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

Assertion `(thd->lex)->var_list.is_empty()' failed in MYSQLparse

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.3
    • 10.3.6
    • Parser, Server
    • None
    • 10.3.6-1

    Description

      SET GLOBAL mc.key_cache_age_threshold = 100, mc.key_cache_block_size = 1024;
      

      10.3 ba125eca551

      mysqld: /data/src/10.3/sql/sql_yacc.yy:15921: int MYSQLparse(THD*): Assertion `(thd->lex)->var_list.is_empty()' failed.
      180214 17:39:08 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007fa769f48ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x00005602451abfc8 in MYSQLparse (thd=0x7fa754000b00) at /data/src/10.3/sql/sql_yacc.yy:15921
      #9  0x0000560244f6a81d in parse_sql (thd=0x7fa754000b00, parser_state=0x7fa7641b75e0, creation_ctx=0x0, do_pfs_digest=true) at /data/src/10.3/sql/sql_parse.cc:10008
      #10 0x0000560244f65ac5 in mysql_parse (thd=0x7fa754000b00, rawbuf=0x7fa754014db0 "SET GLOBAL mc.key_cache_age_threshold = 100, mc.key_cache_block_size = 1024", length=75, parser_state=0x7fa7641b75e0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7930
      #11 0x0000560244f5349f in dispatch_command (command=COM_QUERY, thd=0x7fa754000b00, packet=0x7fa75400b171 "SET GLOBAL mc.key_cache_age_threshold = 100, mc.key_cache_block_size = 1024", packet_length=75, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1825
      #12 0x0000560244f51ede in do_command (thd=0x7fa754000b00) at /data/src/10.3/sql/sql_parse.cc:1370
      #13 0x00005602450b9e27 in do_handle_one_connection (connect=0x560247dfa540) at /data/src/10.3/sql/sql_connect.cc:1402
      #14 0x00005602450b9bb4 in handle_one_connection (arg=0x560247dfa540) at /data/src/10.3/sql/sql_connect.cc:1308
      #15 0x0000560245557aab in pfs_spawn_thread (arg=0x560247e5db90) at /data/src/10.3/storage/perfschema/pfs.cc:1862
      #16 0x00007fa76bc1f494 in start_thread (arg=0x7fa7641b8700) at pthread_create.c:333
      #17 0x00007fa76a00593f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      Also reproducible on bb-10.2-ext.
      Not reproducible on 10.2.

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              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.