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
d06ca5bb
Commit
d06ca5bb
authored
May 09, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.0 into 10.1
parents
b2fc197b
4f42f0d1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
storage/innobase/dict/dict0dict.cc
storage/innobase/dict/dict0dict.cc
+2
-1
storage/innobase/row/row0merge.cc
storage/innobase/row/row0merge.cc
+2
-1
storage/xtradb/dict/dict0dict.cc
storage/xtradb/dict/dict0dict.cc
+2
-1
storage/xtradb/row/row0merge.cc
storage/xtradb/row/row0merge.cc
+2
-1
No files found.
storage/innobase/dict/dict0dict.cc
View file @
d06ca5bb
...
@@ -507,7 +507,8 @@ dict_table_try_drop_aborted(
...
@@ -507,7 +507,8 @@ dict_table_try_drop_aborted(
ut_ad
(
table
->
id
==
table_id
);
ut_ad
(
table
->
id
==
table_id
);
}
}
if
(
table
&&
table
->
n_ref_count
==
ref_count
&&
table
->
drop_aborted
)
{
if
(
table
&&
table
->
n_ref_count
==
ref_count
&&
table
->
drop_aborted
&&
!
UT_LIST_GET_FIRST
(
table
->
locks
))
{
/* Silence a debug assertion in row_merge_drop_indexes(). */
/* Silence a debug assertion in row_merge_drop_indexes(). */
ut_d
(
table
->
n_ref_count
++
);
ut_d
(
table
->
n_ref_count
++
);
row_merge_drop_indexes
(
trx
,
table
,
TRUE
);
row_merge_drop_indexes
(
trx
,
table
,
TRUE
);
...
...
storage/innobase/row/row0merge.cc
View file @
d06ca5bb
...
@@ -3108,7 +3108,8 @@ row_merge_drop_indexes(
...
@@ -3108,7 +3108,8 @@ row_merge_drop_indexes(
A concurrent purge will be prevented by dict_operation_lock. */
A concurrent purge will be prevented by dict_operation_lock. */
if
(
!
locked
&&
table
->
n_ref_count
>
1
)
{
if
(
!
locked
&&
(
table
->
n_ref_count
>
1
||
UT_LIST_GET_FIRST
(
table
->
locks
)))
{
/* We will have to drop the indexes later, when the
/* We will have to drop the indexes later, when the
table is guaranteed to be no longer in use. Mark the
table is guaranteed to be no longer in use. Mark the
indexes as incomplete and corrupted, so that other
indexes as incomplete and corrupted, so that other
...
...
storage/xtradb/dict/dict0dict.cc
View file @
d06ca5bb
...
@@ -507,7 +507,8 @@ dict_table_try_drop_aborted(
...
@@ -507,7 +507,8 @@ dict_table_try_drop_aborted(
ut_ad
(
table
->
id
==
table_id
);
ut_ad
(
table
->
id
==
table_id
);
}
}
if
(
table
&&
table
->
n_ref_count
==
ref_count
&&
table
->
drop_aborted
)
{
if
(
table
&&
table
->
n_ref_count
==
ref_count
&&
table
->
drop_aborted
&&
!
UT_LIST_GET_FIRST
(
table
->
locks
))
{
/* Silence a debug assertion in row_merge_drop_indexes(). */
/* Silence a debug assertion in row_merge_drop_indexes(). */
ut_d
(
table
->
n_ref_count
++
);
ut_d
(
table
->
n_ref_count
++
);
row_merge_drop_indexes
(
trx
,
table
,
TRUE
);
row_merge_drop_indexes
(
trx
,
table
,
TRUE
);
...
...
storage/xtradb/row/row0merge.cc
View file @
d06ca5bb
...
@@ -3111,7 +3111,8 @@ row_merge_drop_indexes(
...
@@ -3111,7 +3111,8 @@ row_merge_drop_indexes(
A concurrent purge will be prevented by dict_operation_lock. */
A concurrent purge will be prevented by dict_operation_lock. */
if
(
!
locked
&&
table
->
n_ref_count
>
1
)
{
if
(
!
locked
&&
(
table
->
n_ref_count
>
1
||
UT_LIST_GET_FIRST
(
table
->
locks
)))
{
/* We will have to drop the indexes later, when the
/* We will have to drop the indexes later, when the
table is guaranteed to be no longer in use. Mark the
table is guaranteed to be no longer in use. Mark the
indexes as incomplete and corrupted, so that other
indexes as incomplete and corrupted, so that other
...
...
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