mysql-tester icon indicating copy to clipboard operation
mysql-tester copied to clipboard

Support additional tester macros

Open morgo opened this issue 3 years ago • 2 comments

In addition to https://github.com/pingcap/mysql-tester/issues/24

The following macros in tests would be really helpful:

  • --replace_column and --disable_result_log (these are used to patch out results from the output file. Used when testing RAND() and temporal values)
  • --let and --eval - might be harder to implement but used by a lot of tests.
  • --include

morgo avatar Nov 11 '21 23:11 morgo

With while also inc/dec is handy together with let/eval.

mjonss avatar Nov 23 '21 20:11 mjonss

Also --source is sometimes used, to repeat same queries within a single test.

mjonss avatar Dec 03 '21 00:12 mjonss