MySQL 5.6.14 Source Code Document
|
Classes | |
struct | fifo_element_st |
Public Member Functions | |
NdbOptimizeTableHandleImpl (NdbDictionary::OptimizeTableHandle &) | |
int | init (Ndb *ndb, const NdbTableImpl &table) |
int | next () |
int | close () |
Public Member Functions inherited from NdbDictionary::OptimizeTableHandle | |
OptimizeTableHandle () |
Static Public Member Functions | |
static NdbOptimizeTableHandleImpl & | getImpl (NdbDictionary::OptimizeTableHandle &h) |
Definition at line 340 of file NdbDictionaryImpl.hpp.
NdbOptimizeTableHandleImpl::NdbOptimizeTableHandleImpl | ( | NdbDictionary::OptimizeTableHandle & | f | ) |
Definition at line 1420 of file NdbDictionaryImpl.cpp.
int NdbOptimizeTableHandleImpl::close | ( | void | ) |
Close the handle object
Reimplemented from NdbDictionary::OptimizeTableHandle.
Definition at line 1668 of file NdbDictionaryImpl.cpp.
int NdbOptimizeTableHandleImpl::init | ( | Ndb * | ndb, |
const NdbTableImpl & | table | ||
) |
search whether there are var size columns in the table, in first step, we only optimize var part, then if the table has no var size columns, we do not do optimizing
Definition at line 1506 of file NdbDictionaryImpl.cpp.
int NdbOptimizeTableHandleImpl::next | ( | void | ) |
Optimize one more batch of records
Get update operation
optimize a tuple through doing the update first step, move varpart
nextResult(false) means that the records cached in the NDBAPI are modified before fetching more rows from NDB.
Commit when all cached tuple have been updated
Reimplemented from NdbDictionary::OptimizeTableHandle.
Definition at line 1566 of file NdbDictionaryImpl.cpp.