summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/gcol/inc/gcol_cleanup.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/gcol/inc/gcol_cleanup.inc')
-rw-r--r--mysql-test/suite/gcol/inc/gcol_cleanup.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/mysql-test/suite/gcol/inc/gcol_cleanup.inc b/mysql-test/suite/gcol/inc/gcol_cleanup.inc
new file mode 100644
index 00000000..39f7ff7f
--- /dev/null
+++ b/mysql-test/suite/gcol/inc/gcol_cleanup.inc
@@ -0,0 +1,24 @@
+################################################################################
+# inc/gcol_cleanup.inc #
+# #
+# Purpose: #
+# Removal of the objects created by the t/<test_name>.test #
+# scripts. #
+# #
+#------------------------------------------------------------------------------#
+# Original Author: Andrey Zhakov #
+# Original Date: 2008-08-31 #
+# Change Author: #
+# Change Date: #
+# Change: #
+################################################################################
+
+--disable_warnings
+DROP VIEW IF EXISTS v1,v2;
+DROP TABLE IF EXISTS t1,t2,t3;
+DROP PROCEDURE IF EXISTS p1;
+DROP FUNCTION IF EXISTS f1;
+DROP TRIGGER IF EXISTS trg1;
+DROP TRIGGER IF EXISTS trg2;
+set sql_warnings = 0;
+--enable_warnings