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.

34 lines
947 B

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