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
88454b33
Commit
88454b33
authored
7 years ago
by
Aleksey Midenkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SQL: comment and check about ALTER in update_auto_increment()
parent
aa292666
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sql/handler.cc
sql/handler.cc
+2
-1
No files found.
sql/handler.cc
View file @
88454b33
...
@@ -3029,7 +3029,8 @@ int handler::update_auto_increment()
...
@@ -3029,7 +3029,8 @@ int handler::update_auto_increment()
enum
enum_check_fields
save_count_cuted_fields
;
enum
enum_check_fields
save_count_cuted_fields
;
DBUG_ENTER
(
"handler::update_auto_increment"
);
DBUG_ENTER
(
"handler::update_auto_increment"
);
if
(
table
->
versioned_by_sql
())
// System Versioning: handle ALTER ADD COLUMN AUTO_INCREMENT
if
(
thd
->
lex
->
sql_command
==
SQLCOM_ALTER_TABLE
&&
table
->
versioned_by_sql
())
{
{
Field
*
end
=
table
->
vers_end_field
();
Field
*
end
=
table
->
vers_end_field
();
DBUG_ASSERT
(
end
);
DBUG_ASSERT
(
end
);
...
...
This diff is collapsed.
Click to expand it.
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