mirror of
https://github.com/MariaDB/server.git
synced 2025-09-09 18:40:27 +03:00
fts_get_next_doc_id(): Assign the first and subsequent FTS_DOC_ID in the same way: by post-incrementing the cached value. If there is a user-specified FTS_DOC_ID, do not touch the internal sequence.
9 lines
318 B
Plaintext
9 lines
318 B
Plaintext
CREATE TABLE t1(a VARCHAR(5),FULLTEXT KEY(a)) ENGINE=InnoDB;
|
|
SET DEBUG_SYNC = 'get_next_FTS_DOC_ID SIGNAL prepared WAIT_FOR race';
|
|
REPLACE INTO t1(a) values('aaa');
|
|
SET DEBUG_SYNC = 'now WAIT_FOR prepared';
|
|
REPLACE INTO t1(a) VALUES('aaa');
|
|
SET DEBUG_SYNC = 'now SIGNAL race';
|
|
SET DEBUG_SYNC = 'RESET';
|
|
DROP TABLE t1;
|