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
a88b7c89
Commit
a88b7c89
authored
Dec 03, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jonas/src/mysql-4.1-fix
into mysql.com:/home/jonas/src/mysql-5.0
parents
835cf0f1
a6c814e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+14
-8
No files found.
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
a88b7c89
...
@@ -7278,6 +7278,8 @@ void Dblqh::closeScanRequestLab(Signal* signal)
...
@@ -7278,6 +7278,8 @@ void Dblqh::closeScanRequestLab(Signal* signal)
scanptr
.
p
->
m_curr_batch_size_rows
=
0
;
scanptr
.
p
->
m_curr_batch_size_rows
=
0
;
scanptr
.
p
->
m_curr_batch_size_bytes
=
0
;
scanptr
.
p
->
m_curr_batch_size_bytes
=
0
;
sendScanFragConf
(
signal
,
ZTRUE
);
sendScanFragConf
(
signal
,
ZTRUE
);
abort_scan
(
signal
,
scanptr
.
i
,
0
);
return
;
break
;
break
;
case
TcConnectionrec
:
:
SCAN_TUPKEY
:
case
TcConnectionrec
:
:
SCAN_TUPKEY
:
case
TcConnectionrec
:
:
SCAN_FIRST_STOPPED
:
case
TcConnectionrec
:
:
SCAN_FIRST_STOPPED
:
...
@@ -7668,6 +7670,9 @@ void Dblqh::abort_scan(Signal* signal, Uint32 scan_ptr_i, Uint32 errcode){
...
@@ -7668,6 +7670,9 @@ void Dblqh::abort_scan(Signal* signal, Uint32 scan_ptr_i, Uint32 errcode){
tcConnectptr
.
p
->
transactionState
=
TcConnectionrec
::
IDLE
;
tcConnectptr
.
p
->
transactionState
=
TcConnectionrec
::
IDLE
;
tcConnectptr
.
p
->
abortState
=
TcConnectionrec
::
ABORT_ACTIVE
;
tcConnectptr
.
p
->
abortState
=
TcConnectionrec
::
ABORT_ACTIVE
;
if
(
errcode
)
{
jam
();
ScanFragRef
*
ref
=
(
ScanFragRef
*
)
&
signal
->
theData
[
0
];
ScanFragRef
*
ref
=
(
ScanFragRef
*
)
&
signal
->
theData
[
0
];
ref
->
senderData
=
tcConnectptr
.
p
->
clientConnectrec
;
ref
->
senderData
=
tcConnectptr
.
p
->
clientConnectrec
;
ref
->
transId1
=
tcConnectptr
.
p
->
transid
[
0
];
ref
->
transId1
=
tcConnectptr
.
p
->
transid
[
0
];
...
@@ -7675,6 +7680,7 @@ void Dblqh::abort_scan(Signal* signal, Uint32 scan_ptr_i, Uint32 errcode){
...
@@ -7675,6 +7680,7 @@ void Dblqh::abort_scan(Signal* signal, Uint32 scan_ptr_i, Uint32 errcode){
ref
->
errorCode
=
errcode
;
ref
->
errorCode
=
errcode
;
sendSignal
(
tcConnectptr
.
p
->
clientBlockref
,
GSN_SCAN_FRAGREF
,
signal
,
sendSignal
(
tcConnectptr
.
p
->
clientBlockref
,
GSN_SCAN_FRAGREF
,
signal
,
ScanFragRef
::
SignalLength
,
JBB
);
ScanFragRef
::
SignalLength
,
JBB
);
}
deleteTransidHash
(
signal
);
deleteTransidHash
(
signal
);
releaseOprec
(
signal
);
releaseOprec
(
signal
);
releaseTcrec
(
signal
,
tcConnectptr
);
releaseTcrec
(
signal
,
tcConnectptr
);
...
...
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