summaryrefslogtreecommitdiff
path: root/mysql-test/include/mtr_warnings.sql
diff options
context:
space:
mode:
authorHe Zhenxing <hezx@mysql.com>2008-09-04 11:26:12 +0800
committerHe Zhenxing <hezx@mysql.com>2008-09-04 11:26:12 +0800
commitd0edf322306221f2e662a54a9feecc78378d6dfe (patch)
tree6f28265a46d097089fedf89101fb75a781717065 /mysql-test/include/mtr_warnings.sql
parent6b9e2b9a1a9089cdc925e86e9a0bf030c69beceb (diff)
downloadmariadb-git-d0edf322306221f2e662a54a9feecc78378d6dfe.tar.gz
Use MyISAM for all tables created in mtr_warnings.sql
Diffstat (limited to 'mysql-test/include/mtr_warnings.sql')
-rw-r--r--mysql-test/include/mtr_warnings.sql10
1 files changed, 5 insertions, 5 deletions
diff --git a/mysql-test/include/mtr_warnings.sql b/mysql-test/include/mtr_warnings.sql
index 8343683bf55..cf259703a4f 100644
--- a/mysql-test/include/mtr_warnings.sql
+++ b/mysql-test/include/mtr_warnings.sql
@@ -8,7 +8,7 @@ use mtr||
--
CREATE TABLE suspicious_patterns (
pattern VARCHAR(255)
-)||
+) ENGINE=MyISAM||
--
@@ -46,7 +46,7 @@ INSERT INTO suspicious_patterns VALUES
--
CREATE TABLE test_supressions (
pattern VARCHAR(255)
-)||
+) ENGINE=MyISAM||
--
@@ -69,7 +69,7 @@ END
--
CREATE TABLE global_supressions (
pattern VARCHAR(255)
-)||
+) ENGINE=MyISAM||
-- Declare a trigger that makes sure
@@ -227,7 +227,7 @@ BEGIN
CREATE TEMPORARY TABLE error_log (
row INT AUTO_INCREMENT PRIMARY KEY,
line mediumtext NULL
- );
+ ) ENGINE=MyISAM;
SELECT variable_value INTO @log_error
FROM information_schema.global_variables
@@ -255,7 +255,7 @@ BEGIN
WHERE line REGEXP "^CURRENT_TEST:";
DELETE FROM error_log WHERE row < @max_row;
- CREATE TEMPORARY TABLE suspect_lines AS
+ CREATE TEMPORARY TABLE suspect_lines ENGINE=MyISAM AS
SELECT DISTINCT el.line, 0 as "supressed"
FROM error_log el, suspicious_patterns ep
WHERE el.line REGEXP ep.pattern;