summaryrefslogtreecommitdiff
path: root/mysql-test/t/information_schema_tables.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/information_schema_tables.test')
-rw-r--r--mysql-test/t/information_schema_tables.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/information_schema_tables.test b/mysql-test/t/information_schema_tables.test
index ebb1e21a65b..bc4f269a3fb 100644
--- a/mysql-test/t/information_schema_tables.test
+++ b/mysql-test/t/information_schema_tables.test
@@ -24,9 +24,14 @@ LOOP
END LOOP $
--delimiter ;
--connection default
+# Avoid "Prepared statement needs to be re-prepared"
+# Note, the code could probably eventually fixed to avoid forcing re-pepare if
+# the *temporary* instance of Sp_caches (not the permanent one) was invalidated.
+--disable_ps_protocol
--disable_warnings
SELECT v.* FROM v JOIN INFORMATION_SCHEMA.TABLES WHERE DATA_LENGTH = -1;
--enable_warnings
+--enable_ps_protocol
# Cleanup
--replace_result $conid CONID
--eval KILL $conid