~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-04 18:16:24 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110704181624-r7xu8o1oorfjfse5
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
  if (!blob)
257
257
    val_ptr->set("",0,charset());       // A bit safer than ->length(0)
258
258
  else
259
 
    val_ptr->set((const char*) blob,get_length(ptr),charset());
 
259
    val_ptr->set(blob,get_length(ptr),charset());
260
260
  return val_ptr;
261
261
}
262
262