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
eb48a074
Commit
eb48a074
authored
Jun 17, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build fixes for ndb
parent
46fbf384
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
ndb/src/common/debugger/signaldata/BackupImpl.cpp
ndb/src/common/debugger/signaldata/BackupImpl.cpp
+1
-1
ndb/src/common/portlib/NdbThread.c
ndb/src/common/portlib/NdbThread.c
+2
-0
ndb/src/ndbapi/Ndb.cpp
ndb/src/ndbapi/Ndb.cpp
+4
-0
No files found.
ndb/src/common/debugger/signaldata/BackupImpl.cpp
View file @
eb48a074
...
...
@@ -24,7 +24,7 @@ printDEFINE_BACKUP_REQ(FILE * out, const Uint32 * data, Uint32 len, Uint16 bno){
sig
->
backupPtr
,
sig
->
backupId
,
sig
->
clientRef
,
sig
->
clientData
);
fprintf
(
out
,
" backupKey: [ %08x%08x ] DataLength: %d
\n
"
,
sig
->
backupKey
[
0
],
sig
->
backupKey
[
1
],
sig
->
backupDataLen
);
char
buf
[
sig
->
nodes
.
TextLength
+
1
];
char
buf
[
_NDB_NODE_BITMASK_SIZE
*
8
+
1
];
fprintf
(
out
,
" Nodes: %s
\n
"
,
sig
->
nodes
.
getText
(
buf
));
return
true
;
}
...
...
ndb/src/common/portlib/NdbThread.c
View file @
eb48a074
...
...
@@ -58,7 +58,9 @@ struct NdbThread* NdbThread_Create(NDB_THREAD_FUNC *p_thread_func,
pthread_attr_setguardsize
(
&
thread_attr
,
2048
);
#endif
#ifdef PTHREAD_CREATE_JOINABLE
/* needed on SCO */
pthread_attr_setdetachstate
(
&
thread_attr
,
PTHREAD_CREATE_JOINABLE
);
#endif
result
=
pthread_create
(
&
tmpThread
->
thread
,
&
thread_attr
,
p_thread_func
,
...
...
ndb/src/ndbapi/Ndb.cpp
View file @
eb48a074
...
...
@@ -38,6 +38,10 @@ Name: Ndb.cpp
#include <NdbEnv.h>
#include <BaseString.hpp>
#ifndef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
/****************************************************************************
void connect();
...
...
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