gcol.gcol_rollback could fail with errors in server log

If previous tests opened system tables, the test could fail because
it crashes the server. Added FLUSH TABLES to avoid it
This commit is contained in:
Elena Stepanova 2017-08-18 02:48:43 +03:00
parent edf77043ba
commit bcd5622ebb

View file

@ -6,6 +6,11 @@
# Save the initial number of concurrent sessions.
--source include/count_sessions.inc
# Make sure there are no unexpected open tables from previous tests
--disable_query_log
FLUSH TABLES;
--enable_query_log
CREATE TABLE t (
a INTEGER,
b BLOB GENERATED ALWAYS AS (a) VIRTUAL,