portability fix

This commit is contained in:
tomas@mc05.(none) 2004-05-13 15:58:28 +02:00
parent dff56fc7b4
commit 0d307d344b

View file

@ -826,7 +826,7 @@ Ndb::opTupleIdOnNdb(Uint32 aTableId, Uint64 opValue, Uint32 op)
tOperation->interpretedUpdateTuple(); tOperation->interpretedUpdateTuple();
tOperation->equal("SYSKEY_0", aTableId ); tOperation->equal("SYSKEY_0", aTableId );
{ {
#ifdef NDB_SOLARIS #ifdef WORDS_BIGENDIAN
Uint64 cacheSize64 = opValue; // XXX interpreter bug on Uint32 Uint64 cacheSize64 = opValue; // XXX interpreter bug on Uint32
tOperation->incValue("NEXTID", cacheSize64); tOperation->incValue("NEXTID", cacheSize64);
#else #else