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