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
4a8c8357
Commit
4a8c8357
authored
Feb 14, 2011
by
Jimmy Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug #59749 Enabling concurrent reads while creating non-primary unique
index gives failures. Approved by Marko
parent
b5c61ed1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
storage/innodb_plugin/ChangeLog
storage/innodb_plugin/ChangeLog
+6
-0
storage/innodb_plugin/handler/handler0alter.cc
storage/innodb_plugin/handler/handler0alter.cc
+8
-4
No files found.
storage/innodb_plugin/ChangeLog
View file @
4a8c8357
2011-02-14 The InnoDB Team
* handler/handler0alter.cc:
Bug#59749 Enabling concurrent reads while creating non-primary
unique index gives failures
2011-01-31 The InnoDB Team
* btr/btr0cur.c, include/row0upd.h,
...
...
storage/innodb_plugin/handler/handler0alter.cc
View file @
4a8c8357
...
...
@@ -782,10 +782,6 @@ err_exit:
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
...
...
@@ -911,6 +907,14 @@ 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
,
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