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
08618e97
Commit
08618e97
authored
Nov 02, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure that Int8(16,32,64) is signed
Better fix for previous build issue
parent
6e6f610f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
ndb/include/ndb_types.h
ndb/include/ndb_types.h
+5
-5
ndb/src/ndbapi/NdbOperationExec.cpp
ndb/src/ndbapi/NdbOperationExec.cpp
+2
-2
No files found.
ndb/include/ndb_types.h
View file @
08618e97
...
...
@@ -21,11 +21,11 @@
#ifndef NDB_TYPES_H
#define NDB_TYPES_H
typedef
char
Int8
;
typedef
signed
char
Int8
;
typedef
unsigned
char
Uint8
;
typedef
short
Int16
;
typedef
signed
short
Int16
;
typedef
unsigned
short
Uint16
;
typedef
int
Int32
;
typedef
signed
int
Int32
;
typedef
unsigned
int
Uint32
;
typedef
unsigned
int
UintR
;
...
...
@@ -45,10 +45,10 @@ typedef uintptr_t UintPtr;
#if defined(WIN32) || defined(NDB_WIN32)
typedef
unsigned
__int64
Uint64
;
typedef
__int64
Int64
;
typedef
signed
__int64
Int64
;
#else
typedef
unsigned
long
long
Uint64
;
typedef
long
long
Int64
;
typedef
signed
long
long
Int64
;
#endif
#endif
ndb/src/ndbapi/NdbOperationExec.cpp
View file @
08618e97
...
...
@@ -192,7 +192,7 @@ NdbOperation::prepareSend(Uint32 aTC_ConnectPtr, Uint64 aTransId)
OperationType
tOperationType
=
theOperationType
;
Uint32
tTupKeyLen
=
theTupKeyLen
;
Uint8
abortOption
=
m_abortOption
!=
(
Int8
)
-
1
?
m_abortOption
:
theNdbCon
->
m_abortOption
;
m_abortOption
!=
-
1
?
m_abortOption
:
theNdbCon
->
m_abortOption
;
tcKeyReq
->
setDirtyFlag
(
tReqInfo
,
tDirtyIndicator
);
tcKeyReq
->
setOperationType
(
tReqInfo
,
tOperationType
);
...
...
@@ -543,7 +543,7 @@ NdbOperation::receiveTCKEYREF( NdbApiSignal* aSignal)
}
//if
AbortOption
ao
=
(
AbortOption
)
(
m_abortOption
!=
(
Int8
)
-
1
?
m_abortOption
:
theNdbCon
->
m_abortOption
);
(
m_abortOption
!=
-
1
?
m_abortOption
:
theNdbCon
->
m_abortOption
);
theReceiver
.
m_received_result_length
=
~
0
;
theStatus
=
Finished
;
...
...
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