Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
Description
create table json_search_table( json_col text ); |
insert into json_search_table values |
('{ "a": "foobar" }'), |
('{ "a": "foobar", "b": "focus", "c": [ "arm", "foot", "shoulder" ] }'); |
|
select json_search( json_col, 'all', 'foot' ) from json_search_table; |
10.2 6a10681266 |
mysqld: /data/src/10.2/sql/item.cc:6737: virtual bool Item::send(Protocol*, String*): Assertion `!null_value' failed.
|
161202 2:00:43 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f20b85dd312 in __GI___assert_fail (assertion=0x7f20bbbf6c68 "!null_value", file=0x7f20bbbf62f8 "/data/src/10.2/sql/item.cc", line=6737, function=0x7f20bbbf95a0 <Item::send(Protocol*, String*)::__PRETTY_FUNCTION__> "virtual bool Item::send(Protocol*, String*)") at assert.c:101
|
#8 0x00007f20bb33e4b5 in Item::send (this=0x7f20af864450, protocol=0x7f20af816600, buffer=0x7f20bc1d64f0) at /data/src/10.2/sql/item.cc:6737
|
#9 0x00007f20bafed178 in Protocol::send_result_set_row (this=0x7f20af816600, row_items=0x7f20af81a3a8) at /data/src/10.2/sql/protocol.cc:979
|
#10 0x00007f20bb06be50 in select_send::send_data (this=0x7f20af865188, items=...) at /data/src/10.2/sql/sql_class.cc:2915
|
#11 0x00007f20bb1219cf in end_send (join=0x7f20af8651a8, join_tab=0x7f20af866598, end_of_records=false) at /data/src/10.2/sql/sql_select.cc:19525
|
#12 0x00007f20bb11f4f7 in evaluate_join_record (join=0x7f20af8651a8, join_tab=0x7f20af8661e8, error=0) at /data/src/10.2/sql/sql_select.cc:18578
|
#13 0x00007f20bb11ef8d in sub_select (join=0x7f20af8651a8, join_tab=0x7f20af8661e8, end_of_records=false) at /data/src/10.2/sql/sql_select.cc:18392
|
#14 0x00007f20bb11e3b7 in do_select (join=0x7f20af8651a8, procedure=0x0) at /data/src/10.2/sql/sql_select.cc:17897
|
#15 0x00007f20bb0f93a0 in JOIN::exec_inner (this=0x7f20af8651a8) at /data/src/10.2/sql/sql_select.cc:3387
|
#16 0x00007f20bb0f88ea in JOIN::exec (this=0x7f20af8651a8) at /data/src/10.2/sql/sql_select.cc:3198
|
#17 0x00007f20bb0f9a41 in mysql_select (thd=0x7f20af816070, tables=0x7f20af864aa0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f20af865188, unit=0x7f20af819b48, select_lex=0x7f20af81a280) at /data/src/10.2/sql/sql_select.cc:3583
|
#18 0x00007f20bb0eeb25 in handle_select (thd=0x7f20af816070, lex=0x7f20af819a80, result=0x7f20af865188, setup_tables_done_option=0) at /data/src/10.2/sql/sql_select.cc:373
|
#19 0x00007f20bb0bb46f in execute_sqlcom_select (thd=0x7f20af816070, all_tables=0x7f20af864aa0) at /data/src/10.2/sql/sql_parse.cc:6356
|
#20 0x00007f20bb0b0f2a in mysql_execute_command (thd=0x7f20af816070) at /data/src/10.2/sql/sql_parse.cc:3379
|
#21 0x00007f20bb0bee2e in mysql_parse (thd=0x7f20af816070, rawbuf=0x7f20af864088 "select json_search( json_col, 'all', 'foot' ) from json_search_table", length=68, parser_state=0x7f20bc1d7dd0, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7799
|
#22 0x00007f20bb0acb7e in dispatch_command (command=COM_QUERY, thd=0x7f20af816070, packet=0x7f20af858071 "", packet_length=68, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1808
|
#23 0x00007f20bb0ab558 in do_command (thd=0x7f20af816070) at /data/src/10.2/sql/sql_parse.cc:1368
|
#24 0x00007f20bb1f2a26 in do_handle_one_connection (connect=0x7f20b7c71410) at /data/src/10.2/sql/sql_connect.cc:1354
|
#25 0x00007f20bb1f27b3 in handle_one_connection (arg=0x7f20b7c71410) at /data/src/10.2/sql/sql_connect.cc:1260
|
#26 0x00007f20bb52d5e4 in pfs_spawn_thread (arg=0x7f20b7c0f9f0) at /data/src/10.2/storage/perfschema/pfs.cc:1862
|
#27 0x00007f20ba6ea0a4 in start_thread (arg=0x7f20bc1d9300) at pthread_create.c:309
|
#28 0x00007f20b869787d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
|
Attachments
Issue Links
- relates to
-
MDEV-9143 JSON_xxx functions
- Closed