Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e3e4fdd0
Commit
e3e4fdd0
authored
Oct 06, 2008
by
Mattias Jonsson
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
0d380151
47c3b2e1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
mysql-test/r/partition.result
mysql-test/r/partition.result
+3
-1
mysql-test/t/partition.test
mysql-test/t/partition.test
+3
-1
No files found.
mysql-test/r/partition.result
View file @
e3e4fdd0
...
...
@@ -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)
...
...
mysql-test/t/partition.test
View file @
e3e4fdd0
...
...
@@ -1589,13 +1589,15 @@ 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
;
--
error
ER_WRONG_USAGE
ALTER
TABLE
general_log
PARTITION
BY
RANGE
(
TO_DAYS
(
event_time
))
(
PARTITION
p0
VALUES
LESS
THAN
(
733144
),
PARTITION
p1
VALUES
LESS
THAN
(
3000000
));
ALTER
TABLE
general_log
ENGINE
=
CSV
;
SET
GLOBAL
general_log
=
default
;
SET
GLOBAL
general_log
=
@
old_general_log_state
;
use
test
;
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment