mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
25 lines
520 B
Text
25 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;
|