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
ba822b8f
Commit
ba822b8f
authored
Mar 01, 2001
by
heikki@donna.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ha_innobase.cc Fixed a bug in ha_innobase.cc in auto_increment
parent
21c60176
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
sql/ha_innobase.cc
sql/ha_innobase.cc
+14
-0
No files found.
sql/ha_innobase.cc
View file @
ba822b8f
...
@@ -1222,7 +1222,21 @@ ha_innobase::write_row(
...
@@ -1222,7 +1222,21 @@ ha_innobase::write_row(
}
}
if
(
table
->
next_number_field
&&
record
==
table
->
record
[
0
])
{
if
(
table
->
next_number_field
&&
record
==
table
->
record
[
0
])
{
/* Set the 'in_update_remember_pos' flag to FALSE to
make sure all columns are fetched in the select done by
update_auto_increment */
prebuilt
->
in_update_remember_pos
=
FALSE
;
update_auto_increment
();
update_auto_increment
();
/* We have to set sql_stat_start to TRUE because
update_auto_increment has called a select, and
has reset that flag; row_insert_for_mysql has to
know to set the IX intention lock on the table, something
it only does at the start of each statement */
prebuilt
->
sql_stat_start
=
TRUE
;
}
}
if
(
prebuilt
->
mysql_template
==
NULL
if
(
prebuilt
->
mysql_template
==
NULL
...
...
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