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
63d25317
Commit
63d25317
authored
Aug 24, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
parents
7b2966f9
940a6b4e
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
23 additions
and
21 deletions
+23
-21
ndb/src/kernel/blocks/grep/Grep.hpp
ndb/src/kernel/blocks/grep/Grep.hpp
+1
-14
ndb/src/kernel/blocks/grep/GrepInit.cpp
ndb/src/kernel/blocks/grep/GrepInit.cpp
+1
-1
ndb/src/mgmclient/CommandInterpreter.cpp
ndb/src/mgmclient/CommandInterpreter.cpp
+9
-1
ndb/src/mgmsrv/MgmtSrvr.cpp
ndb/src/mgmsrv/MgmtSrvr.cpp
+3
-1
ndb/src/mgmsrv/MgmtSrvr.hpp
ndb/src/mgmsrv/MgmtSrvr.hpp
+1
-1
ndb/src/mgmsrv/Services.cpp
ndb/src/mgmsrv/Services.cpp
+1
-1
ndb/src/ndbapi/NdbEventOperation.cpp
ndb/src/ndbapi/NdbEventOperation.cpp
+1
-1
ndb/src/ndbapi/NdbScanFilter.cpp
ndb/src/ndbapi/NdbScanFilter.cpp
+2
-1
ndb/src/ndbapi/TransporterFacade.hpp
ndb/src/ndbapi/TransporterFacade.hpp
+2
-0
ndb/test/ndbapi/testIndex.cpp
ndb/test/ndbapi/testIndex.cpp
+2
-0
No files found.
ndb/src/kernel/blocks/grep/Grep.hpp
View file @
63d25317
...
...
@@ -148,7 +148,7 @@ private:
*/
class
Grep
:
public
SimulatedBlock
//GrepParticipant
{
//
BLOCK_DEFINES(Grep);
BLOCK_DEFINES
(
Grep
);
public:
Grep
(
const
Configuration
&
conf
);
...
...
@@ -519,19 +519,6 @@ public:
typedef
void
(
Grep
::*
ExecSignalLocal1
)
(
Signal
*
signal
);
typedef
void
(
Grep
::
PSCoord
::*
ExecSignalLocal2
)
(
Signal
*
signal
);
typedef
void
(
Grep
::
PSPart
::*
ExecSignalLocal4
)
(
Signal
*
signal
);
void
addRecSignal
(
GlobalSignalNumber
gsn
,
ExecSignalLocal1
f
,
bool
force
=
false
){
addRecSignalImpl
(
gsn
,
(
ExecFunction
)
f
,
force
);
}
void
addRecSignal
(
GlobalSignalNumber
gsn
,
ExecSignalLocal2
f
,
bool
force
=
false
){
addRecSignalImpl
(
gsn
,
(
ExecFunction
)
f
,
force
);
}
void
addRecSignal
(
GlobalSignalNumber
gsn
,
ExecSignalLocal4
f
,
bool
force
=
false
){
addRecSignalImpl
(
gsn
,
(
ExecFunction
)
f
,
force
);
}
};
...
...
ndb/src/kernel/blocks/grep/GrepInit.cpp
View file @
63d25317
...
...
@@ -132,7 +132,7 @@ Grep::~Grep()
{
}
//
BLOCK_FUNCTIONS(Grep);
BLOCK_FUNCTIONS
(
Grep
);
Grep
::
PSPart
::
PSPart
(
Grep
*
sb
)
:
BlockComponent
(
sb
),
...
...
ndb/src/mgmclient/CommandInterpreter.cpp
View file @
63d25317
...
...
@@ -654,13 +654,21 @@ CommandInterpreter::executeShow(char* parameters)
api_nodes
=
0
,
mgm_nodes
=
0
;
for
(
i
=
0
;
i
<
state
->
no_of_nodes
;
i
++
)
{
if
(
state
->
node_states
[
i
].
node_type
==
NDB_MGM_NODE_TYPE_NDB
&&
state
->
node_states
[
i
].
version
!=
0
){
master_id
=
state
->
node_states
[
i
].
dynamic_id
;
break
;
}
}
for
(
i
=
0
;
i
<
state
->
no_of_nodes
;
i
++
)
{
switch
(
state
->
node_states
[
i
].
node_type
)
{
case
NDB_MGM_NODE_TYPE_API
:
api_nodes
++
;
break
;
case
NDB_MGM_NODE_TYPE_NDB
:
if
(
state
->
node_states
[
i
].
dynamic_id
>
master_id
)
if
(
state
->
node_states
[
i
].
dynamic_id
<
master_id
)
master_id
=
state
->
node_states
[
i
].
dynamic_id
;
ndb_nodes
++
;
break
;
...
...
ndb/src/mgmsrv/MgmtSrvr.cpp
View file @
63d25317
...
...
@@ -2304,7 +2304,7 @@ bool
MgmtSrvr
::
alloc_node_id
(
NodeId
*
nodeId
,
enum
ndb_mgm_node_type
type
,
struct
sockaddr
*
client_addr
,
socklen_t
*
client_addr_len
)
SOCKET_SIZE_TYPE
*
client_addr_len
)
{
Guard
g
(
&
f_node_id_mutex
);
#if 0
...
...
@@ -2885,4 +2885,6 @@ MgmtSrvr::setDbParameter(int node, int param, const char * value,
}
template
class
Vector
<
SigMatch
>;
#if __SUNPRO_CC != 0x560
template
bool
SignalQueue
::
waitFor
<
SigMatch
>(
Vector
<
SigMatch
>&
,
SigMatch
*&
,
NdbApiSignal
*&
,
unsigned
);
#endif
ndb/src/mgmsrv/MgmtSrvr.hpp
View file @
63d25317
...
...
@@ -467,7 +467,7 @@ public:
*/
bool
getNextNodeId
(
NodeId
*
_nodeId
,
enum
ndb_mgm_node_type
type
)
const
;
bool
alloc_node_id
(
NodeId
*
_nodeId
,
enum
ndb_mgm_node_type
type
,
struct
sockaddr
*
client_addr
,
socklen_t
*
client_addr_len
);
struct
sockaddr
*
client_addr
,
SOCKET_SIZE_TYPE
*
client_addr_len
);
/**
*
...
...
ndb/src/mgmsrv/Services.cpp
View file @
63d25317
...
...
@@ -402,7 +402,7 @@ MgmApiSession::get_nodeid(Parser_t::Context &,
}
struct
sockaddr
addr
;
socklen_t
addrlen
=
sizeof
(
addr
);
SOCKET_SIZE_TYPE
addrlen
=
sizeof
(
addr
);
int
r
=
getpeername
(
m_socket
,
&
addr
,
&
addrlen
);
if
(
r
!=
0
)
{
m_output
->
println
(
cmd
);
...
...
ndb/src/ndbapi/NdbEventOperation.cpp
View file @
63d25317
...
...
@@ -37,7 +37,7 @@
NdbEventOperation
::
NdbEventOperation
(
Ndb
*
theNdb
,
const
char
*
eventName
,
const
int
bufferLength
)
int
bufferLength
)
:
m_impl
(
*
new
NdbEventOperationImpl
(
*
this
,
theNdb
,
eventName
,
bufferLength
))
...
...
ndb/src/ndbapi/NdbScanFilter.cpp
View file @
63d25317
...
...
@@ -778,7 +778,8 @@ main(void){
#endif
template
class
Vector
<
NdbScanFilterImpl
::
State
>;
#if __SUNPRO_CC != 0x560
template
int
NdbScanFilterImpl
::
cond_col_const
(
Interpreter
::
BinaryCondition
,
Uint32
attrId
,
Uint32
);
template
int
NdbScanFilterImpl
::
cond_col_const
(
Interpreter
::
BinaryCondition
,
Uint32
attrId
,
Uint64
);
#endif
ndb/src/ndbapi/TransporterFacade.hpp
View file @
63d25317
...
...
@@ -161,7 +161,9 @@ private:
/**
* Block number handling
*/
public:
static
const
unsigned
MAX_NO_THREADS
=
4711
;
private:
struct
ThreadData
{
static
const
Uint32
ACTIVE
=
(
1
<<
16
)
|
1
;
...
...
ndb/test/ndbapi/testIndex.cpp
View file @
63d25317
...
...
@@ -386,6 +386,7 @@ sync_down(NDBT_Context* ctx){
if
(
threads
){
ctx
->
decProperty
(
"PauseThreads"
);
}
return
0
;
}
int
...
...
@@ -397,6 +398,7 @@ sync_up_and_wait(NDBT_Context* ctx){
if
(
threads
){
ndbout_c
(
"wait completed"
);
}
return
0
;
}
int
...
...
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