~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/util/data_ref.h

  • Committer: Olaf van der Spek
  • Date: 2011-10-10 12:58:39 UTC
  • mto: (2430.1.6 rf)
  • mto: This revision was merged to the branch mainline in revision 2436.
  • Revision ID: olafvdspek@gmail.com-20111010125839-v8s2vq7i14b1hugx
Use assign(), data() and size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    assign(b, strlen(b));
55
55
  }
56
56
 
57
 
  const data_ref_basic& clear()
 
57
  void clear()
58
58
  {
59
59
    begin_ = NULL;
60
60
    end_ = NULL;
61
 
    return *this;
62
61
  }
63
62
 
64
63
  void assign(const void* b, const void* e)