~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

  • Committer: Stewart Smith
  • Date: 2008-12-16 00:34:28 UTC
  • mfrom: (685 testable)
  • mto: This revision was merged to the branch mainline in revision 690.
  • Revision ID: stewart@hurricane-20081216003428-tuu1wdhyhp6t47wq
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
337
337
      SORT_FIELD  *sortorder;
338
338
      ha_rows examined_rows;
339
339
 
340
 
      table->sort.io_cache = (IO_CACHE *) malloc(sizeof(IO_CACHE));
 
340
      table->sort.io_cache = new IO_CACHE;
341
341
      memset(table->sort.io_cache, 0, sizeof(IO_CACHE));
342
342
 
343
343
      if (!(sortorder=make_unireg_sortorder(order, &length, NULL)) ||