Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
-
None
Description
CREATE TABLE t1 (a int); |
INSERT INTO t1 VALUES (1),(2); |
SELECT a AND LEAD(a) OVER (PARTITION BY a) AS f FROM t1; |
10.2 a544225d0a772bd4b67c |
#3 <signal handler called>
|
#4 0x000055a2d45c4290 in set_field_to_null_with_conversions (field=0x0, no_conversions=true) at /data/src/10.2/sql/field_conv.cc:204
|
#5 0x000055a2d45f2da5 in Item::save_in_field (this=0x7f2d1c012aa0, field=0x0, no_conversions=true) at /data/src/10.2/sql/item.cc:6412
|
#6 0x000055a2d452305d in save_window_function_values (window_functions=..., tbl=0x7f2d1c06c958, rowid_buf=0x7f2d1c124250 "\260D\003\034-\177") at /data/src/10.2/sql/sql_window.cc:2524
|
#7 0x000055a2d45234a6 in compute_window_func (thd=0x7f2d1c000b00, window_functions=..., cursor_managers=..., tbl=0x7f2d1c06c958, filesort_result=0x7f2d1c06ee60) at /data/src/10.2/sql/sql_window.cc:2643
|
#8 0x000055a2d452384a in Window_func_runner::exec (this=0x7f2d1c015ac8, thd=0x7f2d1c000b00, tbl=0x7f2d1c06c958, filesort_result=0x7f2d1c06ee60) at /data/src/10.2/sql/sql_window.cc:2749
|
#9 0x000055a2d4523963 in Window_funcs_sort::exec (this=0x7f2d1c015ac0, join=0x7f2d1c013418) at /data/src/10.2/sql/sql_window.cc:2774
|
#10 0x000055a2d4523e28 in Window_funcs_computation::exec (this=0x7f2d1c015aa0, join=0x7f2d1c013418) at /data/src/10.2/sql/sql_window.cc:2893
|
#11 0x000055a2d43e39a2 in AGGR_OP::end_send (this=0x7f2d1c015880) at /data/src/10.2/sql/sql_select.cc:26434
|
#12 0x000055a2d43cebf4 in sub_select_postjoin_aggr (join=0x7f2d1c013418, join_tab=0x7f2d1c014bd0, end_of_records=true) at /data/src/10.2/sql/sql_select.cc:18278
|
#13 0x000055a2d43cef1a in sub_select (join=0x7f2d1c013418, join_tab=0x7f2d1c014820, end_of_records=true) at /data/src/10.2/sql/sql_select.cc:18514
|
#14 0x000055a2d43ce730 in do_select (join=0x7f2d1c013418, procedure=0x0) at /data/src/10.2/sql/sql_select.cc:18109
|
#15 0x000055a2d43a8f17 in JOIN::exec_inner (this=0x7f2d1c013418) at /data/src/10.2/sql/sql_select.cc:3483
|
#16 0x000055a2d43a83c6 in JOIN::exec (this=0x7f2d1c013418) at /data/src/10.2/sql/sql_select.cc:3278
|
#17 0x000055a2d43a958f in mysql_select (thd=0x7f2d1c000b00, tables=0x7f2d1c012d08, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f2d1c0133f8, unit=0x7f2d1c0046a0, select_lex=0x7f2d1c004dd8) at /data/src/10.2/sql/sql_select.cc:3678
|
#18 0x000055a2d439deba in handle_select (thd=0x7f2d1c000b00, lex=0x7f2d1c0045d8, result=0x7f2d1c0133f8, setup_tables_done_option=0) at /data/src/10.2/sql/sql_select.cc:373
|
#19 0x000055a2d4369d70 in execute_sqlcom_select (thd=0x7f2d1c000b00, all_tables=0x7f2d1c012d08) at /data/src/10.2/sql/sql_parse.cc:6446
|
#20 0x000055a2d435fd70 in mysql_execute_command (thd=0x7f2d1c000b00) at /data/src/10.2/sql/sql_parse.cc:3460
|
#21 0x000055a2d436d732 in mysql_parse (thd=0x7f2d1c000b00, rawbuf=0x7f2d1c012428 "SELECT a AND LEAD(a) OVER (PARTITION BY a) AS f FROM t1", length=55, parser_state=0x7f2d2caca200, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7886
|
#22 0x000055a2d435b73d in dispatch_command (command=COM_QUERY, thd=0x7f2d1c000b00, packet=0x7f2d1c1634e1 "", packet_length=55, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1812
|
#23 0x000055a2d435a0b7 in do_command (thd=0x7f2d1c000b00) at /data/src/10.2/sql/sql_parse.cc:1360
|
#24 0x000055a2d44a6a23 in do_handle_one_connection (connect=0x55a2d75bf270) at /data/src/10.2/sql/sql_connect.cc:1354
|
#25 0x000055a2d44a67b0 in handle_one_connection (arg=0x55a2d75bf270) at /data/src/10.2/sql/sql_connect.cc:1260
|
#26 0x000055a2d48c28b0 in pfs_spawn_thread (arg=0x55a2d7599e00) at /data/src/10.2/storage/perfschema/pfs.cc:1862
|
#27 0x00007f2d34733494 in start_thread (arg=0x7f2d2cacb700) at pthread_create.c:333
|
#28 0x00007f2d328ab93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
CREATE TABLE t1 (a int); |
INSERT INTO t1 VALUES (1),(2); |
SELECT a AND LEAD(a) OVER () AS f FROM t1; |
10.2 a544225d0a772bd4b67c |
#3 <signal handler called>
|
#4 0x0000563b094e6718 in Field::set_notnull (this=0x0, row_offset=0) at /data/src/10.2/sql/field.h:1131
|
#5 0x0000563b09831dc0 in Item::save_in_field (this=0x7fe528012930, field=0x0, no_conversions=true) at /data/src/10.2/sql/item.cc:6413
|
#6 0x0000563b0976205d in save_window_function_values (window_functions=..., tbl=0x7fe52806c958, rowid_buf=0x7fe528124250 "\260D\003(\345\177") at /data/src/10.2/sql/sql_window.cc:2524
|
#7 0x0000563b097624a6 in compute_window_func (thd=0x7fe528000b00, window_functions=..., cursor_managers=..., tbl=0x7fe52806c958, filesort_result=0x7fe52806edd0) at /data/src/10.2/sql/sql_window.cc:2643
|
#8 0x0000563b0976284a in Window_func_runner::exec (this=0x7fe528015778, thd=0x7fe528000b00, tbl=0x7fe52806c958, filesort_result=0x7fe52806edd0) at /data/src/10.2/sql/sql_window.cc:2749
|
#9 0x0000563b09762963 in Window_funcs_sort::exec (this=0x7fe528015770, join=0x7fe5280132a8) at /data/src/10.2/sql/sql_window.cc:2774
|
#10 0x0000563b09762e28 in Window_funcs_computation::exec (this=0x7fe528015750, join=0x7fe5280132a8) at /data/src/10.2/sql/sql_window.cc:2893
|
#11 0x0000563b096229a2 in AGGR_OP::end_send (this=0x7fe528015638) at /data/src/10.2/sql/sql_select.cc:26434
|
#12 0x0000563b0960dbf4 in sub_select_postjoin_aggr (join=0x7fe5280132a8, join_tab=0x7fe528014a00, end_of_records=true) at /data/src/10.2/sql/sql_select.cc:18278
|
#13 0x0000563b0960df1a in sub_select (join=0x7fe5280132a8, join_tab=0x7fe528014650, end_of_records=true) at /data/src/10.2/sql/sql_select.cc:18514
|
#14 0x0000563b0960d730 in do_select (join=0x7fe5280132a8, procedure=0x0) at /data/src/10.2/sql/sql_select.cc:18109
|
#15 0x0000563b095e7f17 in JOIN::exec_inner (this=0x7fe5280132a8) at /data/src/10.2/sql/sql_select.cc:3483
|
#16 0x0000563b095e73c6 in JOIN::exec (this=0x7fe5280132a8) at /data/src/10.2/sql/sql_select.cc:3278
|
#17 0x0000563b095e858f in mysql_select (thd=0x7fe528000b00, tables=0x7fe528012b98, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7fe528013288, unit=0x7fe5280046a0, select_lex=0x7fe528004dd8) at /data/src/10.2/sql/sql_select.cc:3678
|
#18 0x0000563b095dceba in handle_select (thd=0x7fe528000b00, lex=0x7fe5280045d8, result=0x7fe528013288, setup_tables_done_option=0) at /data/src/10.2/sql/sql_select.cc:373
|
#19 0x0000563b095a8d70 in execute_sqlcom_select (thd=0x7fe528000b00, all_tables=0x7fe528012b98) at /data/src/10.2/sql/sql_parse.cc:6446
|
#20 0x0000563b0959ed70 in mysql_execute_command (thd=0x7fe528000b00) at /data/src/10.2/sql/sql_parse.cc:3460
|
#21 0x0000563b095ac732 in mysql_parse (thd=0x7fe528000b00, rawbuf=0x7fe528012428 "SELECT a AND LEAD(a) OVER () AS f FROM t1", length=41, parser_state=0x7fe53a9e1200, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7886
|
#22 0x0000563b0959a73d in dispatch_command (command=COM_QUERY, thd=0x7fe528000b00, packet=0x7fe5281634e1 "", packet_length=41, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1812
|
#23 0x0000563b095990b7 in do_command (thd=0x7fe528000b00) at /data/src/10.2/sql/sql_parse.cc:1360
|
#24 0x0000563b096e5a23 in do_handle_one_connection (connect=0x563b0ca8b270) at /data/src/10.2/sql/sql_connect.cc:1354
|
#25 0x0000563b096e57b0 in handle_one_connection (arg=0x563b0ca8b270) at /data/src/10.2/sql/sql_connect.cc:1260
|
#26 0x0000563b09b018b0 in pfs_spawn_thread (arg=0x563b0ca65e00) at /data/src/10.2/storage/perfschema/pfs.cc:1862
|
#27 0x00007fe54264a494 in start_thread (arg=0x7fe53a9e2700) at pthread_create.c:333
|
#28 0x00007fe5407c293f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Attachments
Issue Links
- is duplicated by
-
MDEV-13552 Bug: Server Shutsdown when using LEAD Window Function within a CASE Function
- Closed
- relates to
-
MDEV-16736 crash on lag() over() and order not working
- Closed