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
9944e41f
Commit
9944e41f
authored
Jul 06, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
parents
f413bc2f
ec8771af
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 @
9944e41f
...
@@ -325,6 +325,8 @@ GlobalDictCache::invalidate_all()
...
@@ -325,6 +325,8 @@ GlobalDictCache::invalidate_all()
if
(
vers
->
size
())
if
(
vers
->
size
())
{
{
TableVersion
*
ver
=
&
vers
->
back
();
TableVersion
*
ver
=
&
vers
->
back
();
if
(
ver
->
m_status
!=
RETREIVING
)
{
ver
->
m_impl
->
m_status
=
NdbDictionary
::
Object
::
Invalid
;
ver
->
m_impl
->
m_status
=
NdbDictionary
::
Object
::
Invalid
;
ver
->
m_status
=
DROPPED
;
ver
->
m_status
=
DROPPED
;
if
(
ver
->
m_refCount
==
0
)
if
(
ver
->
m_refCount
==
0
)
...
@@ -333,6 +335,7 @@ GlobalDictCache::invalidate_all()
...
@@ -333,6 +335,7 @@ GlobalDictCache::invalidate_all()
vers
->
erase
(
vers
->
size
()
-
1
);
vers
->
erase
(
vers
->
size
()
-
1
);
}
}
}
}
}
curr
=
m_tableHash
.
getNext
(
curr
);
curr
=
m_tableHash
.
getNext
(
curr
);
}
}
DBUG_VOID_RETURN
;
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