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
ec8771af
Commit
ec8771af
authored
Jul 06, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport of ndb DictCache fix
- don't invalidate tables that are in state RETRIEVING
parent
9f542ef0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
ndb/src/ndbapi/DictCache.cpp
ndb/src/ndbapi/DictCache.cpp
+8
-5
No files found.
ndb/src/ndbapi/DictCache.cpp
View file @
ec8771af
...
...
@@ -278,6 +278,8 @@ GlobalDictCache::invalidate_all()
if
(
vers
->
size
())
{
TableVersion
*
ver
=
&
vers
->
back
();
if
(
ver
->
m_status
!=
RETREIVING
)
{
ver
->
m_impl
->
m_status
=
NdbDictionary
::
Object
::
Invalid
;
ver
->
m_status
=
DROPPED
;
if
(
ver
->
m_refCount
==
0
)
...
...
@@ -286,6 +288,7 @@ GlobalDictCache::invalidate_all()
vers
->
erase
(
vers
->
size
()
-
1
);
}
}
}
curr
=
m_tableHash
.
getNext
(
curr
);
}
DBUG_VOID_RETURN
;
...
...
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