summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/sp-no-code.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/sp-no-code.test')
-rw-r--r--mysql-test/main/sp-no-code.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/main/sp-no-code.test b/mysql-test/main/sp-no-code.test
new file mode 100644
index 00000000..47a1a126
--- /dev/null
+++ b/mysql-test/main/sp-no-code.test
@@ -0,0 +1,12 @@
+#
+# Test the debugging feature "show procedure/function code <name>"
+#
+
+-- source include/not_debug.inc
+
+--error ER_FEATURE_DISABLED
+show procedure code foo;
+
+--error ER_FEATURE_DISABLED
+show function code foo;
+