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
9ad74a80
Commit
9ad74a80
authored
Jun 07, 2005
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
innodb.test:
Update Monty's tests for AUTO-INC bug #11080 and bug #11005
parent
64ed9d3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
mysql-test/t/innodb.test
mysql-test/t/innodb.test
+1
-2
No files found.
mysql-test/t/innodb.test
View file @
9ad74a80
...
...
@@ -1364,8 +1364,8 @@ create table t1 (rowid int not null auto_increment, val int not null,primary
key
(
rowid
),
unique
(
val
))
engine
=
innodb
;
replace
into
t1
(
val
)
values
(
'1'
),(
'2'
);
replace
into
t1
(
val
)
values
(
'1'
),(
'2'
);
insert
into
t1
(
val
)
values
(
'1'
),(
'2'
);
--
error
1062
insert
into
t1
(
val
)
values
(
'1'
),(
'2'
);
select
*
from
t1
;
drop
table
t1
;
...
...
@@ -1380,6 +1380,5 @@ update t1 set a=2 where a=1;
# We should get the following error because InnoDB does not update the counter
--
error
1062
insert
into
t1
(
val
)
values
(
1
);
--
error
1062
select
*
from
t1
;
drop
table
t1
;
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