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
bdf57377
Commit
bdf57377
authored
Oct 10, 2005
by
tulin@dl145b.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed init of variables in ndb block constructors
parent
0b809824
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
1 deletion
+45
-1
ndb/src/kernel/blocks/dbdih/DbdihInit.cpp
ndb/src/kernel/blocks/dbdih/DbdihInit.cpp
+12
-0
ndb/src/kernel/blocks/dbtc/DbtcInit.cpp
ndb/src/kernel/blocks/dbtc/DbtcInit.cpp
+13
-0
ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
+16
-0
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
+4
-1
No files found.
ndb/src/kernel/blocks/dbdih/DbdihInit.cpp
View file @
bdf57377
...
@@ -262,6 +262,18 @@ Dbdih::Dbdih(const class Configuration & config):
...
@@ -262,6 +262,18 @@ Dbdih::Dbdih(const class Configuration & config):
addRecSignal
(
GSN_CREATE_FRAGMENTATION_REQ
,
addRecSignal
(
GSN_CREATE_FRAGMENTATION_REQ
,
&
Dbdih
::
execCREATE_FRAGMENTATION_REQ
);
&
Dbdih
::
execCREATE_FRAGMENTATION_REQ
);
apiConnectRecord
=
0
;
connectRecord
=
0
;
fileRecord
=
0
;
fragmentstore
=
0
;
pageRecord
=
0
;
replicaRecord
=
0
;
tabRecord
=
0
;
createReplicaRecord
=
0
;
nodeGroupRecord
=
0
;
nodeRecord
=
0
;
takeOverRecord
=
0
;
}
//Dbdih::Dbdih()
}
//Dbdih::Dbdih()
Dbdih
::~
Dbdih
()
Dbdih
::~
Dbdih
()
...
...
ndb/src/kernel/blocks/dbtc/DbtcInit.cpp
View file @
bdf57377
...
@@ -291,6 +291,19 @@ Dbtc::Dbtc(const class Configuration & conf):
...
@@ -291,6 +291,19 @@ Dbtc::Dbtc(const class Configuration & conf):
addRecSignal
(
GSN_ALTER_TAB_REQ
,
&
Dbtc
::
execALTER_TAB_REQ
);
addRecSignal
(
GSN_ALTER_TAB_REQ
,
&
Dbtc
::
execALTER_TAB_REQ
);
cacheRecord
=
0
;
apiConnectRecord
=
0
;
tcConnectRecord
=
0
;
hostRecord
=
0
;
tableRecord
=
0
;
scanRecord
=
0
;
databufRecord
=
0
;
attrbufRecord
=
0
;
gcpRecord
=
0
;
tcFailRecord
=
0
;
c_apiConTimer
=
0
;
c_apiConTimer_line
=
0
;
#ifdef VM_TRACE
#ifdef VM_TRACE
{
{
void
*
tmp
[]
=
{
&
apiConnectptr
,
void
*
tmp
[]
=
{
&
apiConnectptr
,
...
...
ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
View file @
bdf57377
...
@@ -126,6 +126,22 @@ Dbtup::Dbtup(const class Configuration & conf)
...
@@ -126,6 +126,22 @@ Dbtup::Dbtup(const class Configuration & conf)
addRecSignal
(
GSN_ACC_CHECK_SCAN
,
&
Dbtup
::
execACC_CHECK_SCAN
);
addRecSignal
(
GSN_ACC_CHECK_SCAN
,
&
Dbtup
::
execACC_CHECK_SCAN
);
initData
();
initData
();
attrbufrec
=
0
;
checkpointInfo
=
0
;
diskBufferSegmentInfo
=
0
;
fragoperrec
=
0
;
fragrecord
=
0
;
hostBuffer
=
0
;
localLogInfo
=
0
;
operationrec
=
0
;
page
=
0
;
pageRange
=
0
;
pendingFileOpenInfo
=
0
;
restartInfoRecord
=
0
;
tablerec
=
0
;
tableDescriptor
=
0
;
undoPage
=
0
;
}
//Dbtup::Dbtup()
}
//Dbtup::Dbtup()
Dbtup
::~
Dbtup
()
Dbtup
::~
Dbtup
()
...
...
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
View file @
bdf57377
...
@@ -71,6 +71,8 @@ Ndbfs::Ndbfs(const Configuration & conf) :
...
@@ -71,6 +71,8 @@ Ndbfs::Ndbfs(const Configuration & conf) :
addRecSignal
(
GSN_FSAPPENDREQ
,
&
Ndbfs
::
execFSAPPENDREQ
);
addRecSignal
(
GSN_FSAPPENDREQ
,
&
Ndbfs
::
execFSAPPENDREQ
);
addRecSignal
(
GSN_FSREMOVEREQ
,
&
Ndbfs
::
execFSREMOVEREQ
);
addRecSignal
(
GSN_FSREMOVEREQ
,
&
Ndbfs
::
execFSREMOVEREQ
);
// Set send signals
// Set send signals
theRequestPool
=
0
;
}
}
Ndbfs
::~
Ndbfs
()
Ndbfs
::~
Ndbfs
()
...
@@ -85,7 +87,8 @@ Ndbfs::~Ndbfs()
...
@@ -85,7 +87,8 @@ Ndbfs::~Ndbfs()
}
//for
}
//for
theFiles
.
clear
();
theFiles
.
clear
();
delete
theRequestPool
;
if
(
theRequestPool
)
delete
theRequestPool
;
}
}
void
void
...
...
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