~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/create.cc

  • Committer: Mark Atwood
  • Date: 2011-10-21 14:25:19 UTC
  • mfrom: (2440.2.28 rf)
  • Revision ID: me@mark.atwood.name-20111021142519-bqnyqrkthibv70rc
Tags: 2011.10.28
mergeĀ lp:~olafvdspek/drizzle/refactor6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1292
1292
 
1293
1293
  if (cs->mbminlen > 1)
1294
1294
  {
1295
 
    sp= new (session->mem) Item_string("", 0, cs, DERIVATION_COERCIBLE);
 
1295
    sp= new (session->mem) Item_string(str_ref(""), cs, DERIVATION_COERCIBLE);
1296
1296
    sp->str_value.copy(" ", 1, cs);
1297
1297
  }
1298
1298
  else
1299
1299
  {
1300
 
    sp= new (session->mem) Item_string(" ", 1, cs, DERIVATION_COERCIBLE);
 
1300
    sp= new (session->mem) Item_string(str_ref(" "), cs, DERIVATION_COERCIBLE);
1301
1301
  }
1302
1302
 
1303
1303
  return new (session->mem) Item_func_repeat(*session, sp, arg1);