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
81609d86
Commit
81609d86
authored
Nov 29, 2023
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: remove innodb-specific code around update_auto_increment()
removed dead code
parent
c5904702
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+0
-15
No files found.
storage/innobase/handler/ha_innodb.cc
View file @
81609d86
...
@@ -7665,20 +7665,6 @@ ha_innobase::write_row(
...
@@ -7665,20 +7665,6 @@ ha_innobase::write_row(
#endif
#endif
if
((
error_result
=
update_auto_increment
()))
{
if
((
error_result
=
update_auto_increment
()))
{
/* We don't want to mask autoinc overflow errors. */
/* Handle the case where the AUTOINC sub-system
failed during initialization. */
if
(
m_prebuilt
->
autoinc_error
==
DB_UNSUPPORTED
)
{
error_result
=
ER_AUTOINC_READ_FAILED
;
/* Set the error message to report too. */
my_error
(
ER_AUTOINC_READ_FAILED
,
MYF
(
0
));
goto
func_exit
;
}
else
if
(
m_prebuilt
->
autoinc_error
!=
DB_SUCCESS
)
{
error
=
m_prebuilt
->
autoinc_error
;
goto
report_error
;
}
/* MySQL errors are passed straight back. */
/* MySQL errors are passed straight back. */
goto
func_exit
;
goto
func_exit
;
}
}
...
@@ -7816,7 +7802,6 @@ ha_innobase::write_row(
...
@@ -7816,7 +7802,6 @@ ha_innobase::write_row(
}
}
}
}
report_error:
/* Cleanup and exit. */
/* Cleanup and exit. */
if
(
error
==
DB_TABLESPACE_DELETED
)
{
if
(
error
==
DB_TABLESPACE_DELETED
)
{
ib_senderrf
(
ib_senderrf
(
...
...
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