~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Monty Taylor
  • Date: 2008-10-20 08:48:34 UTC
  • mfrom: (520.1.22 drizzle)
  • Revision ID: monty@inaugust.com-20081020084834-xpb3w01vkcp55o02
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
  unsigned char         *ptr;                   // Position to field in record
110
110
  unsigned char         *null_ptr;              // Byte where null_bit is
111
111
  /*
112
 
    Note that you can use table->in_use as replacement for current_thd member 
 
112
    Note that you can use table->in_use as replacement for current_session member 
113
113
    only inside of val_*() and store() members (e.g. you can't use it in cons)
114
114
  */
115
115
  Table *table;         // Pointer for table
556
556
 
557
557
  /* Hash value */
558
558
  virtual void hash(uint32_t *nr, uint32_t *nr2);
559
 
  friend bool reopen_table(THD *,Table *,bool);
 
559
  friend bool reopen_table(Session *,Table *,bool);
560
560
  friend int cre_myisam(char * name, register Table *form, uint32_t options,
561
561
                        uint64_t auto_increment_value);
562
562
  friend class Copy_field;
662
662
                          uint32_t max_length, uint32_t decimals,
663
663
                          bool maybe_null, bool is_unsigned);
664
664
 
665
 
  bool init(THD *thd, char *field_name, enum_field_types type, char *length,
 
665
  bool init(Session *session, char *field_name, enum_field_types type, char *length,
666
666
            char *decimals, uint32_t type_modifier, Item *default_value,
667
667
            Item *on_update_value, LEX_STRING *comment, char *change,
668
668
            List<String> *interval_list, const CHARSET_INFO * const cs,