~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/sql_string.cc

  • Committer: Brian Aker
  • Date: 2008-07-13 16:48:26 UTC
  • mfrom: (142.1.2 drizzle)
  • Revision ID: brian@tangent.org-20080713164826-ec8gxxdx7wq8yt91
Merging in Patrick's work.

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))