MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
UtilTransactions (const NdbDictionary::Table &, const NdbDictionary::Index *idx=0) | |
UtilTransactions (Ndb *ndb, const char *tableName, const char *indexName=0) | |
int | closeTransaction (Ndb *) |
int | clearTable (Ndb *, NdbScanOperation::ScanFlag, int records=0, int parallelism=0) |
int | clearTable (Ndb *, int records=0, int parallelism=0) |
int | clearTable1 (Ndb *, int records=0, int parallelism=0) |
int | clearTable2 (Ndb *, int records=0, int parallelism=0) |
int | clearTable3 (Ndb *, int records=0, int parallelism=0) |
int | selectCount (Ndb *, int parallelism=0, int *count_rows=NULL, NdbOperation::LockMode lm=NdbOperation::LM_CommittedRead) |
int | scanReadRecords (Ndb *, int parallelism, NdbOperation::LockMode lm, int records, int noAttribs, int *attrib_list, ReadCallBackFn *fn=NULL) |
int | verifyIndex (Ndb *, const char *indexName, int parallelism=0, bool transactional=false) |
int | copyTableData (Ndb *, const char *destName) |
int | compare (Ndb *, const char *other_table, int flags) |
Protected Member Functions | |
NdbOperation * | getOperation (NdbConnection *, NdbOperation::OperationType) |
NdbScanOperation * | getScanOperation (NdbConnection *) |
Protected Attributes | |
int | m_defaultClearMethod |
const NdbDictionary::Table & | tab |
const NdbDictionary::Index * | idx |
NdbConnection * | pTrans |
Definition at line 26 of file UtilTransactions.hpp.
int UtilTransactions::compare | ( | Ndb * | pNdb, |
const char * | other_table, | ||
int | flags | ||
) |
Compare this table with other_table
return 0 - on equality -1 - on error >0 - otherwise
Definition at line 1333 of file UtilTransactions.cpp.