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
0f9efc30
Commit
0f9efc30
authored
Jan 30, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
parents
e08a2359
e736443e
Changes
3
Hide 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 @
0f9efc30
...
...
@@ -2756,6 +2756,11 @@ Backup::execGET_TABINFOREF(Signal* signal)
BackupRecordPtr
ptr
;
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
);
}
...
...
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
0f9efc30
...
...
@@ -7114,7 +7114,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
return
;
}
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
Busy
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
Busy
,
__LINE__
);
return
;
}
...
...
@@ -7135,7 +7135,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
if
(
len
>
MAX_TAB_NAME_SIZE
){
jam
();
releaseSections
(
signal
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNameTooLong
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNameTooLong
,
__LINE__
);
return
;
}
...
...
@@ -7147,7 +7147,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
if
(
!
r0
.
getWords
((
Uint32
*
)
tableName
,
(
len
+
3
)
/
4
)){
jam
();
releaseSections
(
signal
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
,
__LINE__
);
return
;
}
releaseSections
(
signal
);
...
...
@@ -7169,14 +7169,14 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
// The table seached for was not found
if
(
objEntry
==
0
){
jam
();
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
,
__LINE__
);
return
;
}
//if
if
(
objEntry
->
m_tableState
!=
SchemaFile
::
TABLE_ADD_COMMITTED
&&
objEntry
->
m_tableState
!=
SchemaFile
::
ALTER_TABLE_COMMITTED
){
jam
();
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
,
__LINE__
);
return
;
}
//if
...
...
@@ -7189,7 +7189,7 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
if
(
tabPtr
.
p
->
tabState
!=
TableRecord
::
DEFINED
)
{
jam
();
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
);
sendGET_TABINFOREF
(
signal
,
req
,
GetTabInfoRef
::
TableNotDefined
,
__LINE__
);
return
;
}
}
...
...
@@ -7280,7 +7280,8 @@ void Dbdict::sendGetTabResponse(Signal* signal)
void
Dbdict
::
sendGET_TABINFOREF
(
Signal
*
signal
,
GetTabInfoReq
*
req
,
GetTabInfoRef
::
ErrorCode
errorCode
)
GetTabInfoRef
::
ErrorCode
errorCode
,
Uint32
line
)
{
jamEntry
();
GetTabInfoRef
*
const
ref
=
(
GetTabInfoRef
*
)
&
signal
->
theData
[
0
];
...
...
@@ -7289,8 +7290,9 @@ void Dbdict::sendGET_TABINFOREF(Signal* signal,
*/
BlockReference
retRef
=
req
->
senderRef
;
ref
->
errorCode
=
errorCode
;
sendSignal
(
retRef
,
GSN_GET_TABINFOREF
,
signal
,
signal
->
length
(),
JBB
);
signal
->
theData
[
GetTabInfoRef
::
SignalLength
]
=
line
;
sendSignal
(
retRef
,
GSN_GET_TABINFOREF
,
signal
,
GetTabInfoRef
::
SignalLength
+
1
,
JBB
);
}
//sendGET_TABINFOREF()
void
...
...
storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp
View file @
0f9efc30
...
...
@@ -2135,7 +2135,8 @@ private:
/* ------------------------------------------------------------ */
void
sendGET_TABINFOREF
(
Signal
*
signal
,
GetTabInfoReq
*
,
GetTabInfoRef
::
ErrorCode
errorCode
);
GetTabInfoRef
::
ErrorCode
errorCode
,
Uint32
line
);
void
sendGET_TABLEID_REF
(
Signal
*
signal
,
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