summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/no_protocol.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/no_protocol.inc')
-rw-r--r--mysql-test/include/no_protocol.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/include/no_protocol.inc b/mysql-test/include/no_protocol.inc
new file mode 100644
index 00000000..8ffd3509
--- /dev/null
+++ b/mysql-test/include/no_protocol.inc
@@ -0,0 +1,8 @@
+# The file with expected results fits only to a run without
+# ps-protocol/sp-protocol/cursor-protocol/view-protocol.
+if (`SELECT $PS_PROTOCOL + $SP_PROTOCOL + $CURSOR_PROTOCOL
+ + $VIEW_PROTOCOL > 0`)
+{
+ --skip Test requires: ps-protocol/sp-protocol/cursor-protocol/view-protocol disabled
+}
+