diff options
author | unknown <joreland@mysql.com> | 2004-11-02 13:58:22 +0100 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2004-11-02 13:58:22 +0100 |
commit | edca1f6a0c5481e1684d27ecdbad74dce80ce2ec (patch) | |
tree | fd9d57ade4c6255a1ddc913b81e548f93f20df52 /ndb | |
parent | 6a0ce3adbc776d5a62ffab636cc2a32c93c33e7e (diff) | |
download | mariadb-git-edca1f6a0c5481e1684d27ecdbad74dce80ce2ec.tar.gz |
build issue
Fix so that signed/unsigned char does not matter in comparision
ndb/src/ndbapi/NdbOperationExec.cpp:
Fix so that signed/unsigned char does not matter in comparision
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/ndbapi/NdbOperationExec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ndb/src/ndbapi/NdbOperationExec.cpp b/ndb/src/ndbapi/NdbOperationExec.cpp index fa46e93a57f..6d7a3817e04 100644 --- a/ndb/src/ndbapi/NdbOperationExec.cpp +++ b/ndb/src/ndbapi/NdbOperationExec.cpp @@ -192,7 +192,7 @@ NdbOperation::prepareSend(Uint32 aTC_ConnectPtr, Uint64 aTransId) OperationType tOperationType = theOperationType; Uint32 tTupKeyLen = theTupKeyLen; Uint8 abortOption = - m_abortOption != -1 ? m_abortOption : theNdbCon->m_abortOption; + m_abortOption != (Int8)-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 != -1 ? m_abortOption : theNdbCon->m_abortOption); + (m_abortOption != (Int8)-1 ? m_abortOption : theNdbCon->m_abortOption); theReceiver.m_received_result_length = ~0; theStatus = Finished; |