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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d73b5b68
Commit
d73b5b68
authored
Jun 20, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge dator5.(none):/home/pappa/clean-mysql-5.1
into dator5.(none):/home/pappa/bug19281
parents
89fc7fdb
a365c9b1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
1 deletion
+25
-1
mysql-test/r/partition_list.result
mysql-test/r/partition_list.result
+10
-0
mysql-test/t/partition_innodb.test
mysql-test/t/partition_innodb.test
+1
-1
mysql-test/t/partition_list.test
mysql-test/t/partition_list.test
+12
-0
mysql-test/t/partition_mgm.test
mysql-test/t/partition_mgm.test
+1
-0
sql/ha_partition.cc
sql/ha_partition.cc
+1
-0
No files found.
mysql-test/r/partition_list.result
View file @
d73b5b68
...
...
@@ -191,3 +191,13 @@ SELECT COUNT(*) FROM t1 WHERE s1 < 3;
COUNT(*)
2
DROP TABLE t1;
create table t1 (a int auto_increment primary key)
auto_increment=100
partition by list (a)
(partition p0 values in (1, 100));
create index inx on t1 (a);
insert into t1 values (null);
select * from t1;
a
100
drop table t1;
mysql-test/t/partition_innodb.test
View file @
d73b5b68
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_partition
.
inc
SET
@
max_row
=
20
;
let
$engine
=
'InnoDB'
;
let
$MAX_VALUE
=
(
2147483646
);
...
...
mysql-test/t/partition_list.test
View file @
d73b5b68
...
...
@@ -124,3 +124,15 @@ INSERT INTO t1 VALUES (1), (2), (3), (4), (5);
SELECT
COUNT
(
*
)
FROM
t1
WHERE
s1
<
3
;
DROP
TABLE
t1
;
#
# Bug 19281 Partitions: Auto-increment value lost
#
create
table
t1
(
a
int
auto_increment
primary
key
)
auto_increment
=
100
partition
by
list
(
a
)
(
partition
p0
values
in
(
1
,
100
));
create
index
inx
on
t1
(
a
);
insert
into
t1
values
(
null
);
select
*
from
t1
;
drop
table
t1
;
mysql-test/t/partition_mgm.test
View file @
d73b5b68
--
source
include
/
have_partition
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
t1
;
--
enable_warnings
...
...
sql/ha_partition.cc
View file @
d73b5b68
...
...
@@ -1565,6 +1565,7 @@ error:
void
ha_partition
::
update_create_info
(
HA_CREATE_INFO
*
create_info
)
{
m_file
[
0
]
->
update_create_info
(
create_info
);
return
;
}
...
...
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