~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.h

  • Committer: brian
  • Date: 2009-11-11 19:42:27 UTC
  • mfrom: (1211 staging)
  • mto: (1211.1.4 staging)
  • mto: This revision was merged to the branch mainline in revision 1212.
  • Revision ID: brian@orisndriz04-20091111194227-mky4am3ym0dlosaa
Update for Cursor renaming.

Show diffs side-by-side

added added

removed removed

Lines of Context:
236
236
  */
237
237
  Discrete_interval auto_inc_interval_for_cur_row;
238
238
 
239
 
  Cursor(drizzled::plugin::StorageEngine *engine_arg, TableShare *share_arg)
240
 
    :table_share(share_arg), table(0),
241
 
    estimation_rows_to_insert(0), engine(engine_arg),
 
239
  Cursor(drizzled::plugin::StorageEngine &engine_arg, TableShare &share_arg)
 
240
    :table_share(&share_arg), table(0),
 
241
    estimation_rows_to_insert(0), engine(&engine_arg),
242
242
    ref(0), in_range_check_pushed_down(false),
243
243
    key_used_on_scan(MAX_KEY), active_index(MAX_KEY),
244
244
    ref_length(sizeof(my_off_t)),
911
911
bool mysql_delete(Session *session, TableList *table_list, COND *conds,
912
912
                  SQL_LIST *order, ha_rows rows, uint64_t options,
913
913
                  bool reset_auto_increment);
914
 
bool mysql_truncate(Session& session, TableList *table_list, bool dont_send_ok);
 
914
bool mysql_truncate(Session& session, TableList *table_list);
915
915
TableShare *get_table_share(Session *session, TableList *table_list, char *key,
916
916
                             uint32_t key_length, uint32_t db_flags, int *error);
917
917
TableShare *get_cached_table_share(const char *db, const char *table_name);