~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/sql_string.cc

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
{
242
242
  /* How many bytes are in incomplete character */
243
243
  offset= cs->mbmaxlen - offset; /* How many zeros we should prepend */
244
 
  DBUG_ASSERT(offset && offset != cs->mbmaxlen);
 
244
  assert(offset && offset != cs->mbmaxlen);
245
245
 
246
246
  uint32 aligned_length= arg_length + offset;
247
247
  if (alloc(aligned_length))