diff options
Diffstat (limited to 'ndb/src/common/util/NdbSqlUtil.cpp')
-rw-r--r-- | ndb/src/common/util/NdbSqlUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ndb/src/common/util/NdbSqlUtil.cpp b/ndb/src/common/util/NdbSqlUtil.cpp index 5b2381df50a..6798655a71a 100644 --- a/ndb/src/common/util/NdbSqlUtil.cpp +++ b/ndb/src/common/util/NdbSqlUtil.cpp @@ -410,7 +410,7 @@ NdbSqlUtil::cmpChar(const void* info, const Uint32* p1, const Uint32* p2, Uint32 CHARSET_INFO* cs = (CHARSET_INFO*)(info); // length in bytes including null padding to Uint32 uint l1 = (full << 2); - int k = (*cs->coll->strnncollsp)(cs, u1.v, l1, u2.v, l1); + int k = (*cs->coll->strnncollsp)(cs, u1.v, l1, u2.v, l1, 0); return k < 0 ? -1 : k > 0 ? +1 : 0; } @@ -559,7 +559,7 @@ NdbSqlUtil::cmpText(const void* info, const Uint32* p1, const Uint32* p2, Uint32 CHARSET_INFO* cs = (CHARSET_INFO*)(info); // length in bytes including null padding to Uint32 uint l1 = (full << 2); - int k = (*cs->coll->strnncollsp)(cs, u1.v, l1, u2.v, l1); + int k = (*cs->coll->strnncollsp)(cs, u1.v, l1, u2.v, l1,0); return k < 0 ? -1 : k > 0 ? +1 : 0; } return CmpUnknown; |