~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/src/ha_pbxt.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:
80
80
        /* override */ int close_connection(Session *);
81
81
        /* override */ int commit(Session *, bool);
82
82
        /* override */ int rollback(Session *, bool);
83
 
        /* override */ Cursor *create(TableShare&);
 
83
        /* override */ Cursor *create(Table&);
84
84
        /* override */ void drop_database(char *);
85
85
        /* override */ bool show_status(Session *, stat_print_fn *, enum ha_stat_type);
86
86
        /* override */ const char **bas_ext() const;
174
174
        THD                                     *pb_mysql_thd;                  /* A pointer to the MySQL thread. */
175
175
        xtBool                          pb_in_stat;                             /* TRUE of start_stmt() was issued */
176
176
 
177
 
        ha_pbxt(plugin::StorageEngine &engine_arg, TableShare &table_arg);
 
177
        ha_pbxt(plugin::StorageEngine &engine_arg, Table &table_arg);
178
178
        virtual ~ha_pbxt() { }
179
179
 
180
180
        /* The name that will be used for display purposes */