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
99f70b55
Commit
99f70b55
authored
Nov 21, 2023
by
Yuchen Pei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-32849 Check if any table is actually locked
parent
03811978
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
storage/spider/ha_spider.cc
storage/spider/ha_spider.cc
+7
-0
No files found.
storage/spider/ha_spider.cc
View file @
99f70b55
...
...
@@ -1265,6 +1265,13 @@ int ha_spider::external_lock(
#ifdef HA_CAN_BULK_ACCESS
external_lock_cnt
++
;
#endif
if
(
lock_type
==
F_UNLCK
)
{
if
(
!
trx
->
locked_connections
)
{
DBUG_RETURN
(
0
);
/* No remote table actually locked by Spider */
}
}
if
(
store_error_num
)
DBUG_RETURN
(
store_error_num
);
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
...
...
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