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

  1. --- r/ps_ddl.result 2011-12-13 12:00:39.000000000 +0100
  2. +++ r/ps_ddl.reject 2012-02-10 16:15:02.000000000 +0100
  3. @@ -1185,9 +1185,11 @@
  4. prepare stmt from "repair table t1";
  5. execute stmt;
  6. Table Op Msg_type Msg_text
  7. +test.t1 repair note Table does not support optimize, doing recreate + analyze instead
  8. test.t1 repair status OK
  9. execute stmt;
  10. Table Op Msg_type Msg_text
  11. +test.t1 repair note Table does not support optimize, doing recreate + analyze instead
  12. test.t1 repair status OK
  13. drop table t1;
  14. create table t1 (a1 int, a2 int);
  15. @@ -1195,10 +1197,12 @@
  16. # t1 has changed, and it's does not lead to reprepare
  17. execute stmt;
  18. Table Op Msg_type Msg_text
  19. +test.t1 repair note Table does not support optimize, doing recreate + analyze instead
  20. test.t1 repair status OK
  21. alter table t1 add column b varchar(50) default NULL;
  22. execute stmt;
  23. Table Op Msg_type Msg_text
  24. +test.t1 repair note Table does not support optimize, doing recreate + analyze instead
  25. test.t1 repair status OK
  26. call p_verify_reprepare_count(0);
  27. SUCCESS
  28. @@ -1206,6 +1210,7 @@
  29. alter table t1 drop column b;
  30. execute stmt;
  31. Table Op Msg_type Msg_text
  32. +test.t1 repair note Table does not support optimize, doing recreate + analyze instead
  33. test.t1 repair status OK
  34. call p_verify_reprepare_count(0);
  35. SUCCESS
  36. @@ -1237,21 +1242,25 @@
  37. prepare stmt from "optimize table t1";
  38. execute stmt;
  39. Table Op Msg_type Msg_text
  40. -test.t1 optimize status Table is already up to date
  41. +test.t1 optimize note Table does not support optimize, doing recreate + analyze instead
  42. +test.t1 optimize status OK
  43. drop table t1;
  44. create table t1 (a1 int, a2 int);
  45. insert into t1 values (1, 10), (2, 20), (3, 30);
  46. # t1 has changed, and it's not a problem
  47. execute stmt;
  48. Table Op Msg_type Msg_text
  49. +test.t1 optimize note Table does not support optimize, doing recreate + analyze instead
  50. test.t1 optimize status OK
  51. alter table t1 add column b varchar(50) default NULL;
  52. execute stmt;
  53. Table Op Msg_type Msg_text
  54. +test.t1 optimize note Table does not support optimize, doing recreate + analyze instead
  55. test.t1 optimize status OK
  56. alter table t1 drop column b;
  57. execute stmt;
  58. Table Op Msg_type Msg_text
  59. +test.t1 optimize note Table does not support optimize, doing recreate + analyze instead
  60. test.t1 optimize status OK
  61. call p_verify_reprepare_count(0);
  62. SUCCESS