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
cb235151
Commit
cb235151
authored
Sep 22, 2004
by
tomas@poseidon.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug printout
parent
2f612c5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
ndb/src/ndbapi/DictCache.cpp
ndb/src/ndbapi/DictCache.cpp
+21
-0
No files found.
ndb/src/ndbapi/DictCache.cpp
View file @
cb235151
...
...
@@ -70,6 +70,27 @@ LocalDictCache::put(const char * name, Ndb_local_table_info * tab_info){
void
LocalDictCache
::
drop
(
const
char
*
name
){
Ndb_local_table_info
*
info
=
m_tableHash
.
deleteKey
(
name
,
strlen
(
name
));
#ifndef DBUG_OFF
if
(
info
==
0
)
{
ndbout_c
(
"LocalDictCache::drop(%s) info==0"
,
name
);
ndbout_c
(
"dump begin"
);
NdbElement_t
<
Ndb_local_table_info
>
*
curr
=
m_tableHash
.
getNext
(
0
);
while
(
curr
!=
0
){
Ndb_local_table_info
*
tmp
=
curr
->
theData
;
if
(
tmp
)
{
ndbout_c
(
"m_table_impl=0x%x, id=%d, name=%s"
,
tmp
->
m_table_impl
,
tmp
->
m_table_impl
->
m_tableId
,
tmp
->
m_table_impl
->
getName
());
}
else
{
ndbout_c
(
"NULL"
);
}
curr
=
m_tableHash
.
getNext
(
curr
);
}
ndbout_c
(
"dump end"
);
}
#endif
DBUG_ASSERT
(
info
!=
0
);
Ndb_local_table_info
::
destroy
(
info
);
}
...
...
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