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
f415cd29
Commit
f415cd29
authored
Dec 22, 2009
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
dcdaa8f4
1f0ef431
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
1 deletion
+42
-1
mysql-test/collections/default.experimental
mysql-test/collections/default.experimental
+0
-1
mysql-test/r/partition_column.result
mysql-test/r/partition_column.result
+24
-0
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+1
-0
mysql-test/t/partition_column.test
mysql-test/t/partition_column.test
+17
-0
No files found.
mysql-test/collections/default.experimental
View file @
f415cd29
...
@@ -12,7 +12,6 @@ main.lock_multi_bug38499 # Bug#47448 2009-09-19 alik main.lock_m
...
@@ -12,7 +12,6 @@ main.lock_multi_bug38499 # Bug#47448 2009-09-19 alik main.lock_m
main.lock_multi_bug38691 @solaris # Bug#47792 2009-10-02 alik main.lock_multi_bug38691 times out sporadically on Solaris 10
main.lock_multi_bug38691 @solaris # Bug#47792 2009-10-02 alik main.lock_multi_bug38691 times out sporadically on Solaris 10
main.log_tables # Bug#47924 2009-10-08 alik main.log_tables times out sporadically
main.log_tables # Bug#47924 2009-10-08 alik main.log_tables times out sporadically
main.plugin # Bug#47146 Linking problem with example plugin when dtrace enabled
main.plugin # Bug#47146 Linking problem with example plugin when dtrace enabled
main.plugin_load # Bug#47146
rpl.rpl_get_master_version_and_clock* # Bug#49191 2009-12-01 Daogang rpl_get_master_version_and_clock failed on PB2: COM_REGISTER_SLAVE failed
rpl.rpl_get_master_version_and_clock* # Bug#49191 2009-12-01 Daogang rpl_get_master_version_and_clock failed on PB2: COM_REGISTER_SLAVE failed
rpl.rpl_heartbeat_basic # BUG#43828 2009-10-22 luis fails sporadically
rpl.rpl_heartbeat_basic # BUG#43828 2009-10-22 luis fails sporadically
...
...
mysql-test/r/partition_column.result
View file @
f415cd29
...
@@ -9,6 +9,30 @@ partition by range columns (a,b,c)
...
@@ -9,6 +9,30 @@ partition by range columns (a,b,c)
( partition p0 values less than (1, maxvalue, 10),
( partition p0 values less than (1, maxvalue, 10),
partition p1 values less than (1, maxvalue, maxvalue));
partition p1 values less than (1, maxvalue, maxvalue));
ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition
ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition
create table t1 (a varchar(5) character set ucs2 collate ucs2_bin)
partition by range columns (a)
(partition p0 values less than (0x0041));
insert into t1 values (0x00410000);
select hex(a) from t1 where a like 'A_';
hex(a)
00410000
explain partitions select hex(a) from t1 where a like 'A_';
id select_type table partitions type possible_keys key key_len ref rows Extra
1 SIMPLE t1 p0 system NULL NULL NULL NULL 1
alter table t1 remove partitioning;
select hex(a) from t1 where a like 'A_';
hex(a)
00410000
create index a on t1 (a);
select hex(a) from t1 where a like 'A_';
hex(a)
00410000
insert into t1 values ('A_');
select hex(a) from t1;
hex(a)
00410000
0041005F
drop table t1;
create table t1 (a varchar(1) character set latin1 collate latin1_general_ci)
create table t1 (a varchar(1) character set latin1 collate latin1_general_ci)
partition by range columns(a)
partition by range columns(a)
( partition p0 values less than ('a'),
( partition p0 values less than ('a'),
...
...
mysql-test/t/disabled.def
View file @
f415cd29
...
@@ -13,3 +13,4 @@ kill : Bug#37780 2008-12-03 HHunger need some changes to be
...
@@ -13,3 +13,4 @@ kill : Bug#37780 2008-12-03 HHunger need some changes to be
query_cache_28249 : Bug#43861 2009-03-25 main.query_cache_28249 fails sporadicallyr
query_cache_28249 : Bug#43861 2009-03-25 main.query_cache_28249 fails sporadicallyr
innodb-autoinc : Bug#49267 2009-12-02 test fails on windows because of different case mode
innodb-autoinc : Bug#49267 2009-12-02 test fails on windows because of different case mode
innodb : Bug#49396 2009-12-03 test fails in embedded mode
innodb : Bug#49396 2009-12-03 test fails in embedded mode
plugin_load : Bug#42144 2009-12-21 alik plugin_load fails
mysql-test/t/partition_column.test
View file @
f415cd29
...
@@ -23,6 +23,23 @@ partition by range columns (a,b,c)
...
@@ -23,6 +23,23 @@ partition by range columns (a,b,c)
(
partition
p0
values
less
than
(
1
,
maxvalue
,
10
),
(
partition
p0
values
less
than
(
1
,
maxvalue
,
10
),
partition
p1
values
less
than
(
1
,
maxvalue
,
maxvalue
));
partition
p1
values
less
than
(
1
,
maxvalue
,
maxvalue
));
#
# BUG#48737, Search fails with ucs2
#
create
table
t1
(
a
varchar
(
5
)
character
set
ucs2
collate
ucs2_bin
)
partition
by
range
columns
(
a
)
(
partition
p0
values
less
than
(
0x0041
));
insert
into
t1
values
(
0x00410000
);
select
hex
(
a
)
from
t1
where
a
like
'A_'
;
explain
partitions
select
hex
(
a
)
from
t1
where
a
like
'A_'
;
alter
table
t1
remove
partitioning
;
select
hex
(
a
)
from
t1
where
a
like
'A_'
;
create
index
a
on
t1
(
a
);
select
hex
(
a
)
from
t1
where
a
like
'A_'
;
insert
into
t1
values
(
'A_'
);
select
hex
(
a
)
from
t1
;
drop
table
t1
;
#
#
# BUG#48161, Delivering too few records using collate syntax with partitions
# BUG#48161, Delivering too few records using collate syntax with partitions
#
#
...
...
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