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
66f9769a
Commit
66f9769a
authored
Jul 15, 2004
by
magnus@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the remains of SCAN_TABINFO signal
parent
496ad0c3
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1 addition
and
126 deletions
+1
-126
ndb/include/kernel/GlobalSignalNumbers.h
ndb/include/kernel/GlobalSignalNumbers.h
+1
-1
ndb/include/kernel/signaldata/ScanTab.hpp
ndb/include/kernel/signaldata/ScanTab.hpp
+0
-70
ndb/src/common/debugger/signaldata/ScanTab.cpp
ndb/src/common/debugger/signaldata/ScanTab.cpp
+0
-19
ndb/src/common/debugger/signaldata/SignalNames.cpp
ndb/src/common/debugger/signaldata/SignalNames.cpp
+0
-1
ndb/src/ndbapi/NdbApiSignal.cpp
ndb/src/ndbapi/NdbApiSignal.cpp
+0
-21
ndb/src/ndbapi/NdbConnectionScan.cpp
ndb/src/ndbapi/NdbConnectionScan.cpp
+0
-5
ndb/src/ndbapi/NdbScanOperation.cpp
ndb/src/ndbapi/NdbScanOperation.cpp
+0
-5
ndb/src/ndbapi/Ndbif.cpp
ndb/src/ndbapi/Ndbif.cpp
+0
-4
No files found.
ndb/include/kernel/GlobalSignalNumbers.h
View file @
66f9769a
...
...
@@ -84,7 +84,7 @@ extern const GlobalSignalNumber NO_OF_SIGNAL_NAMES;
#define GSN_SCAN_NEXTREQ 28
#define GSN_SCAN_TABCONF 29
#define GSN_SCAN_TABINFO 30
// 30 unused
#define GSN_SCAN_TABREF 31
#define GSN_SCAN_TABREQ 32
#define GSN_KEYINFO20 33
...
...
ndb/include/kernel/signaldata/ScanTab.hpp
View file @
66f9769a
...
...
@@ -271,76 +271,6 @@ private:
#define STATUS_SHIFT (8)
#define STATUS_MASK (0xFF)
/**
*
* SENDER: Dbtc, API
* RECIVER: API, Dbtc
*/
class
ScanTabInfo
{
/**
* Reciver(s) and Sender(s)
*/
friend
class
NdbConnection
;
friend
class
Dbtc
;
/**
* For printing
*/
friend
bool
printSCANTABINFO
(
FILE
*
output
,
const
Uint32
*
theData
,
Uint32
len
,
Uint16
receiverBlockNo
);
public:
/**
* Length of signal
*/
STATIC_CONST
(
SignalLength
=
17
);
private:
// Type definitions
/**
* DATA VARIABLES
*/
UintR
apiConnectPtr
;
// DATA 0
UintR
operLenAndIdx
[
16
];
// DATA 1-16
/**
* Get:ers for operLenAndIdx
*/
static
Uint32
getLen
(
const
UintR
&
operLenAndIdx
);
static
Uint8
getIdx
(
const
UintR
&
operLenAndIdx
);
};
/**
* Operation length and index
*
l = Length of operation - 24 Bits -> Max 16777215 (Bit 0-24)
i = Index of operation - 7 Bits -> Max 255 (Bit 25-32)
1111111111222222222233
01234567890123456789012345678901
llllllllllllllllllllllllliiiiiii
*/
#define LENGTH_SHIFT (0)
#define LENGTH_MASK (0xFFFFFF)
#define INDEX_SHIFT (24)
#define INDEX_MASK (0xFF)
inline
Uint32
ScanTabInfo
::
getLen
(
const
UintR
&
operLenAndIdx
){
return
(
Uint32
)((
operLenAndIdx
>>
LENGTH_SHIFT
)
&
LENGTH_MASK
);
}
inline
Uint8
ScanTabInfo
::
getIdx
(
const
UintR
&
operLenAndIdx
){
return
(
Uint8
)((
operLenAndIdx
>>
INDEX_SHIFT
)
&
INDEX_MASK
);
}
/**
*
...
...
ndb/src/common/debugger/signaldata/ScanTab.cpp
View file @
66f9769a
...
...
@@ -99,25 +99,6 @@ printSCANTABCONF(FILE * output, const Uint32 * theData, Uint32 len, Uint16 recei
return
false
;
}
bool
printSCANTABINFO
(
FILE
*
output
,
const
Uint32
*
theData
,
Uint32
len
,
Uint16
receiverBlockNo
){
const
ScanTabInfo
*
const
sig
=
(
ScanTabInfo
*
)
theData
;
fprintf
(
output
,
" apiConnectPtr: H
\'
%.8x
\n
"
,
sig
->
apiConnectPtr
);
fprintf
(
output
,
" Operation(s):
\n
"
);
for
(
int
i
=
0
;
i
<
16
;
i
++
){
fprintf
(
output
,
" [%.2u]ix=%d l=%.2d,"
,
i
,
sig
->
getIdx
(
sig
->
operLenAndIdx
[
i
]),
sig
->
getLen
(
sig
->
operLenAndIdx
[
i
]));
if
(((
i
+
1
)
%
4
)
==
0
)
fprintf
(
output
,
"
\n
"
);
}
return
false
;
}
bool
printSCANTABREF
(
FILE
*
output
,
const
Uint32
*
theData
,
Uint32
len
,
Uint16
receiverBlockNo
){
...
...
ndb/src/common/debugger/signaldata/SignalNames.cpp
View file @
66f9769a
...
...
@@ -32,7 +32,6 @@ const GsnName SignalNames [] = {
,{
GSN_READCONF
,
"READCONF"
}
,{
GSN_SCAN_NEXTREQ
,
"SCAN_NEXTREQ"
}
,{
GSN_SCAN_TABCONF
,
"SCAN_TABCONF"
}
,{
GSN_SCAN_TABINFO
,
"SCAN_TABINFO"
}
,{
GSN_SCAN_TABREF
,
"SCAN_TABREF"
}
,{
GSN_SCAN_TABREQ
,
"SCAN_TABREQ"
}
,{
GSN_TC_COMMITCONF
,
"TC_COMMITCONF"
}
...
...
ndb/src/ndbapi/NdbApiSignal.cpp
View file @
66f9769a
...
...
@@ -15,18 +15,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
/******************************************************************************
Name: NdbApiSignal.C
Include:
Link:
Author: UABMNST Mona Natterkvist UAB/B/SD
Date: 970829
Version: 0.1
Description: Interface between TIS and NDB
Documentation:
Adjust: 971114 UABMNST First version.
000705 QABANAB Update of Protocol2
******************************************************************************/
#include "API.hpp"
#include "NdbApiSignal.hpp"
...
...
@@ -193,15 +181,6 @@ NdbApiSignal::setSignal(int aNdbSignalType)
}
break
;
case
GSN_SCAN_TABINFO
:
{
theTrace
=
TestOrd
::
TraceAPI
;
theReceiversBlockNumber
=
DBTC
;
theVerId_signalNumber
=
GSN_SCAN_TABINFO
;
theLength
=
17
;
}
break
;
case
GSN_SCAN_NEXTREQ
:
{
theTrace
=
TestOrd
::
TraceAPI
;
...
...
ndb/src/ndbapi/NdbConnectionScan.cpp
View file @
66f9769a
...
...
@@ -43,11 +43,6 @@
#include <NdbOut.hpp>
// time out for next scan result (-1 is infinite)
// XXX should change default only if non-trivial interpreted program is used
#define WAITFOR_SCAN_TIMEOUT 120000
/***************************************************************************
* int receiveSCAN_TABREF(NdbApiSignal* aSignal)
...
...
ndb/src/ndbapi/NdbScanOperation.cpp
View file @
66f9769a
...
...
@@ -470,11 +470,6 @@ int NdbScanOperation::nextResult(bool fetchAllowed)
if
(
DEBUG_NEXT_RESULT
)
ndbout_c
(
"nextResult(%d) idx=%d last=%d"
,
fetchAllowed
,
idx
,
last
);
if
(
DEBUG_NEXT_RESULT
)
ndbout_c
(
"nextResult(%d) idx=%d last=%d"
,
fetchAllowed
,
idx
,
last
);
/**
* Check next buckets
*/
...
...
ndb/src/ndbapi/Ndbif.cpp
View file @
66f9769a
...
...
@@ -728,10 +728,6 @@ Ndb::handleReceivedSignal(NdbApiSignal* aSignal, LinearSectionPtr ptr[3])
}
goto
InvalidSignal
;
}
case
GSN_SCAN_TABINFO
:
{
goto
InvalidSignal
;
}
case
GSN_KEYINFO20
:
{
tFirstDataPtr
=
int2void
(
tFirstData
);
if
(
tFirstDataPtr
==
0
)
goto
InvalidSignal
;
...
...
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