summaryrefslogtreecommitdiff
path: root/mysql-test/r/partition.result
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@mysql.com>2008-10-06 13:43:46 +0500
committerAlexey Botchkov <holyfoot@mysql.com>2008-10-06 13:43:46 +0500
commit47ebf1f4fd62ecffc31fad11296748ed04c65116 (patch)
tree251ec6dd684eb4b3a48c6fd9f3845d4c2c1a1349 /mysql-test/r/partition.result
parent87a77eecacd00402c7313b7484f9b95913c6406f (diff)
parente3e4fdd021a5c850d1b760c7b39dd17d5e6ba13a (diff)
downloadmariadb-git-47ebf1f4fd62ecffc31fad11296748ed04c65116.tar.gz
merging
Diffstat (limited to 'mysql-test/r/partition.result')
-rw-r--r--mysql-test/r/partition.result4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result
index 0c80590fb5f..47b0d4f3504 100644
--- a/mysql-test/r/partition.result
+++ b/mysql-test/r/partition.result
@@ -1448,13 +1448,15 @@ create trigger t_ad after delete on t for each row insert into t values (old.s1)
insert into t values (1);
drop table t;
USE mysql;
+TRUNCATE TABLE general_log;
+SET @old_general_log_state = @@global.general_log;
SET GLOBAL general_log = 0;
ALTER TABLE general_log ENGINE = MyISAM;
ALTER TABLE general_log PARTITION BY RANGE (TO_DAYS(event_time))
(PARTITION p0 VALUES LESS THAN (733144), PARTITION p1 VALUES LESS THAN (3000000));
ERROR HY000: Incorrect usage of PARTITION and log table
ALTER TABLE general_log ENGINE = CSV;
-SET GLOBAL general_log = default;
+SET GLOBAL general_log = @old_general_log_state;
use test;
create table t2 (b int);
create table t1 (b int)