1--let $support_xa = 1
2if (!`SELECT xa='YES' FROM INFORMATION_SCHEMA.ENGINES WHERE engine = '$storage_engine'`)
3{
4  --echo # -- WARNING ----------------------------------------------------------------
5  --echo # According to I_S.ENGINES, $storage_engine does not support XA.
6  --echo # If it is true, the test will most likely fail; you can
7  --echo # either create an rdiff file, or add the test to disabled.def.
8  --echo # If XA should be supported, check the data in Information Schema.
9  --echo # ---------------------------------------------------------------------------
10  --let $support_xa = 0
11}
12
13