Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL)
-
None
Description
CREATE TABLE t (a TIMESTAMP DEFAULT CURRENT_TIMESTAMP, CHECK(DEFAULT(a))); |
INSERT INTO t () VALUES (); |
 |
# Cleanup
|
DROP TABLE t; |
10.3 55a53949 |
#3 <signal handler called>
|
#4 0x0000563d88f31fc9 in Field::set_default (this=0x6190000821c8) at /data/src/10.3/sql/field.cc:2425
|
#5 0x0000563d8906b0ab in Item_default_value::calculate (this=0x6190000820a8) at /data/src/10.3/sql/item.cc:9573
|
#6 0x0000563d8906b1f8 in Item_default_value::val_int (this=0x6190000820a8) at /data/src/10.3/sql/item.cc:9591
|
#7 0x0000563d88b70149 in TABLE::verify_constraints (this=0x61f000043688, ignore_failure=false) at /data/src/10.3/sql/table.cc:5557
|
#8 0x0000563d88b6fd3f in TABLE_LIST::view_check_option (this=0x62b000000338, thd=0x62a000060208, ignore_failure=false) at /data/src/10.3/sql/table.cc:5532
|
#9 0x0000563d887d054f in mysql_insert (thd=0x62a000060208, table_list=0x62b000000338, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/10.3/sql/sql_insert.cc:1054
|
#10 0x0000563d88877113 in mysql_execute_command (thd=0x62a000060208) at /data/src/10.3/sql/sql_parse.cc:4505
|
#11 0x0000563d8888f180 in mysql_parse (thd=0x62a000060208, rawbuf=0x62b000000228 "INSERT INTO t () VALUES ()", length=26, parser_state=0x7f714a14b9b0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7855
|
#12 0x0000563d88865faf in dispatch_command (command=COM_QUERY, thd=0x62a000060208, packet=0x6290000dc209 "INSERT INTO t () VALUES ()", packet_length=26, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1852
|
#13 0x0000563d88862b47 in do_command (thd=0x62a000060208) at /data/src/10.3/sql/sql_parse.cc:1398
|
#14 0x0000563d88c2af5c in do_handle_one_connection (connect=0x6080000006a8) at /data/src/10.3/sql/sql_connect.cc:1404
|
#15 0x0000563d88c2a889 in handle_one_connection (arg=0x6080000006a8) at /data/src/10.3/sql/sql_connect.cc:1309
|
#16 0x0000563d8a211bd5 in pfs_spawn_thread (arg=0x615000003008) at /data/src/10.3/storage/perfschema/pfs.cc:1869
|
#17 0x00007f71530a7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#18 0x00007f71531285bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
Reproducible with at least MyISAM, InnoDB, Aria, on debug- and non-debug builds alike.