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
37ffdb44
Commit
37ffdb44
authored
Jan 18, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.1 into 10.2
parents
69221746
1d72db45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
storage/innobase/row/row0mysql.cc
storage/innobase/row/row0mysql.cc
+5
-2
storage/xtradb/row/row0mysql.cc
storage/xtradb/row/row0mysql.cc
+4
-2
No files found.
storage/innobase/row/row0mysql.cc
View file @
37ffdb44
/*****************************************************************************
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2015, 201
8
, MariaDB Corporation.
Copyright (c) 2015, 201
9
, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -3377,8 +3377,11 @@ row_drop_table_for_mysql(
calling btr_search_drop_page_hash_index() while we
hold the InnoDB dictionary lock, we will drop any
adaptive hash index entries upfront. */
bool
immune
=
is_temp_name
||
strstr
(
table
->
name
.
m_name
,
"/FTS"
);
while
(
buf_LRU_drop_page_hash_for_tablespace
(
table
))
{
if
((
!
i
s_temp_nam
e
&&
trx_is_interrupted
(
trx
))
if
((
!
i
mmun
e
&&
trx_is_interrupted
(
trx
))
||
srv_shutdown_state
!=
SRV_SHUTDOWN_NONE
)
{
err
=
DB_INTERRUPTED
;
...
...
storage/xtradb/row/row0mysql.cc
View file @
37ffdb44
/*****************************************************************************
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2015, 201
8
, MariaDB Corporation.
Copyright (c) 2015, 201
9
, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -4235,7 +4235,9 @@ row_drop_table_for_mysql(
hold the InnoDB dictionary lock, we will drop any
adaptive hash index entries upfront. */
const
bool
is_temp
=
dict_table_is_temporary
(
table
)
||
strstr
(
tablename_minus_db
,
tmp_file_prefix
);
||
strncmp
(
tablename_minus_db
,
tmp_file_prefix
,
tmp_file_prefix_length
)
||
strncmp
(
tablename_minus_db
,
"FTS_"
,
4
);
while
(
buf_LRU_drop_page_hash_for_tablespace
(
table
))
{
if
((
!
is_temp
&&
trx_is_interrupted
(
trx
))
||
srv_shutdown_state
!=
SRV_SHUTDOWN_NONE
)
{
...
...
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