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
57325925
Commit
57325925
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
f887a28c
4a8c8357
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 @
57325925
...
@@ -786,10 +786,6 @@ err_exit:
...
@@ -786,10 +786,6 @@ err_exit:
ut_ad
(
error
==
DB_SUCCESS
);
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
/* Commit the data dictionary transaction in order to release
the table locks on the system tables. This means that if
the table locks on the system tables. This means that if
MySQL crashes while creating a new primary key inside
MySQL crashes while creating a new primary key inside
...
@@ -915,6 +911,14 @@ error:
...
@@ -915,6 +911,14 @@ error:
}
}
convert_error:
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
,
error
=
convert_error_code_to_mysql
(
error
,
innodb_table
->
flags
,
innodb_table
->
flags
,
user_thd
);
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