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
ce81e2b0
Commit
ce81e2b0
authored
Mar 13, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/51-new
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
parents
d39e9204
ee7ffddf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+9
-7
storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
+1
-1
No files found.
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
ce81e2b0
...
...
@@ -119,10 +119,10 @@ operator<<(NdbOut& out, Dblqh::ScanRecord::ScanType state){
const
Uint32
NR_ScanNo
=
0
;
#if defined VM_TRACE || defined ERROR_INSERT || defined NDBD_TRACENR
static
FileOutputStream
tracenr_fos
(
fopen
(
"tracenr.log"
,
"w+"
));
NdbOut
tracenrout
(
tracenr_fos
)
;
#include <NdbConfig.h>
NdbOut
*
tracenrout
=
0
;
static
int
TRACENR_FLAG
=
0
;
#define TRACENR(x)
tracenrout
<< x
#define TRACENR(x)
(* tracenrout)
<< x
#define SET_TRACENR_FLAG TRACENR_FLAG = 1
#define CLEAR_TRACENR_FLAG TRACENR_FLAG = 0
#else
...
...
@@ -446,6 +446,12 @@ void Dblqh::execSTTOR(Signal* signal)
c_acc
=
(
Dbacc
*
)
globalData
.
getBlock
(
DBACC
);
ndbrequire
(
c_tup
!=
0
&&
c_acc
!=
0
);
sendsttorryLab
(
signal
);
#if defined VM_TRACE || defined ERROR_INSERT || defined NDBD_TRACENR
char
*
name
=
NdbConfig_SignalLogFileName
(
getOwnNodeId
());
tracenrout
=
new
NdbOut
(
*
new
FileOutputStream
(
fopen
(
name
,
"w+"
)));
#endif
return
;
break
;
case
4
:
...
...
@@ -6704,10 +6710,6 @@ void Dblqh::execACCKEYREF(Signal* signal)
*
* -> ZNO_TUPLE_FOUND is possible
*/
ndbrequire
(
tcPtr
->
operation
==
ZREAD
||
tcPtr
->
operation
==
ZREAD_EX
||
tcPtr
->
seqNoReplica
==
0
);
ndbrequire
(
tcPtr
->
seqNoReplica
==
0
||
errCode
!=
ZTUPLE_ALREADY_EXIST
||
...
...
storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
View file @
ce81e2b0
...
...
@@ -280,7 +280,7 @@ Dbtup::scanReply(Signal* signal, ScanOpPtr scanPtr)
const
ScanPos
&
pos
=
scan
.
m_scanPos
;
const
Local_key
&
key_mm
=
pos
.
m_key_mm
;
int
ret
=
tuxReadPk
(
fragPtr
.
i
,
pos
.
m_realpid_mm
,
key_mm
.
m_page_idx
,
pkData
,
fals
e
);
pkData
,
tru
e
);
ndbrequire
(
ret
>
0
);
pkSize
=
ret
;
dbg
((
DBTUP
,
"PK size=%d data=%08x"
,
pkSize
,
pkData
[
0
]));
...
...
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