~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.h

  • Committer: Brian Aker
  • Date: 2010-04-23 00:39:59 UTC
  • Revision ID: brian@gaz-20100423003959-dsq4p588m933aq29
Small cleanup on handler

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
  present, its length is one byte <not-sure> which must be set to 0xFF
139
139
  at all times. </not-sure>
140
140
 
141
 
  If the table has columns of type BIT, then certain bits from those columns
142
 
  may be stored in null_bytes as well. Grep around for Field_bit for
143
 
  details.
144
 
 
145
141
  For blob columns (see Field_blob), the record buffer stores length of the
146
142
  data, following by memory pointer to the blob data. The pointer is owned
147
143
  by the storage engine and is valid until the next operation.
489
485
  { return 0; }
490
486
  virtual uint32_t referenced_by_foreign_key() { return 0;}
491
487
  virtual void free_foreign_key_create_info(char *) {}
492
 
  /** The following can be called without an open Cursor */
493
 
 
494
 
  virtual int add_index(Table *, KEY *, uint32_t)
495
 
  { return (HA_ERR_WRONG_COMMAND); }
496
 
  virtual int prepare_drop_index(Table *, uint32_t *, uint32_t)
497
 
  { return (HA_ERR_WRONG_COMMAND); }
498
 
  virtual int final_drop_index(Table *)
499
 
  { return (HA_ERR_WRONG_COMMAND); }
500
 
 
501
 
  virtual uint32_t checksum(void) const { return 0; }
502
488
 
503
489
  /**
504
490
    Is not invoked for non-transactional temporary tables.