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
a6e2c98d
Commit
a6e2c98d
authored
Aug 01, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile fixes for ccc (& cxx) on linux/alpha
Mainly explicit template instantiations
parent
51b94746
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
46 additions
and
11 deletions
+46
-11
ndb/src/common/debugger/signaldata/SignalDataPrint.cpp
ndb/src/common/debugger/signaldata/SignalDataPrint.cpp
+3
-1
ndb/src/common/util/SocketServer.cpp
ndb/src/common/util/SocketServer.cpp
+3
-0
ndb/src/kernel/blocks/backup/BackupInit.cpp
ndb/src/kernel/blocks/backup/BackupInit.cpp
+3
-0
ndb/src/kernel/blocks/dbutil/DbUtil.cpp
ndb/src/kernel/blocks/dbutil/DbUtil.cpp
+2
-0
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
+3
-0
ndb/src/kernel/vm/ArrayPool.hpp
ndb/src/kernel/vm/ArrayPool.hpp
+2
-0
ndb/src/mgmclient/CpcClient.cpp
ndb/src/mgmclient/CpcClient.cpp
+2
-1
ndb/src/ndbapi/NdbDictionaryImpl.cpp
ndb/src/ndbapi/NdbDictionaryImpl.cpp
+0
-1
ndb/test/include/NDBT_Table.hpp
ndb/test/include/NDBT_Table.hpp
+1
-1
ndb/test/include/NDBT_Test.hpp
ndb/test/include/NDBT_Test.hpp
+10
-3
ndb/test/run-test/main.cpp
ndb/test/run-test/main.cpp
+2
-0
ndb/test/src/HugoOperations.cpp
ndb/test/src/HugoOperations.cpp
+2
-0
ndb/test/src/HugoTransactions.cpp
ndb/test/src/HugoTransactions.cpp
+1
-1
ndb/test/src/NDBT_Test.cpp
ndb/test/src/NDBT_Test.cpp
+9
-3
ndb/test/src/NdbRestarter.cpp
ndb/test/src/NdbRestarter.cpp
+2
-0
ndb/test/tools/cpcc.cpp
ndb/test/tools/cpcc.cpp
+1
-0
No files found.
ndb/src/common/debugger/signaldata/SignalDataPrint.cpp
View file @
a6e2c98d
...
@@ -258,5 +258,7 @@ SignalDataPrintFunctions[] = {
...
@@ -258,5 +258,7 @@ SignalDataPrintFunctions[] = {
const
unsigned
short
NO_OF_PRINT_FUNCTIONS
=
sizeof
(
SignalDataPrintFunctions
)
/
sizeof
(
NameFunctionPair
);
const
unsigned
short
NO_OF_PRINT_FUNCTIONS
=
sizeof
(
SignalDataPrintFunctions
)
/
sizeof
(
NameFunctionPair
);
template
class
Bitmask
<
1
>;
template
class
Bitmask
<
2
>;
template
class
Bitmask
<
4
>;
ndb/src/common/util/SocketServer.cpp
View file @
a6e2c98d
...
@@ -305,3 +305,6 @@ sessionThread_C(void* _sc){
...
@@ -305,3 +305,6 @@ sessionThread_C(void* _sc){
NdbThread_Exit
(
0
);
NdbThread_Exit
(
0
);
return
0
;
return
0
;
}
}
template
class
MutexVector
<
SocketServer
::
ServiceInstance
>;
template
class
MutexVector
<
SocketServer
::
SessionInstance
>;
ndb/src/kernel/blocks/backup/BackupInit.cpp
View file @
a6e2c98d
...
@@ -213,3 +213,6 @@ Backup::~Backup()
...
@@ -213,3 +213,6 @@ Backup::~Backup()
BLOCK_FUNCTIONS
(
Backup
);
BLOCK_FUNCTIONS
(
Backup
);
template
class
ArrayPool
<
Backup
::
Page32
>;
template
class
ArrayPool
<
Backup
::
Attribute
>;
template
class
ArrayPool
<
Backup
::
Fragment
>;
ndb/src/kernel/blocks/dbutil/DbUtil.cpp
View file @
a6e2c98d
...
@@ -2581,3 +2581,5 @@ DbUtil::execUTIL_DESTORY_LOCK_REQ(Signal* signal){
...
@@ -2581,3 +2581,5 @@ DbUtil::execUTIL_DESTORY_LOCK_REQ(Signal* signal){
sendSignal
(
req
.
senderRef
,
GSN_UTIL_DESTROY_LOCK_REF
,
signal
,
sendSignal
(
req
.
senderRef
,
GSN_UTIL_DESTROY_LOCK_REF
,
signal
,
UtilDestroyLockRef
::
SignalLength
,
JBB
);
UtilDestroyLockRef
::
SignalLength
,
JBB
);
}
}
template
class
ArrayPool
<
DbUtil
::
Page32
>;
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
View file @
a6e2c98d
...
@@ -1010,3 +1010,6 @@ Ndbfs::execDUMP_STATE_ORD(Signal* signal)
...
@@ -1010,3 +1010,6 @@ Ndbfs::execDUMP_STATE_ORD(Signal* signal)
BLOCK_FUNCTIONS
(
Ndbfs
);
BLOCK_FUNCTIONS
(
Ndbfs
);
template
class
Vector
<
AsyncFile
*
>;
template
class
Vector
<
OpenFiles
::
OpenFileItem
>;
template
class
MemoryChannel
<
Request
>;
ndb/src/kernel/vm/ArrayPool.hpp
View file @
a6e2c98d
...
@@ -153,6 +153,7 @@ public:
...
@@ -153,6 +153,7 @@ public:
* (Run operator NdbOut<< on every element)
* (Run operator NdbOut<< on every element)
*/
*/
void
print
(
NdbOut
&
out
){
void
print
(
NdbOut
&
out
){
#ifdef VM_TRACE
out
<<
"FirstFree = "
<<
firstFree
<<
endl
;
out
<<
"FirstFree = "
<<
firstFree
<<
endl
;
for
(
Uint32
i
=
0
;
i
<
size
;
i
++
){
for
(
Uint32
i
=
0
;
i
<
size
;
i
++
){
#ifdef ARRAY_GUARD
#ifdef ARRAY_GUARD
...
@@ -164,6 +165,7 @@ public:
...
@@ -164,6 +165,7 @@ public:
out
<<
i
<<
": "
<<
theArray
[
i
]
<<
" "
;
out
<<
i
<<
": "
<<
theArray
[
i
]
<<
" "
;
}
}
out
<<
endl
;
out
<<
endl
;
#endif
}
}
#ifdef DEBUG
#ifdef DEBUG
...
...
ndb/src/mgmclient/CpcClient.cpp
View file @
a6e2c98d
...
@@ -558,3 +558,4 @@ SimpleCpcClient::ParserDummy::ParserDummy(NDB_SOCKET_TYPE sock)
...
@@ -558,3 +558,4 @@ SimpleCpcClient::ParserDummy::ParserDummy(NDB_SOCKET_TYPE sock)
:
SocketServer
::
Session
(
sock
)
{
:
SocketServer
::
Session
(
sock
)
{
}
}
template
class
Vector
<
SimpleCpcClient
::
Process
>;
ndb/src/ndbapi/NdbDictionaryImpl.cpp
View file @
a6e2c98d
...
@@ -2818,5 +2818,4 @@ template class Vector<Uint32>;
...
@@ -2818,5 +2818,4 @@ template class Vector<Uint32>;
template
class
Vector
<
Vector
<
Uint32
>
>
;
template
class
Vector
<
Vector
<
Uint32
>
>
;
template
class
Vector
<
NdbTableImpl
*
>;
template
class
Vector
<
NdbTableImpl
*
>;
template
class
Vector
<
NdbColumnImpl
*
>;
template
class
Vector
<
NdbColumnImpl
*
>;
template
class
Bitmask
<
4
>;
ndb/test/include/NDBT_Table.hpp
View file @
a6e2c98d
...
@@ -26,7 +26,7 @@ class NDBT_Attribute : public NdbDictionary::Column {
...
@@ -26,7 +26,7 @@ class NDBT_Attribute : public NdbDictionary::Column {
friend
class
NdbOut
&
operator
<<
(
class
NdbOut
&
,
const
NDBT_Attribute
&
);
friend
class
NdbOut
&
operator
<<
(
class
NdbOut
&
,
const
NDBT_Attribute
&
);
public:
public:
NDBT_Attribute
(
const
char
*
_name
,
NDBT_Attribute
(
const
char
*
_name
,
Column
::
Type
_type
,
NdbDictionary
::
Column
::
Type
_type
,
int
_length
=
1
,
int
_length
=
1
,
bool
_pk
=
false
,
bool
_pk
=
false
,
bool
_nullable
=
false
)
:
bool
_nullable
=
false
)
:
...
...
ndb/test/include/NDBT_Test.hpp
View file @
a6e2c98d
...
@@ -110,6 +110,7 @@ public:
...
@@ -110,6 +110,7 @@ public:
NDBT_Step
(
NDBT_TestCase
*
ptest
,
NDBT_Step
(
NDBT_TestCase
*
ptest
,
const
char
*
pname
,
const
char
*
pname
,
NDBT_TESTFUNC
*
pfunc
);
NDBT_TESTFUNC
*
pfunc
);
virtual
~
NDBT_Step
()
{}
int
execute
(
NDBT_Context
*
);
int
execute
(
NDBT_Context
*
);
virtual
int
setUp
()
=
0
;
virtual
int
setUp
()
=
0
;
virtual
void
tearDown
()
=
0
;
virtual
void
tearDown
()
=
0
;
...
@@ -132,8 +133,9 @@ public:
...
@@ -132,8 +133,9 @@ public:
NDBT_NdbApiStep
(
NDBT_TestCase
*
ptest
,
NDBT_NdbApiStep
(
NDBT_TestCase
*
ptest
,
const
char
*
pname
,
const
char
*
pname
,
NDBT_TESTFUNC
*
pfunc
);
NDBT_TESTFUNC
*
pfunc
);
int
setUp
();
virtual
~
NDBT_NdbApiStep
()
{}
void
tearDown
();
virtual
int
setUp
();
virtual
void
tearDown
();
Ndb
*
getNdb
();
Ndb
*
getNdb
();
protected:
protected:
...
@@ -145,6 +147,7 @@ public:
...
@@ -145,6 +147,7 @@ public:
NDBT_ParallelStep
(
NDBT_TestCase
*
ptest
,
NDBT_ParallelStep
(
NDBT_TestCase
*
ptest
,
const
char
*
pname
,
const
char
*
pname
,
NDBT_TESTFUNC
*
pfunc
);
NDBT_TESTFUNC
*
pfunc
);
virtual
~
NDBT_ParallelStep
()
{}
};
};
class
NDBT_Verifier
:
public
NDBT_NdbApiStep
{
class
NDBT_Verifier
:
public
NDBT_NdbApiStep
{
...
@@ -152,6 +155,7 @@ public:
...
@@ -152,6 +155,7 @@ public:
NDBT_Verifier
(
NDBT_TestCase
*
ptest
,
NDBT_Verifier
(
NDBT_TestCase
*
ptest
,
const
char
*
name
,
const
char
*
name
,
NDBT_TESTFUNC
*
func
);
NDBT_TESTFUNC
*
func
);
virtual
~
NDBT_Verifier
()
{}
};
};
class
NDBT_Initializer
:
public
NDBT_NdbApiStep
{
class
NDBT_Initializer
:
public
NDBT_NdbApiStep
{
...
@@ -159,6 +163,7 @@ public:
...
@@ -159,6 +163,7 @@ public:
NDBT_Initializer
(
NDBT_TestCase
*
ptest
,
NDBT_Initializer
(
NDBT_TestCase
*
ptest
,
const
char
*
name
,
const
char
*
name
,
NDBT_TESTFUNC
*
func
);
NDBT_TESTFUNC
*
func
);
virtual
~
NDBT_Initializer
()
{}
};
};
class
NDBT_Finalizer
:
public
NDBT_NdbApiStep
{
class
NDBT_Finalizer
:
public
NDBT_NdbApiStep
{
...
@@ -166,6 +171,7 @@ public:
...
@@ -166,6 +171,7 @@ public:
NDBT_Finalizer
(
NDBT_TestCase
*
ptest
,
NDBT_Finalizer
(
NDBT_TestCase
*
ptest
,
const
char
*
name
,
const
char
*
name
,
NDBT_TESTFUNC
*
func
);
NDBT_TESTFUNC
*
func
);
virtual
~
NDBT_Finalizer
()
{}
};
};
...
@@ -174,7 +180,8 @@ public:
...
@@ -174,7 +180,8 @@ public:
NDBT_TestCase
(
NDBT_TestSuite
*
psuite
,
NDBT_TestCase
(
NDBT_TestSuite
*
psuite
,
const
char
*
name
,
const
char
*
name
,
const
char
*
comment
);
const
char
*
comment
);
virtual
~
NDBT_TestCase
(){};
virtual
~
NDBT_TestCase
(){}
// This is the default executor of a test case
// This is the default executor of a test case
// When a test case is executed it will need to be suplied with a number of
// When a test case is executed it will need to be suplied with a number of
// different parameters and settings, these are passed to the test in the
// different parameters and settings, these are passed to the test in the
...
...
ndb/test/run-test/main.cpp
View file @
a6e2c98d
...
@@ -970,3 +970,5 @@ setup_hosts(atrt_config& config){
...
@@ -970,3 +970,5 @@ setup_hosts(atrt_config& config){
}
}
return
true
;
return
true
;
}
}
template
class
Vector
<
const
ParserRow
<
SimpleCpcClient
::
ParserDummy
>
*>
;
ndb/test/src/HugoOperations.cpp
View file @
a6e2c98d
...
@@ -791,3 +791,5 @@ HugoOperations::indexUpdateRecord(Ndb*,
...
@@ -791,3 +791,5 @@ HugoOperations::indexUpdateRecord(Ndb*,
}
}
return
NDBT_OK
;
return
NDBT_OK
;
}
}
template
class
Vector
<
HugoOperations
::
ScanTmp
>;
ndb/test/src/HugoTransactions.cpp
View file @
a6e2c98d
...
@@ -2415,4 +2415,4 @@ HugoTransactions::indexUpdateRecords(Ndb* pNdb,
...
@@ -2415,4 +2415,4 @@ HugoTransactions::indexUpdateRecords(Ndb* pNdb,
return
NDBT_OK
;
return
NDBT_OK
;
}
}
template
class
Vector
<
NDBT_ResultRow
*
>;
ndb/test/src/NDBT_Test.cpp
View file @
a6e2c98d
...
@@ -1117,6 +1117,12 @@ void NDBT_Step::print(){
...
@@ -1117,6 +1117,12 @@ void NDBT_Step::print(){
}
}
template
class
Vector
<
NDBT_TestCase
*
>;
template
class
Vector
<
NDBT_TestCaseResult
*
>;
template
class
Vector
<
NDBT_Step
*
>;
template
class
Vector
<
NdbThread
*
>;
template
class
Vector
<
NDBT_Verifier
*
>;
template
class
Vector
<
NDBT_Initializer
*
>;
template
class
Vector
<
NDBT_Finalizer
*
>;
template
class
Vector
<
const
NdbDictionary
::
Table
*
>;
template
class
Vector
<
int
>;
ndb/test/src/NdbRestarter.cpp
View file @
a6e2c98d
...
@@ -672,3 +672,5 @@ NdbRestarter::getConfig(){
...
@@ -672,3 +672,5 @@ NdbRestarter::getConfig(){
m_config
=
ndb_mgm_get_configuration
(
handle
,
0
);
m_config
=
ndb_mgm_get_configuration
(
handle
,
0
);
return
m_config
;
return
m_config
;
}
}
template
class
Vector
<
ndb_mgm_node_state
>;
ndb/test/tools/cpcc.cpp
View file @
a6e2c98d
...
@@ -347,3 +347,4 @@ Operate::evaluate(SimpleCpcClient* c, const SimpleCpcClient::Process & pp){
...
@@ -347,3 +347,4 @@ Operate::evaluate(SimpleCpcClient* c, const SimpleCpcClient::Process & pp){
return
true
;
return
true
;
}
}
template
class
Vector
<
const
ParserRow
<
SimpleCpcClient
::
ParserDummy
>
*>
;
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