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
6f9e9b55
Commit
6f9e9b55
authored
Jan 05, 2005
by
jonas@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - getTable retry if DICT busy
parent
f2b25a6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
ndb/src/ndbapi/NdbDictionaryImpl.cpp
ndb/src/ndbapi/NdbDictionaryImpl.cpp
+4
-2
No files found.
BitKeeper/etc/logging_ok
View file @
6f9e9b55
...
@@ -96,6 +96,7 @@ jcole@tetra.spaceapes.com
...
@@ -96,6 +96,7 @@ jcole@tetra.spaceapes.com
jimw@mysql.com
jimw@mysql.com
joerg@mysql.com
joerg@mysql.com
jon@gigan.
jon@gigan.
jonas@mysql.com
joreland@bk-internal.mysql.com
joreland@bk-internal.mysql.com
joreland@mysql.com
joreland@mysql.com
jorge@linux.jorge.mysql.com
jorge@linux.jorge.mysql.com
...
...
ndb/src/ndbapi/NdbDictionaryImpl.cpp
View file @
6f9e9b55
...
@@ -941,7 +941,7 @@ NdbDictInterface::dictSignal(NdbApiSignal* signal,
...
@@ -941,7 +941,7 @@ NdbDictInterface::dictSignal(NdbApiSignal* signal,
for
(
int
j
=
0
;
j
<
noerrcodes
;
j
++
)
for
(
int
j
=
0
;
j
<
noerrcodes
;
j
++
)
if
(
m_error
.
code
==
errcodes
[
j
])
{
if
(
m_error
.
code
==
errcodes
[
j
])
{
doContinue
=
1
;
doContinue
=
1
;
continue
;
break
;
}
}
if
(
doContinue
)
if
(
doContinue
)
continue
;
continue
;
...
@@ -1007,12 +1007,14 @@ NdbDictInterface::getTable(class NdbApiSignal * signal,
...
@@ -1007,12 +1007,14 @@ NdbDictInterface::getTable(class NdbApiSignal * signal,
Uint32
noOfSections
,
bool
fullyQualifiedNames
)
Uint32
noOfSections
,
bool
fullyQualifiedNames
)
{
{
//GetTabInfoReq * const req = CAST_PTR(GetTabInfoReq, signal->getDataPtrSend());
//GetTabInfoReq * const req = CAST_PTR(GetTabInfoReq, signal->getDataPtrSend());
int
errCodes
[]
=
{
GetTabInfoRef
::
Busy
};
int
r
=
dictSignal
(
signal
,
ptr
,
noOfSections
,
int
r
=
dictSignal
(
signal
,
ptr
,
noOfSections
,
0
/*do not use masternode id*/
,
0
/*do not use masternode id*/
,
100
,
100
,
WAIT_GET_TAB_INFO_REQ
,
WAIT_GET_TAB_INFO_REQ
,
WAITFOR_RESPONSE_TIMEOUT
,
WAITFOR_RESPONSE_TIMEOUT
,
NULL
,
0
);
errCodes
,
1
);
if
(
r
)
return
0
;
if
(
r
)
return
0
;
NdbTableImpl
*
rt
=
0
;
NdbTableImpl
*
rt
=
0
;
...
...
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