~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Brian Aker
  • Date: 2011-01-13 07:03:39 UTC
  • mfrom: (2077.1.3 drizzle)
  • Revision ID: brian@gir-3-20110113070339-bnfp4yvngb6frhru
Merge in all of the fixes for definition to instance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
   */
94
94
private:
95
95
  Table *table;
96
 
 
97
96
public:
98
97
  Table *getTable()
99
98
  {
806
805
  */
807
806
  typedef void Copy_func(CopyField*);
808
807
  Copy_func *get_copy_func(Field *to, Field *from);
809
 
 
810
808
public:
811
809
  unsigned char *from_ptr;
812
810
  unsigned char *to_ptr;
821
819
  Field *to_field;
822
820
  String tmp;                                   // For items
823
821
 
824
 
  CopyField() :
825
 
    from_ptr(0),
826
 
    to_ptr(0),
827
 
    from_null_ptr(0),
828
 
    to_null_ptr(0),
829
 
    null_row(0),
830
 
    from_bit(0),
831
 
    to_bit(0),
832
 
    from_length(0),
833
 
    to_length(0),
834
 
    from_field(0),
835
 
    to_field(0)
836
 
  {}
837
 
 
838
 
  ~CopyField()
839
 
  {}
840
 
 
 
822
  CopyField() {}
 
823
  ~CopyField() {}
841
824
  void set(Field *to,Field *from,bool save);    // Field to field
842
825
  void set(unsigned char *to,Field *from);              // Field to string
843
826
  void (*do_copy)(CopyField *);