Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
create table t1 (i int); |
explain extended update t1 set i = 3; |
mysqld: 10.0-base-explain-slowquerylog/sql/protocol.cc:1047: virtual bool Protocol_text::store(const char*, size_t, CHARSET_INFO*): Assertion `field_types == 0 || field_types[field_pos] == MYSQL_TYPE_DECIMAL || field_types[field_pos] == MYSQL_TYPE_BIT || field_types[field_pos] == MYSQL_TYPE_NEWDECIMAL || field_types[field_pos] == MYSQL_TYPE_NEWDATE || (field_types[field_pos] >= MYSQL_TYPE_ENUM && field_types[field_pos] <= MYSQL_TYPE_GEOMETRY)' failed.
|
131002 18:44:51 [ERROR] mysqld got signal 6 ;
|
#6 0x00007fa9980cf0ee in __assert_fail_base (fmt=<optimized out>, assertion=0xd99bc8 "field_types == 0 || field_types[field_pos] == MYSQL_TYPE_DECIMAL || field_types[field_pos] == MYSQL_TYPE_BIT || field_types[field_pos] == MYSQL_TYPE_NEWDECIMAL || field_types[field_pos] == MYSQL_TYPE_"..., file=0xd99820 "10.0-base-explain-slowquerylog/sql/protocol.cc", line=<optimized out>, function=<optimized out>) at assert.c:94
|
#7 0x00007fa9980cf192 in __GI___assert_fail (assertion=0xd99bc8 "field_types == 0 || field_types[field_pos] == MYSQL_TYPE_DECIMAL || field_types[field_pos] == MYSQL_TYPE_BIT || field_types[field_pos] == MYSQL_TYPE_NEWDECIMAL || field_types[field_pos] == MYSQL_TYPE_"..., file=0xd99820 "10.0-base-explain-slowquerylog/sql/protocol.cc", line=1047, function=0xd9a4c0 "virtual bool Protocol_text::store(const char*, size_t, CHARSET_INFO*)") at assert.c:103
|
#8 0x000000000057dcba in Protocol_text::store (this=0x33549e8, from=0x7fa9947b1510 "", length=0, fromcs=0x1565e80) at 10.0-base-explain-slowquerylog/sql/protocol.cc:1041
|
#9 0x000000000082615d in Item::send (this=0x7fa98c023c50, protocol=0x33549e8, buffer=0x7fa9947b1010) at 10.0-base-explain-slowquerylog/sql/item.cc:6333
|
#10 0x000000000057d5ee in Protocol::send_result_set_row (this=0x33549e8, row_items=0x7fa9947b1430) at 10.0-base-explain-slowquerylog/sql/protocol.cc:900
|
#11 0x00000000005e7611 in select_send::send_data (this=0x7fa98c022940, items=...) at 10.0-base-explain-slowquerylog/sql/sql_class.cc:2365
|
#12 0x000000000068d904 in print_explain_row (result=0x7fa98c022940, options=0 '\000', select_number=1, select_type=0xdb1f3b "SIMPLE", table_name=0x7fa98c022620 "t1", jtype=JT_ALL, possible_keys=0x0, index=0x0, key_len=0x0, ref=0x0, rows=0, extra=0x7fa9947b1510 "") at 10.0-base-explain-slowquerylog/sql/sql_select.cc:22386
|
#13 0x0000000000771921 in QPF_update::print_explain (this=0x7fa98c0225c0, query=0x7fa98c0417d0, output=0x7fa98c022940, explain_flags=0 '\000') at 10.0-base-explain-slowquerylog/sql/opt_qpf.cc:806
|
#14 0x000000000076f86a in QPF_query::print_explain (this=0x7fa98c0417d0, output=0x7fa98c022940, explain_flags=0 '\000') at 10.0-base-explain-slowquerylog/sql/opt_qpf.cc:112
|
#15 0x00000000006eb330 in mysql_update (thd=0x3354408, table_list=0x7fa98c01ca20, fields=..., values=..., conds=0x0, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7fa9947b1df8, updated_return=0x7fa9947b1e00) at 10.0-base-explain-slowquerylog/sql/sql_update.cc:1042
|
#16 0x000000000062304e in mysql_execute_command (thd=0x3354408) at 10.0-base-explain-slowquerylog/sql/sql_parse.cc:3016
|
#17 0x000000000062b8eb in mysql_parse (thd=0x3354408, rawbuf=0x7fa98c0477a0 "explain extended update t1 set i = 3", length=36, parser_state=0x7fa9947b2510) at 10.0-base-explain-slowquerylog/sql/sql_parse.cc:6064
|
#18 0x000000000061e59e in dispatch_command (command=COM_QUERY, thd=0x3354408, packet=0x3359179 "", packet_length=37) at 10.0-base-explain-slowquerylog/sql/sql_parse.cc:1097
|
#19 0x000000000061da67 in do_command (thd=0x3354408) at 10.0-base-explain-slowquerylog/sql/sql_parse.cc:812
|
#20 0x000000000073dcdf in do_handle_one_connection (thd_arg=0x3354408) at 10.0-base-explain-slowquerylog/sql/sql_connect.cc:1266
|
#21 0x000000000073da4d in handle_one_connection (arg=0x3354408) at 10.0-base-explain-slowquerylog/sql/sql_connect.cc:1181
|
#22 0x0000000000c8d268 in pfs_spawn_thread (arg=0x3260828) at 10.0-base-explain-slowquerylog/storage/perfschema/pfs.cc:1015
|
#23 0x00007fa998e9fe9a in start_thread (arg=0x7fa9947b3700) at pthread_create.c:308
|
#24 0x00007fa998193cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
|
bzr version-info
|
revision-id: psergey@askmonty.org-20130926104732-aq7wcma425u5skrw
|
revno: 3700
|
branch-nick: 10.0-base-explain-slowquerylog
|
Attachments
Issue Links
- relates to
-
MDEV-3798 Add EXPLAIN for UPDATE/DELETE (mwl #51)
- Closed