~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_share.h

  • Committer: Brian Aker
  • Date: 2010-10-11 21:57:03 UTC
  • mto: (1843.8.1 trunk-drizzle)
  • mto: This revision was merged to the branch mainline in revision 1840.
  • Revision ID: brian@tangent.org-20101011215703-2dbld335se88g7u3
Fix variable such that we no longer pass share to varstring on creation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
522
522
  uint32_t null_fields;                 /* number of null fields */
523
523
  uint32_t blob_fields;                 /* number of blob fields */
524
524
  uint32_t timestamp_field_offset;              /* Field number for timestamp field */
525
 
  uint32_t varchar_fields;                  /* number of varchar fields */
 
525
private:
 
526
  bool has_variable_width;                  /* number of varchar fields */
 
527
public:
 
528
  bool hasVariableWidth() const
 
529
  {
 
530
    return has_variable_width; // We should calculate this.
 
531
  }
 
532
  void setVariableWidth()
 
533
  {
 
534
    has_variable_width= true;
 
535
  }
526
536
  uint32_t db_create_options;           /* Create options from database */
527
537
  uint32_t db_options_in_use;           /* Options in use */
528
538
  uint32_t db_record_offset;            /* if HA_REC_IN_SEQ */