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
8b32c7ef
Commit
8b32c7ef
authored
Aug 09, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql-test ndb_index_unique
parent
e7d89abf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
+1
-0
ndb/src/mgmsrv/main.cpp
ndb/src/mgmsrv/main.cpp
+2
-4
ndb/tools/waiter.cpp
ndb/tools/waiter.cpp
+4
-4
No files found.
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
View file @
8b32c7ef
...
@@ -5004,6 +5004,7 @@ void Dbtc::execLQHKEYREF(Signal* signal)
...
@@ -5004,6 +5004,7 @@ void Dbtc::execLQHKEYREF(Signal* signal)
setApiConTimer
(
apiConnectptr
.
i
,
ctcTimer
,
__LINE__
);
setApiConTimer
(
apiConnectptr
.
i
,
ctcTimer
,
__LINE__
);
if
(
isIndexOp
)
{
if
(
isIndexOp
)
{
jam
();
jam
();
regApiPtr
->
lqhkeyreqrec
--
;
// Compensate for extra during read
tcKeyRef
->
connectPtr
=
indexOp
;
tcKeyRef
->
connectPtr
=
indexOp
;
EXECUTE_DIRECT
(
DBTC
,
GSN_TCKEYREF
,
signal
,
TcKeyRef
::
SignalLength
);
EXECUTE_DIRECT
(
DBTC
,
GSN_TCKEYREF
,
signal
,
TcKeyRef
::
SignalLength
);
}
else
{
}
else
{
...
...
ndb/src/mgmsrv/main.cpp
View file @
8b32c7ef
...
@@ -312,12 +312,10 @@ static bool
...
@@ -312,12 +312,10 @@ static bool
readLocalConfig
(){
readLocalConfig
(){
// Read local config file
// Read local config file
LocalConfig
lc
;
LocalConfig
lc
;
int
nodeid
=
lc
.
init
(
glob
.
local_config_filename
);
if
(
!
lc
.
init
(
glob
.
local_config_filename
))
if
(
nodeid
==
-
1
){
return
false
;
return
false
;
}
glob
.
localNodeId
=
nodei
d
;
glob
.
localNodeId
=
lc
.
_ownNodeI
d
;
return
true
;
return
true
;
}
}
...
...
ndb/tools/waiter.cpp
View file @
8b32c7ef
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include <NdbSleep.h>
#include <NdbSleep.h>
#include <getarg.h>
#include <getarg.h>
#include <kernel/ndb_limits.h>
#include <kernel/ndb_limits.h>
#include "../
src/common
/mgmcommon/LocalConfig.hpp"
#include "../
include
/mgmcommon/LocalConfig.hpp"
#include <NDBT.hpp>
#include <NDBT.hpp>
...
@@ -67,13 +67,13 @@ int main(int argc, const char** argv){
...
@@ -67,13 +67,13 @@ int main(int argc, const char** argv){
return
NDBT_ProgramExit
(
NDBT_FAILED
);
return
NDBT_ProgramExit
(
NDBT_FAILED
);
}
}
for
(
int
i
=
0
;
i
<
lcfg
.
i
tems
;
i
++
)
for
(
int
i
=
0
;
i
<
lcfg
.
i
ds
.
size
();
i
++
)
{
{
MgmtSrvrId
*
m
=
lcfg
.
ids
[
i
];
MgmtSrvrId
*
m
=
&
lcfg
.
ids
[
i
];
switch
(
m
->
type
){
switch
(
m
->
type
){
case
MgmId_TCP
:
case
MgmId_TCP
:
snprintf
(
buf
,
255
,
"%s:%d"
,
m
->
data
.
tcp
.
remoteHost
,
m
->
data
.
tcp
.
port
);
snprintf
(
buf
,
255
,
"%s:%d"
,
m
->
name
.
c_str
(),
m
->
port
);
_hostName
=
buf
;
_hostName
=
buf
;
break
;
break
;
case
MgmId_File
:
case
MgmId_File
:
...
...
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