Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Duplicate
-
11.1(EOL)
-
None
Description
CREATE TABLE v0 ( v1 INT PRIMARY KEY , v3 INT UNIQUE , v2 INT ) engine=Aria; |
INSERT INTO v0 VALUES ( 2 , 1 , 4000 ) , ( 67 , 3 , 10 ) , ( 0 , 2 , 7 ) ; |
SELECT * FROM v0 WHERE NOT v2 GROUP BY v1 HAVING ( v1 < v1 IS NULL = v1 AND ( v2 = 10 OR v1 = 10 ) ) ; |
Stack Trace:
/usr/local/mysql/bin/mariadbd(__interceptor_backtrace+0x5b)[0x781b5b]
mysys/stacktrace.c:215(my_print_stacktrace)[0x228cfae]
sql/signal_handler.cc:0(handle_fatal_signal)[0x12bd0d2]
sigaction.c:0(__restore_rt)[0x7fd51989e420]
sql/item.cc:3496(Item_field::used_tables() const)[0x131b29a]
sql/sql_select.cc:16631(update_depend_map_for_order(JOIN*, st_order*))[0xc27ce7]
/usr/local/mysql/bin/mariadbd(_ZN4JOIN14optimize_innerEv+0x4508)[0xc17e38]
/usr/local/mysql/bin/mariadbd(_ZN4JOIN8optimizeEv+0x176)[0xbffb46]
sql/sql_select.cc:5237(mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0xbe886f]
sql/sql_select.cc:628(handle_select(THD*, LEX*, select_result*, unsigned long long))[0xbe7e59]
sql/sql_parse.cc:6041(execute_sqlcom_select(THD*, TABLE_LIST*))[0xb41bc6]
/usr/local/mysql/bin/mariadbd(_Z21mysql_execute_commandP3THDb+0x18b7)[0xb319a7]
sql/sql_class.h:2830(THD::enter_stage(PSI_stage_info_v1 const*, char const*, char const*, unsigned int))[0xb24c79]
/usr/local/mysql/bin/mariadbd(_Z16dispatch_command19enum_server_commandP3THDPcjb+0x2cf8)[0xb1e648]
sql/sql_parse.cc:1407(do_command(THD*, bool))[0xb25971]
sql/sql_connect.cc:1416(do_handle_one_connection(CONNECT*, bool))[0xf0d066]
sql/sql_connect.cc:1322(handle_one_connection)[0xf0caa9]
perfschema/pfs.cc:2203(pfs_spawn_thread)[0x19d710b]
nptl/pthread_create.c:478(start_thread)[0x7fd519892609]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43)[0x7fd5195aa133]
Attachments
Issue Links
- duplicates
-
MDEV-30362 【BUG】【core dump】group by + having = core dump
- Confirmed