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
f1a7d7dd
Commit
f1a7d7dd
authored
May 07, 2007
by
mikron@mikael-ronstr-ms-dator.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jamming
parent
6e2633e9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
441 additions
and
254 deletions
+441
-254
storage/ndb/src/common/debugger/signaldata/SignalNames.cpp
storage/ndb/src/common/debugger/signaldata/SignalNames.cpp
+8
-0
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+428
-252
storage/ndb/src/kernel/blocks/lgman.cpp
storage/ndb/src/kernel/blocks/lgman.cpp
+5
-2
No files found.
storage/ndb/src/common/debugger/signaldata/SignalNames.cpp
View file @
f1a7d7dd
...
@@ -621,6 +621,14 @@ const GsnName SignalNames [] = {
...
@@ -621,6 +621,14 @@ const GsnName SignalNames [] = {
,{
GSN_LCP_PREPARE_REF
,
"LCP_PREPARE_REF"
}
,{
GSN_LCP_PREPARE_REF
,
"LCP_PREPARE_REF"
}
,{
GSN_LCP_PREPARE_CONF
,
"LCP_PREPARE_CONF"
}
,{
GSN_LCP_PREPARE_CONF
,
"LCP_PREPARE_CONF"
}
,{
GSN_DICT_ABORT_REQ
,
"DICT_ABORT_REQ"
}
,{
GSN_DICT_ABORT_REF
,
"DICT_ABORT_REF"
}
,{
GSN_DICT_ABORT_CONF
,
"DICT_ABORT_CONF"
}
,{
GSN_DICT_COMMIT_REQ
,
"DICT_COMMIT_REQ"
}
,{
GSN_DICT_COMMIT_REF
,
"DICT_COMMIT_REF"
}
,{
GSN_DICT_COMMIT_CONF
,
"DICT_COMMIT_CONF"
}
/* DICT LOCK */
/* DICT LOCK */
,{
GSN_DICT_LOCK_REQ
,
"DICT_LOCK_REQ"
}
,{
GSN_DICT_LOCK_REQ
,
"DICT_LOCK_REQ"
}
,{
GSN_DICT_LOCK_CONF
,
"DICT_LOCK_CONF"
}
,{
GSN_DICT_LOCK_CONF
,
"DICT_LOCK_CONF"
}
...
...
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
f1a7d7dd
This diff is collapsed.
Click to expand it.
storage/ndb/src/kernel/blocks/lgman.cpp
View file @
f1a7d7dd
...
@@ -462,7 +462,8 @@ Lgman::drop_filegroup_drop_files(Signal* signal,
...
@@ -462,7 +462,8 @@ Lgman::drop_filegroup_drop_files(Signal* signal,
}
}
void
void
Lgman
::
execCREATE_FILE_REQ
(
Signal
*
signal
){
Lgman
::
execCREATE_FILE_REQ
(
Signal
*
signal
)
{
jamEntry
();
jamEntry
();
CreateFileImplReq
*
req
=
(
CreateFileImplReq
*
)
signal
->
getDataPtr
();
CreateFileImplReq
*
req
=
(
CreateFileImplReq
*
)
signal
->
getDataPtr
();
...
@@ -491,6 +492,7 @@ Lgman::execCREATE_FILE_REQ(Signal* signal){
...
@@ -491,6 +492,7 @@ Lgman::execCREATE_FILE_REQ(Signal* signal){
switch
(
requestInfo
){
switch
(
requestInfo
){
case
CreateFileImplReq
:
:
Commit
:
case
CreateFileImplReq
:
:
Commit
:
{
{
jam
();
ndbrequire
(
find_file_by_id
(
file_ptr
,
ptr
.
p
->
m_meta_files
,
req
->
file_id
));
ndbrequire
(
find_file_by_id
(
file_ptr
,
ptr
.
p
->
m_meta_files
,
req
->
file_id
));
file_ptr
.
p
->
m_create
.
m_senderRef
=
req
->
senderRef
;
file_ptr
.
p
->
m_create
.
m_senderRef
=
req
->
senderRef
;
file_ptr
.
p
->
m_create
.
m_senderData
=
req
->
senderData
;
file_ptr
.
p
->
m_create
.
m_senderData
=
req
->
senderData
;
...
@@ -503,6 +505,7 @@ Lgman::execCREATE_FILE_REQ(Signal* signal){
...
@@ -503,6 +505,7 @@ Lgman::execCREATE_FILE_REQ(Signal* signal){
Uint32
senderData
=
req
->
senderData
;
Uint32
senderData
=
req
->
senderData
;
if
(
find_file_by_id
(
file_ptr
,
ptr
.
p
->
m_meta_files
,
req
->
file_id
))
if
(
find_file_by_id
(
file_ptr
,
ptr
.
p
->
m_meta_files
,
req
->
file_id
))
{
{
jam
();
file_ptr
.
p
->
m_create
.
m_senderRef
=
senderRef
;
file_ptr
.
p
->
m_create
.
m_senderRef
=
senderRef
;
file_ptr
.
p
->
m_create
.
m_senderData
=
senderData
;
file_ptr
.
p
->
m_create
.
m_senderData
=
senderData
;
create_file_abort
(
signal
,
ptr
,
file_ptr
);
create_file_abort
(
signal
,
ptr
,
file_ptr
);
...
@@ -510,11 +513,11 @@ Lgman::execCREATE_FILE_REQ(Signal* signal){
...
@@ -510,11 +513,11 @@ Lgman::execCREATE_FILE_REQ(Signal* signal){
else
else
{
{
CreateFileImplConf
*
conf
=
(
CreateFileImplConf
*
)
signal
->
getDataPtr
();
CreateFileImplConf
*
conf
=
(
CreateFileImplConf
*
)
signal
->
getDataPtr
();
jam
();
conf
->
senderData
=
senderData
;
conf
->
senderData
=
senderData
;
conf
->
senderRef
=
reference
();
conf
->
senderRef
=
reference
();
sendSignal
(
senderRef
,
GSN_CREATE_FILE_CONF
,
signal
,
sendSignal
(
senderRef
,
GSN_CREATE_FILE_CONF
,
signal
,
CreateFileImplConf
::
SignalLength
,
JBB
);
CreateFileImplConf
::
SignalLength
,
JBB
);
return
;
}
}
return
;
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