~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.h

Reverted changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
 
231
231
  /* ha_ methods: pubilc wrappers for private virtual API */
232
232
 
233
 
  int ha_open(Table *table, const char *name, int mode, int test_if_locked);
 
233
  int ha_open(const TableIdentifier &identifier, Table *table, const char *name, int mode, int test_if_locked);
234
234
  int startIndexScan(uint32_t idx, bool sorted);
235
235
  int endIndexScan();
236
236
  int startTableScan(bool scan);
531
531
    the corresponding 'ha_*' method above.
532
532
  */
533
533
 
534
 
  virtual int open(const char *name, int mode, uint32_t test_if_locked)=0;
 
534
  virtual int open(const char *, int , uint32_t ) { assert(0); return -1; };
 
535
  virtual int doOpen(const TableIdentifier &identifier, int mode, uint32_t test_if_locked);
535
536
  virtual int doStartIndexScan(uint32_t idx, bool)
536
537
  { active_index= idx; return 0; }
537
538
  virtual int doEndIndexScan() { active_index= MAX_KEY; return 0; }