~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cached_item.cc

  • Committer: Jay Pipes
  • Date: 2009-12-08 17:46:38 UTC
  • mfrom: (1240 staging)
  • mto: This revision was merged to the branch mainline in revision 1245.
  • Revision ID: jpipes@serialcoder-20091208174638-exwaq2vbq0bzvyze
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
}
133
133
 
134
134
 
 
135
Cached_item_field::Cached_item_field(Field *arg_field) 
 
136
  : 
 
137
    field(arg_field)
 
138
{
 
139
  /* TODO: take the memory allocation below out of the constructor. */
 
140
  buff= (unsigned char*) sql_calloc(length= field->pack_length());
 
141
}
 
142
 
135
143
bool Cached_item_field::cmp(void)
136
144
{
137
145
  // This is not a blob!