You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

62 lines
2.3 KiB

--- r/ps_ddl.result 2011-12-13 12:00:39.000000000 +0100
+++ r/ps_ddl.reject 2012-02-10 16:15:02.000000000 +0100
@@ -1185,9 +1185,11 @@
prepare stmt from "repair table t1";
execute stmt;
Table Op Msg_type Msg_text
+test.t1 repair note Table does not support optimize, doing recreate + analyze instead
test.t1 repair status OK
execute stmt;
Table Op Msg_type Msg_text
+test.t1 repair note Table does not support optimize, doing recreate + analyze instead
test.t1 repair status OK
drop table t1;
create table t1 (a1 int, a2 int);
@@ -1195,10 +1197,12 @@
# t1 has changed, and it's does not lead to reprepare
execute stmt;
Table Op Msg_type Msg_text
+test.t1 repair note Table does not support optimize, doing recreate + analyze instead
test.t1 repair status OK
alter table t1 add column b varchar(50) default NULL;
execute stmt;
Table Op Msg_type Msg_text
+test.t1 repair note Table does not support optimize, doing recreate + analyze instead
test.t1 repair status OK
call p_verify_reprepare_count(0);
SUCCESS
@@ -1206,6 +1210,7 @@
alter table t1 drop column b;
execute stmt;
Table Op Msg_type Msg_text
+test.t1 repair note Table does not support optimize, doing recreate + analyze instead
test.t1 repair status OK
call p_verify_reprepare_count(0);
SUCCESS
@@ -1237,21 +1242,25 @@
prepare stmt from "optimize table t1";
execute stmt;
Table Op Msg_type Msg_text
-test.t1 optimize status Table is already up to date
+test.t1 optimize note Table does not support optimize, doing recreate + analyze instead
+test.t1 optimize status OK
drop table t1;
create table t1 (a1 int, a2 int);
insert into t1 values (1, 10), (2, 20), (3, 30);
# t1 has changed, and it's not a problem
execute stmt;
Table Op Msg_type Msg_text
+test.t1 optimize note Table does not support optimize, doing recreate + analyze instead
test.t1 optimize status OK
alter table t1 add column b varchar(50) default NULL;
execute stmt;
Table Op Msg_type Msg_text
+test.t1 optimize note Table does not support optimize, doing recreate + analyze instead
test.t1 optimize status OK
alter table t1 drop column b;
execute stmt;
Table Op Msg_type Msg_text
+test.t1 optimize note Table does not support optimize, doing recreate + analyze instead
test.t1 optimize status OK
call p_verify_reprepare_count(0);
SUCCESS