~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/handler/ha_innodb.h

  • Committer: Brian Aker
  • Date: 2010-10-22 23:33:58 UTC
  • mfrom: (1869.1.7 refactor)
  • Revision ID: brian@tangent.org-20101022233358-kmtrpm1yvmmyaame
Merge in overhaul to how cursor and table are handled. Cursor now only knows
about table, and will always have a table and engine reference.

This cleans up a number of ownership issues, the biggest being that it now
creates the space needed for the next big refactor in locks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
        /* Init values for the class: */
108
108
 public:
109
109
        UNIV_INTERN ha_innobase(plugin::StorageEngine &engine,
110
 
                                TableShare &table_arg);
 
110
                                Table &table_arg);
111
111
        UNIV_INTERN ~ha_innobase();
112
112
  /**
113
113
   * Returns the plugin::TransactionStorageEngine pointer
119
119
   */
120
120
  UNIV_INTERN plugin::TransactionalStorageEngine *getTransactionalEngine()
121
121
  {
122
 
    return static_cast<plugin::TransactionalStorageEngine *>(engine);
 
122
    return static_cast<plugin::TransactionalStorageEngine *>(getEngine());
123
123
  }
124
124
 
125
125
        UNIV_INTERN const char* index_type(uint key_number);