Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
N/A
-
None
Description
--source include/have_innodb.inc
|
|
CREATE TABLE t (v VECTOR(1) NOT NULL, VECTOR vec(v), UNIQUE vu(v)) ENGINE=InnoDB; |
SELECT * FROM t FORCE INDEX(vec) ORDER BY v; |
|
# Cleanup
|
DROP TABLE t; |
bb-11.6-MDEV-32887-vector eff6bc39fcb6e1f691fa08b153d9ea44b9f77b54 |
mariadbd: /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_select.cc:24763: int join_read_first(JOIN_TAB*): Assertion `tab->join->select_limit < (~ (ha_rows) 0)' failed.
|
241015 23:27:09 [ERROR] mysqld got signal 6 ;
|
|
#9 0x00007f1f53253e32 in __GI___assert_fail (assertion=0x55d7af771f00 "tab->join->select_limit < (~ (ha_rows) 0)", file=0x55d7af762880 "/data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_select.cc", line=24763, function=0x55d7af771ca0 "int join_read_first(JOIN_TAB*)") at ./assert/assert.c:101
|
#10 0x000055d7ad5777d6 in join_read_first (tab=0x6290002e9238) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_select.cc:24763
|
#11 0x000055d7ad56f06b in sub_select (join=0x6290000fbd10, join_tab=0x6290002e9238, end_of_records=false) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_select.cc:23651
|
#12 0x000055d7ad56cabb in do_select (join=0x6290000fbd10, procedure=0x0) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_select.cc:23165
|
#13 0x000055d7ad4eaf3e in JOIN::exec_inner (this=0x6290000fbd10) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_select.cc:5026
|
#14 0x000055d7ad4e82c8 in JOIN::exec (this=0x6290000fbd10) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_select.cc:4809
|
#15 0x000055d7ad4ec9f7 in mysql_select (thd=0x62c0001e0218, tables=0x6290000fa9e0, fields=..., conds=0x0, og_num=1, order=0x6290000fbac0, group=0x0, having=0x0, proc_param=0x0, select_options=2164525824, result=0x6290000fbce0, unit=0x62c0001e4710, select_lex=0x6290000fa300) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_select.cc:5342
|
#16 0x000055d7ad4baf33 in handle_select (thd=0x62c0001e0218, lex=0x62c0001e4630, result=0x6290000fbce0, setup_tables_done_option=0) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_select.cc:624
|
#17 0x000055d7ad3ddae9 in execute_sqlcom_select (thd=0x62c0001e0218, all_tables=0x6290000fa9e0) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:6151
|
#18 0x000055d7ad3cd714 in mysql_execute_command (thd=0x62c0001e0218, is_called_from_prepared_stmt=false) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:3953
|
#19 0x000055d7ad3e853a in mysql_parse (thd=0x62c0001e0218, rawbuf=0x6290000fa238 "SELECT * FROM t FORCE INDEX(vec) ORDER BY v", length=43, parser_state=0x7f1f442ae9f0) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:7873
|
#20 0x000055d7ad3bf55c in dispatch_command (command=COM_QUERY, thd=0x62c0001e0218, packet=0x629000280219 "", packet_length=43, blocking=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1892
|
#21 0x000055d7ad3bc270 in do_command (thd=0x62c0001e0218, blocking=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1405
|
#22 0x000055d7ad8abc4b in do_handle_one_connection (connect=0x6080000048b8, put_in_cache=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1448
|
#23 0x000055d7ad8ab60c in handle_one_connection (arg=0x608000004838) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1350
|
#24 0x000055d7ae5513dc in pfs_spawn_thread (arg=0x617000008218) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/storage/perfschema/pfs.cc:2198
|
#25 0x00007f1f532a8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#26 0x00007f1f5332861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
Attachments
Issue Links
- is caused by
-
MDEV-34939 vector search in 11.7
- Closed