| 
    MySQL 5.6.14 Source Code Document
    
   | 
 


Public Member Functions | |
| BackupRestore (const char *ndb_connectstring, int ndb_nodeid, NODE_GROUP_MAP *ng_map, uint ng_map_len, Uint32 parallelism=1) | |
| virtual bool | init (Uint32 tableChangesMask) | 
| virtual void | release () | 
| virtual bool | object (Uint32 type, const void *ptr) | 
| virtual bool | table (const TableS &) | 
| virtual bool | endOfTables () | 
| virtual void | tuple (const TupleS &, Uint32 fragId) | 
| virtual void | tuple_free () | 
| virtual void | tuple_a (restore_callback_t *cb) | 
| virtual void | tuple_SYSTAB_0 (restore_callback_t *cb, const TableS &) | 
| virtual int | restoreAutoIncrement (restore_callback_t *cb, Uint32 tableId, Uint64 value) | 
| virtual void | cback (int result, restore_callback_t *cb) | 
| virtual bool | errorHandler (restore_callback_t *cb) | 
| virtual void | exitHandler () | 
| virtual void | endOfTuples () | 
| virtual void | logEntry (const LogEntry &) | 
| virtual void | endOfLogEntrys () | 
| virtual bool | finalize_table (const TableS &) | 
| virtual bool | rebuild_indexes (const TableS &) | 
| virtual bool | has_temp_error () | 
| virtual bool | createSystable (const TableS &table) | 
| virtual bool | table_compatible_check (const TableS &tableS) | 
| virtual bool | column_compatible_check (const char *tableName, const NDBCOL *backupCol, const NDBCOL *dbCol) | 
| virtual bool | update_apply_status (const RestoreMetaData &metaData) | 
| virtual bool | report_started (unsigned node_id, unsigned backup_id) | 
| virtual bool | report_meta_data (unsigned node_id, unsigned backup_id) | 
| virtual bool | report_data (unsigned node_id, unsigned backup_id) | 
| virtual bool | report_log (unsigned node_id, unsigned backup_id) | 
| virtual bool | report_completed (unsigned node_id, unsigned backup_id) | 
| void | connectToMysql () | 
| bool | map_in_frm (char *new_data, const char *data, uint data_len, uint *new_data_len) | 
| bool | search_replace (char *search_str, char **new_data, const char **data, const char *end_data, uint *new_data_len) | 
| bool | map_nodegroups (Uint32 *ng_array, Uint32 no_parts) | 
| Uint32 | map_ng (Uint32 ng) | 
| bool | translate_frm (NdbDictionary::Table *table) | 
| AttrCheckCompatFunc | get_attr_check_compatability (const NDBCOL::Type &old_type, const NDBCOL::Type &new_type) | 
| AttrConvertFunc | get_convert_func (const NDBCOL::Type &old_type, const NDBCOL::Type &new_type) | 
| const NdbDictionary::Table * | get_table (const NdbDictionary::Table *) | 
  Public Member Functions inherited from BackupConsumer | |
| virtual bool | table_equal (const TableS &) | 
Static Public Member Functions | |
| static AttrConvType | check_compat_sizes (const NDBCOL &old_col, const NDBCOL &new_col) | 
| static AttrConvType | check_compat_promotion (const NDBCOL &old_col, const NDBCOL &new_col) | 
| static AttrConvType | check_compat_lossy (const NDBCOL &old_col, const NDBCOL &new_col) | 
| static void * | convert_bitset (const void *source, void *target, bool &truncated) | 
| template<typename S , typename T > | |
| static void * | convert_array (const void *source, void *target, bool &truncated) | 
| template<typename T , typename S > | |
| static void * | convert_integral (const void *source, void *target, bool &truncated) | 
Public Attributes | |
| Ndb * | m_ndb | 
| Ndb_cluster_connection * | m_cluster_connection | 
| const char * | m_ndb_connectstring | 
| int | m_ndb_nodeid | 
| bool | m_restore | 
| bool | m_restore_meta | 
| bool | m_no_restore_disk | 
| bool | m_restore_epoch | 
| bool | m_no_upgrade | 
| bool | m_disable_indexes | 
| bool | m_rebuild_indexes | 
| Uint32 | m_tableChangesMask | 
| Uint32 | m_n_tablespace | 
| Uint32 | m_n_logfilegroup | 
| Uint32 | m_n_datafile | 
| Uint32 | m_n_undofile | 
| Uint32 | m_n_tables | 
| Uint64 | m_logBytes | 
| Uint64 | m_dataBytes | 
| Uint32 | m_logCount | 
| Uint32 | m_dataCount | 
| Uint32 | m_parallelism | 
| volatile Uint32 | m_transactions | 
| restore_callback_t * | m_callback | 
| restore_callback_t * | m_free_callback | 
| bool | m_temp_error | 
| Vector< const  NdbDictionary::Table * >  | m_new_tables | 
| struct { | |
| const NdbDictionary::Table * m_old_table | |
| const NdbDictionary::Table * m_new_table | |
| } | m_cache | 
| 
Vector< const  NdbDictionary::Table * >  | m_indexes | 
| 
Vector< Vector < NdbDictionary::Index * > >  | m_index_per_table | 
| 
Vector < NdbDictionary::Tablespace * >  | m_tablespaces | 
| 
Vector < NdbDictionary::LogfileGroup * >  | m_logfilegroups | 
| Vector< NdbDictionary::HashMap * > | m_hashmaps | 
  Public Attributes inherited from BackupConsumer | |
| NODE_GROUP_MAP * | m_nodegroup_map | 
| uint | m_nodegroup_map_len | 
Static Public Attributes | |
| static bool | m_preserve_trailing_spaces = false | 
| static const PromotionRules | m_allowed_promotion_attrs [] | 
Definition at line 53 of file consumer_restore.hpp.
      
  | 
  virtual | 
Error. temporary or permanent?
OK! close transaction
Definition at line 2345 of file consumer_restore.cpp.

      
  | 
  virtual | 
returns true if is recoverable, Error handling based on hugo false if it is an error that generates an abort.
Definition at line 2381 of file consumer_restore.cpp.


      
  | 
  virtual | 
Ignore blob tables
Force of varpart was introduced in 5.1.18, telco 6.1.7 and 6.2.1 Since default from mysqld is to add force of varpart (disable with ROW_FORMAT=FIXED) we force varpart onto tables when they are restored from backups taken with older versions. This will be wrong if ROW_FORMAT=FIXED was used on original table, however the likelyhood of this is low, since ROW_FORMAT= was a NOOP in older versions.
Reimplemented from BackupConsumer.
Definition at line 1783 of file consumer_restore.cpp.

      
  | 
  virtual | 
Ignore blob tables
remap column(s) based on column-names
only nullable or defaulted non primary key columns can be missing from backup
Reimplemented from BackupConsumer.
Definition at line 1532 of file consumer_restore.cpp.

      
  | 
  virtual | 
start transactions
Definition at line 2112 of file consumer_restore.cpp.


      
  | 
  virtual | 
Bug::XXX, stopGCP is not really stop GCP, but stopGCP - 1
Backup contains all epochs with those top bits, so we indicate that with max setting
Reimplemented from BackupConsumer.
Definition at line 1193 of file consumer_restore.cpp.

| Vector<const NdbDictionary::Table*> BackupRestore::m_new_tables | 
m_new_table_ids[X] = Y; X - old table id Y != 0 - new table
Definition at line 204 of file consumer_restore.hpp.