~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/varstring.cc

  • Committer: Brian Aker
  • Date: 2008-08-15 15:01:59 UTC
  • mto: This revision was merged to the branch mainline in revision 346.
  • Revision ID: brian@tangent.org-20080815150159-vpx04493xvokzrkv
First pass in encapsulating table (it is now an object, no longer a structure).

Show diffs side-by-side

added added

removed removed

Lines of Context:
547
547
}
548
548
 
549
549
 
550
 
Field *Field_varstring::new_field(MEM_ROOT *root, struct st_table *new_table,
551
 
                                  bool keep_type)
 
550
Field *Field_varstring::new_field(MEM_ROOT *root, Table *new_table, bool keep_type)
552
551
{
553
552
  Field_varstring *res= (Field_varstring*) Field::new_field(root, new_table,
554
553
                                                            keep_type);
559
558
 
560
559
 
561
560
Field *Field_varstring::new_key_field(MEM_ROOT *root,
562
 
                                      struct st_table *new_table,
 
561
                                      Table *new_table,
563
562
                                      uchar *new_ptr, uchar *new_null_ptr,
564
563
                                      uint new_null_bit)
565
564
{