Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
11.5(EOL)
-
None
Description
CREATE OR REPLACE SEQUENCE t1 ; |
ALTER TABLE t1 ADD c2 TEXT FIRST; |
Leads to
11.5.0 8f0c9340537b84fcd7012d4a31e6f858e7eb919c (Optimized, UBASAN) |
/test/server_opt_san/include/my_bit.h:166:18: runtime error: shift exponent -1 is negative
|
#0 0x556b5d81570c in Type_handler_blob::max_display_length_for_field(Conv_source const&) const /test/server_opt_san/include/my_bit.h:166
|
#1 0x556b5f608537 in sequence_structure(Type_handler const*) /test/server_opt_san/sql/sql_sequence.cc:49
|
#2 0x556b5f60d32e in check_sequence_fields(LEX*, List<Create_field>*, st_mysql_const_lex_string, st_mysql_const_lex_string) /test/server_opt_san/sql/sql_sequence.cc:352
|
#3 0x556b5eb88d03 in mysql_prepare_create_table_finalize /test/server_opt_san/sql/sql_table.cc:2863
|
#4 0x556b5eba5a7d in mysql_create_frm_image(THD*, HA_CREATE_INFO*, Alter_info*, int, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*) /test/server_opt_san/sql/sql_table.cc:4307
|
#5 0x556b5ebb896b in create_table_impl /test/server_opt_san/sql/sql_table.cc:4629
|
#6 0x556b5ec14460 in 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) /test/server_opt_san/sql/sql_table.cc:10994
|
#7 0x556b5ef53700 in Sql_cmd_alter_table::execute(THD*) /test/server_opt_san/sql/sql_alter.cc:701
|
#8 0x556b5e5b01fd in mysql_execute_command(THD*, bool) /test/server_opt_san/sql/sql_parse.cc:5809
|
#9 0x556b5e53c040 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /test/server_opt_san/sql/sql_parse.cc:7821
|
#10 0x556b5e593ff4 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /test/server_opt_san/sql/sql_parse.cc:1892
|
#11 0x556b5e5a036d in do_command(THD*, bool) /test/server_opt_san/sql/sql_parse.cc:1405
|
#12 0x556b5ef2795d in do_handle_one_connection(CONNECT*, bool) /test/server_opt_san/sql/sql_connect.cc:1447
|
#13 0x556b5ef29fcc in handle_one_connection /test/server_opt_san/sql/sql_connect.cc:1349
|
#14 0x15125e02e608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477
|
#15 0x15125d2a3132 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x11f132)
|
|