~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Brian Aker
  • Date: 2008-08-10 02:16:24 UTC
  • Revision ID: brian@tangent.org-20080810021624-w32i7696at09rz6y
Update for ulong change over.

Show diffs side-by-side

added added

removed removed

Lines of Context:
495
495
  }
496
496
 
497
497
  /* Hash value */
498
 
  virtual void hash(ulong *nr, ulong *nr2);
 
498
  virtual void hash(uint32_t *nr, uint32_t *nr2);
499
499
  friend bool reopen_table(THD *,struct st_table *,bool);
500
500
  friend int cre_myisam(char * name, register TABLE *form, uint options,
501
501
                        uint64_t auto_increment_value);
755
755
    At various stages in execution this can be length of field in bytes or
756
756
    max number of characters. 
757
757
  */
758
 
  ulong length;
 
758
  uint32_t length;
759
759
  /*
760
760
    The value of `length' as set by parser: is the number of characters
761
761
    for most of the types, or of bytes for BLOBs or numeric types.
808
808
  const char *db_name;
809
809
  const char *table_name,*org_table_name;
810
810
  const char *col_name,*org_col_name;
811
 
  ulong length;
 
811
  uint32_t length;
812
812
  uint charsetnr, flags, decimals;
813
813
  enum_field_types type;
814
814
  Send_field() {}
851
851
                  Field::utype unireg_check,
852
852
                  TYPELIB *interval, const char *field_name);
853
853
uint pack_length_to_packflag(uint type);
854
 
enum_field_types get_blob_type_from_length(ulong length);
 
854
enum_field_types get_blob_type_from_length(uint32_t length);
855
855
uint32_t calc_pack_length(enum_field_types type,uint32_t length);
856
856
int set_field_to_null(Field *field);
857
857
int set_field_to_null_with_conversions(Field *field, bool no_conversions);