mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
a0702dbcda
remove HA_EXTRA_PREPARE_FOR_RENAME - neither OPTIMIZE nor REPAIR need it
(was introduced in b58e79566c
when replacing remove_table_from_cache()
with wait_while_table_is_used() even though remove_table_from_cache()
did not have it).
24 lines
520 B
Text
24 lines
520 B
Text
CREATE TABLE t1 (i INT) ENGINE=Aria TRANSACTIONAL=1;
|
|
INSERT t1 VALUES (1);
|
|
LOCK TABLE t1 WRITE;
|
|
REPAIR TABLE t1;
|
|
Table Op Msg_type Msg_text
|
|
test.t1 repair status OK
|
|
SELECT * FROM INFORMATION_SCHEMA.TABLES;
|
|
SELECT * FROM t1;
|
|
i
|
|
1
|
|
UNLOCK TABLES;
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1 (i INT) ENGINE=Aria TRANSACTIONAL=1;
|
|
INSERT t1 VALUES (1);
|
|
LOCK TABLE t1 WRITE;
|
|
OPTIMIZE TABLE t1;
|
|
Table Op Msg_type Msg_text
|
|
test.t1 optimize status OK
|
|
SELECT * FROM INFORMATION_SCHEMA.TABLES;
|
|
SELECT * FROM t1;
|
|
i
|
|
1
|
|
UNLOCK TABLES;
|
|
DROP TABLE t1;
|