key_part_ptr.len(keyParts.get(i).length);
}
// the last key part needs to be initialized to (char *)null
key_part_ptr = key_part_ptrArray.at(keyPartsSize);
key_part_ptr.ptr(null);
key_part_ptr.len(0);
ndbTransaction = ndb.startTransaction(
table, key_part_ptrArray,
partitionKeyScratchBuffer, partitionKeyScratchBuffer.capacity());
handleError (ndbTransaction, ndb);
return ndbTransaction;