mysql-test/suite/storage_engine/mask_engine.inc
raw| 1 | # |
| 2 | # This include file just replaces the storage engine under test by the generic string <STORAGE_ENGINE> |
| 3 | # in the next statement. More masks can be added by defining $add_regex, e.g. |
| 4 | # let $add_regex = /$data_dir/<DATA_DIR>/ /$index_dir/<INDEX_DIR>/ |
| 5 | # |
| 6 | |
| 7 | --let $regex = /$storage_engine/<STORAGE_ENGINE>/i |
| 8 | if ($add_regex) |
| 9 | { |
| 10 | --let $regex = $regex $add_regex |
| 11 | } |
| 12 | --let $add_regex = |
| 13 | --replace_regex $regex |
| 14 |