2024-05-28 07:08:51 +02:00
|
|
|
ALTER DATABASE test CHARACTER SET latin1 COLLATE latin1_swedish_ci;
|
2010-07-16 12:35:49 +02:00
|
|
|
drop table if exists t1;
|
|
|
|
check table t1;
|
|
|
|
Table Op Msg_type Msg_text
|
|
|
|
test.t1 check status OK
|
|
|
|
OPTIMIZE TABLE t1;
|
|
|
|
Table Op Msg_type Msg_text
|
|
|
|
test.t1 optimize status OK
|
|
|
|
drop table t1;
|
2015-06-09 14:08:09 +02:00
|
|
|
#
|
|
|
|
# MDEV-3870 - Valgrind warnings on OPTIMIZE MyISAM or Aria TABLE with
|
|
|
|
# disabled keys
|
|
|
|
#
|
|
|
|
CREATE TABLE t1 (a INT, KEY(a)) ENGINE=Aria;
|
|
|
|
INSERT INTO t1 VALUES (4),(3),(1),(0);
|
|
|
|
ALTER TABLE t1 DISABLE KEYS;
|
|
|
|
OPTIMIZE TABLE t1;
|
|
|
|
Table Op Msg_type Msg_text
|
|
|
|
test.t1 optimize status OK
|
|
|
|
DROP TABLE t1;
|
2024-05-28 07:08:51 +02:00
|
|
|
ALTER DATABASE test CHARACTER SET utf8mb4 COLLATE utf8mb4_uca1400_ai_ci;
|