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
c066b302
Commit
c066b302
authored
May 07, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix auto_inc locking bug introduced in ChangeSet@1.1794.1.1
parent
b83fd784
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
innobase/row/row0mysql.c
innobase/row/row0mysql.c
+1
-1
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+1
-1
No files found.
innobase/row/row0mysql.c
View file @
c066b302
...
...
@@ -696,7 +696,7 @@ run_again:
trx_start_if_not_started
(
trx
);
err
=
lock_table
(
0
,
prebuilt
->
table
,
prebuilt
->
select_lock_type
,
thr
);
err
=
lock_table
(
0
,
prebuilt
->
table
,
LOCK_AUTO_INC
,
thr
);
trx
->
error_state
=
err
;
...
...
mysql-test/r/innodb.result
View file @
c066b302
...
...
@@ -431,7 +431,7 @@ Duplicate entry 'test2' for key 2
select * from t1;
id ggid email passwd
1 this will work
4
test2 this will work
3
test2 this will work
select * from t1 where id=1;
id ggid email passwd
1 this will work
...
...
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