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.

32 lines
870 B

  1. #### suite/funcs_1/t/myisam_triggers.test
  2. # MyISAM tables should be used
  3. #
  4. # Set $engine_type
  5. let $engine_type= myisam;
  6. # Decide, if the objects are to be (re)created
  7. #
  8. # - once at the beginning of a set of testcases ('$NO_REFRESH' <> '' --> TRUE)
  9. # That means the current script must not (re)create any object.
  10. # It can expect, that the objects already exist.
  11. #
  12. # - per every testscript/case ('$NO_REFRESH' = '' --> FALSE)
  13. # That means all objects have to be (re)created within the current script.
  14. eval SET @NO_REFRESH = IF( '$NO_REFRESH' = '', 0, 1);
  15. # FIXME Replace the following, when "if" for mysqltest is available
  16. let $run= `SELECT @NO_REFRESH = 0`;
  17. while ($run)
  18. {
  19. # Create some objects needed in many testcases
  20. USE test;
  21. --source suite/funcs_1/include/myisam_tb3.inc
  22. let $run= 0;
  23. }
  24. --source suite/funcs_1/triggers/triggers_0407.inc