Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
N/A
-
None
Description
Note: The fix for MDEV-35141 is already in the tree.
CREATE TABLE t (pk INT PRIMARY KEY, v VECTOR(1) NOT NULL); |
INSERT INTO t VALUES (1,VEC_FromText('[-0.196]')),(2,VEC_FromText('[0.709]')); |
ANALYZE TABLE t PERSISTENT FOR ALL; |
|
# Cleanup
|
DROP TABLE t; |
bb-11.6-MDEV-32887-vector eff6bc39fcb6e1f691fa08b153d9ea44b9f77b54 non-debug |
mysqltest: At line 3: query 'ANALYZE TABLE t PERSISTENT FOR ALL' failed: ER_TRUNCATED_WRONG_VALUE_FOR_FIELD (1366): Incorrect vector value: ''9�H�'' for column `test`.`t`.`v` at row 0 |
|
Warnings from just before the error: |
Error 1366 Incorrect vector value: ''9�H�'' for column `test`.`t`.`v` at row 0 |
debug |
mariadbd: /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_error.cc:388: void Diagnostics_area::set_eof_status(THD*): Assertion `!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())' failed.
|
241016 15:49:53 [ERROR] mysqld got signal 6 ;
|
|
#9 0x00007fc025e53e32 in __GI___assert_fail (assertion=0x561e1df3aba0 "!is_set() || (m_status == DA_EOF_BULK && is_bulk_op())", file=0x561e1df3a6a0 "/data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_error.cc", line=388, function=0x561e1df3ac00 "void Diagnostics_area::set_eof_status(THD*)") at ./assert/assert.c:101
|
#10 0x0000561e1bb6ead5 in Diagnostics_area::set_eof_status (this=0x62c0000c63b8, thd=0x62c0000c0218) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_error.cc:388
|
#11 0x0000561e1b96db3e in my_eof (thd=0x62c0000c0218) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_class.h:6119
|
#12 0x0000561e1c171bb7 in mysql_admin_table (thd=0x62c0000c0218, tables=0x6290000e6350, check_opt=0x62c0000c5a40, operator_name=0x561e1f66b960 <msg_analyze>, lock_type=TL_READ_NO_INSERT, org_open_for_modify=true, no_errors_from_open=false, extra_open_options=0, prepare_func=0x0, operator_func=(int (handler::*)(handler * const, THD *, HA_CHECK_OPT *)) 0x561e1c5fd278 <handler::ha_analyze(THD*, st_ha_check_opt*)>, view_operator_func=0x0, is_cmd_replicated=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_admin.cc:1512
|
#13 0x0000561e1c172a99 in Sql_cmd_analyze_table::execute (this=0x6290000e6a68, thd=0x62c0000c0218) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_admin.cc:1619
|
#14 0x0000561e1bc5f422 in mysql_execute_command (thd=0x62c0000c0218, is_called_from_prepared_stmt=false) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:5846
|
#15 0x0000561e1bc6c53a in mysql_parse (thd=0x62c0000c0218, rawbuf=0x6290000e6238 "ANALYZE TABLE t PERSISTENT FOR ALL", length=34, parser_state=0x7fc01a8ba9f0) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:7873
|
#16 0x0000561e1bc4355c in dispatch_command (command=COM_QUERY, thd=0x62c0000c0218, packet=0x629000253219 "", packet_length=34, blocking=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1892
|
#17 0x0000561e1bc40270 in do_command (thd=0x62c0000c0218, blocking=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1405
|
#18 0x0000561e1c12fc4b in do_handle_one_connection (connect=0x6080000034b8, put_in_cache=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1448
|
#19 0x0000561e1c12f60c in handle_one_connection (arg=0x608000003438) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1350
|
#20 0x0000561e1cdd53dc in pfs_spawn_thread (arg=0x617000005b98) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/storage/perfschema/pfs.cc:2198
|
#21 0x00007fc025ea8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#22 0x00007fc025f2861c 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