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
e736443e
Commit
e736443e
authored
Jan 30, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#10987 - ndb - ndb_rpl_bank
more printouts...
parent
6e688cd9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
10 deletions
+18
-10
storage/ndb/src/kernel/blocks/backup/Backup.cpp
storage/ndb/src/kernel/blocks/backup/Backup.cpp
+5
-0
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+11
-9
storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp
storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp
+2
-1
No files found.
storage/ndb/src/kernel/blocks/backup/Backup.cpp
View file @
e736443e
...
@@ -2756,6 +2756,11 @@ Backup::execGET_TABINFOREF(Signal* signal)
...
@@ -2756,6 +2756,11 @@ Backup::execGET_TABINFOREF(Signal* signal)
BackupRecordPtr
ptr
;
BackupRecordPtr
ptr
;
c_backupPool
.
getPtr
(
ptr
,
senderData
);
c_backupPool
.
getPtr
(
ptr
,
senderData
);
ndbout_c
(
"execGET_TABINFOREF: tab: %d errorCode: %d extra: %d"
,
ref
->
tableId
,
ref
->
errorCode
,
signal
->
theData
[
signal
->
getLength
()
-
1
]);
defineBackupRef
(
signal
,
ptr
,
ref
->
errorCode
);
defineBackupRef
(
signal
,
ptr
,
ref
->
errorCode
);
}
}
...
...
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
e736443e
...
@@ -7114,7 +7114,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
...
@@ -7114,7 +7114,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
return
;
return
;
}
}
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
Busy
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
Busy
,
__LINE__
);
return
;
return
;
}
}
...
@@ -7135,7 +7135,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
...
@@ -7135,7 +7135,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
if
(
len
>
MAX_TAB_NAME_SIZE
){
if
(
len
>
MAX_TAB_NAME_SIZE
){
jam
();
jam
();
releaseSections
(
signal
);
releaseSections
(
signal
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNameTooLong
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNameTooLong
,
__LINE__
);
return
;
return
;
}
}
...
@@ -7147,7 +7147,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
...
@@ -7147,7 +7147,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
if
(
!
r0
.
getWords
((
Uint32
*
)
tableName
,
(
len
+
3
)
/
4
)){
if
(
!
r0
.
getWords
((
Uint32
*
)
tableName
,
(
len
+
3
)
/
4
)){
jam
();
jam
();
releaseSections
(
signal
);
releaseSections
(
signal
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
,
__LINE__
);
return
;
return
;
}
}
releaseSections
(
signal
);
releaseSections
(
signal
);
...
@@ -7169,14 +7169,14 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
...
@@ -7169,14 +7169,14 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
// The table seached for was not found
// The table seached for was not found
if
(
objEntry
==
0
){
if
(
objEntry
==
0
){
jam
();
jam
();
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
,
__LINE__
);
return
;
return
;
}
//if
}
//if
if
(
objEntry
->
m_tableState
!=
SchemaFile
::
TABLE_ADD_COMMITTED
&&
if
(
objEntry
->
m_tableState
!=
SchemaFile
::
TABLE_ADD_COMMITTED
&&
objEntry
->
m_tableState
!=
SchemaFile
::
ALTER_TABLE_COMMITTED
){
objEntry
->
m_tableState
!=
SchemaFile
::
ALTER_TABLE_COMMITTED
){
jam
();
jam
();
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
,
__LINE__
);
return
;
return
;
}
//if
}
//if
...
@@ -7189,7 +7189,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
...
@@ -7189,7 +7189,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
if
(
tabPtr
.
p
->
tabState
!=
TableRecord
::
DEFINED
)
if
(
tabPtr
.
p
->
tabState
!=
TableRecord
::
DEFINED
)
{
{
jam
();
jam
();
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
,
__LINE__
);
return
;
return
;
}
}
}
}
...
@@ -7280,7 +7280,8 @@ void Dbdict::sendGetTabResponse(Signal* signal)
...
@@ -7280,7 +7280,8 @@ void Dbdict::sendGetTabResponse(Signal* signal)
void
Dbdict
::
sendGET_TABINFOREF
(
Signal
*
signal
,
void
Dbdict
::
sendGET_TABINFOREF
(
Signal
*
signal
,
GetTabInfoReq
*
req
,
GetTabInfoReq
*
req
,
GetTabInfoRef
::
ErrorCode
errorCode
)
GetTabInfoRef
::
ErrorCode
errorCode
,
Uint32
line
)
{
{
jamEntry
();
jamEntry
();
GetTabInfoRef
*
const
ref
=
(
GetTabInfoRef
*
)
&
signal
->
theData
[
0
];
GetTabInfoRef
*
const
ref
=
(
GetTabInfoRef
*
)
&
signal
->
theData
[
0
];
...
@@ -7289,8 +7290,9 @@ void Dbdict::sendGET_TABINFOREF(Signal* signal,
...
@@ -7289,8 +7290,9 @@ void Dbdict::sendGET_TABINFOREF(Signal* signal,
*/
*/
BlockReference
retRef
=
req
->
senderRef
;
BlockReference
retRef
=
req
->
senderRef
;
ref
->
errorCode
=
errorCode
;
ref
->
errorCode
=
errorCode
;
signal
->
theData
[
GetTabInfoRef
::
SignalLength
]
=
line
;
sendSignal
(
retRef
,
GSN_GET_TABINFOREF
,
signal
,
signal
->
length
(),
JBB
);
sendSignal
(
retRef
,
GSN_GET_TABINFOREF
,
signal
,
GetTabInfoRef
::
SignalLength
+
1
,
JBB
);
}
//sendGET_TABINFOREF()
}
//sendGET_TABINFOREF()
void
void
...
...
storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp
View file @
e736443e
...
@@ -2135,7 +2135,8 @@ private:
...
@@ -2135,7 +2135,8 @@ private:
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */
void
sendGET_TABINFOREF
(
Signal
*
signal
,
void
sendGET_TABINFOREF
(
Signal
*
signal
,
GetTabInfoReq
*
,
GetTabInfoReq
*
,
GetTabInfoRef
::
ErrorCode
errorCode
);
GetTabInfoRef
::
ErrorCode
errorCode
,
Uint32
line
);
void
sendGET_TABLEID_REF
(
Signal
*
signal
,
void
sendGET_TABLEID_REF
(
Signal
*
signal
,
GetTableIdReq
*
req
,
GetTableIdReq
*
req
,
...
...
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