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

Assertion `0' failed in Type_handler_typelib::max_display_length_for_field

    XMLWordPrintable

Details

    Description

      caused by 374783c3d9a87170b313a05240dadaa813ec6034 commit (MDEV-28152)

      CREATE SEQUENCE s1 ;
      ALTER table s1 CHANGE `next_not_cached_value` next_not_cached_value SET('1','2','3','4','5','6','7','8','9','10') ;
      

      mariadbd: /11/sql/rpl_utility_server.cc:121: virtual uint32 Type_handler_typelib::max_display_length_for_field(const Conv_source&) const: Assertion `0' failed.
      240321 11:52:55 [ERROR] mysqld got signal 6 ;
       
      Server version: 11.5.0-MariaDB-debug-log source revision: 374783c3d9a87170b313a05240dadaa813ec6034
       
      /lib/x86_64-linux-gnu/libc.so.6(+0x33fd6)[0x7f2625405fd6]
      sql/rpl_utility_server.cc:122(Type_handler_typelib::max_display_length_for_field(Conv_source const&) const)[0x5561c12d7c25]
      sql/sql_sequence.cc:49(sequence_structure(Type_handler const*))[0x5561c15d74e5]
      sql/sql_sequence.cc:352(check_sequence_fields(LEX*, List<Create_field>*, st_mysql_const_lex_string, st_mysql_const_lex_string))[0x5561c15dbc60]
      sql/sql_table.cc:2863(mysql_prepare_create_table_finalize(THD*, HA_CREATE_INFO*, Alter_info*, unsigned int*, handler*, st_key**, unsigned int*, int))[0x5561c11339ce]
      sql/sql_table.cc:4308(mysql_create_frm_image(THD*, HA_CREATE_INFO*, Alter_info*, int, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*))[0x5561c113fcc0]
      sql/sql_table.cc:4629(create_table_impl(THD*, st_ddl_log_state*, st_ddl_log_state*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*))[0x5561c1141df6]
      sql/sql_table.cc:11008(mysql_alter_table(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, TABLE_LIST*, Recreate_info*, Alter_info*, unsigned int, st_order*, bool, bool))[0x5561c1172af8]
      sql/sql_alter.cc:701(Sql_cmd_alter_table::execute(THD*))[0x5561c134855d]
      sql/sql_parse.cc:5803(mysql_execute_command(THD*, bool))[0x5561c0e5cfe7]
      sql/sql_parse.cc:7815(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x5561c0e6a87b]
      sql/sql_parse.cc:1895(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool))[0x5561c0e41c4f]
      sql/sql_parse.cc:1406(do_command(THD*, bool))[0x5561c0e3e994]
      sql/sql_connect.cc:1437(do_handle_one_connection(CONNECT*, bool))[0x5561c1328bce]
      sql/sql_connect.cc:1341(handle_one_connection)[0x5561c132852b]
      perfschema/pfs.cc:2203(pfs_spawn_thread)[0x5561c1faf030]
      nptl/pthread_create.c:478(start_thread)[0x7f2625920609]
       
      Query (0x6290001092a8): ALTER table `s1` CHANGE `next_not_cached_value` next_not_cached_value SET('1','2','3','4','5','6','7','8','9','10')
       
      
      

      Attachments

        Issue Links

          Activity

            People

              ycp Yuchen Pei
              alice Alice Sherepa
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.