mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-29978 Corruption errors upon CHECK on temporary InnoDB table
row_check_index(): Treat secondary indexes of temporary tables as if SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED is in effect. That is, only consider the delete-mark and nothing else.
This commit is contained in:
@ -789,4 +789,16 @@ CHECK TABLE t EXTENDED;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
DROP TEMPORARY TABLE t;
|
||||
#
|
||||
# MDEV-29978 Corruption errors upon CHECK on temporary InnoDB table
|
||||
#
|
||||
CREATE TEMPORARY TABLE t (f INT UNIQUE) ENGINE=InnoDB;
|
||||
INSERT INTO t (f) VALUES (1),(2);
|
||||
CHECK TABLE t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
CHECK TABLE t EXTENDED;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
DROP TEMPORARY TABLE t;
|
||||
# End of 10.6 tests
|
||||
|
Reference in New Issue
Block a user