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
a7cd0285
Commit
a7cd0285
authored
Feb 14, 2011
by
Jimmy Yang
Browse files
Options
Browse Files
Download
Plain Diff
Merge from mysql-5.1-innodb to mysql-5.5-innodb
parents
1fe78325
91ac75d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
storage/innobase/handler/handler0alter.cc
storage/innobase/handler/handler0alter.cc
+8
-4
No files found.
storage/innobase/handler/handler0alter.cc
View file @
a7cd0285
...
...
@@ -786,10 +786,6 @@ ha_innobase::add_index(
ut_ad
(
error
==
DB_SUCCESS
);
/* We will need to rebuild index translation table. Set
valid index entry count in the translation table to zero */
share
->
idx_trans_tbl
.
index_count
=
0
;
/* Commit the data dictionary transaction in order to release
the table locks on the system tables. This means that if
MySQL crashes while creating a new primary key inside
...
...
@@ -915,6 +911,14 @@ ha_innobase::add_index(
}
convert_error:
if
(
error
==
DB_SUCCESS
)
{
/* Build index is successful. We will need to
rebuild index translation table. Reset the
index entry count in the translation table
to zero, so that translation table will be rebuilt */
share
->
idx_trans_tbl
.
index_count
=
0
;
}
error
=
convert_error_code_to_mysql
(
error
,
innodb_table
->
flags
,
user_thd
);
...
...
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