~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

  • Committer: Monty Taylor
  • Date: 2008-12-04 01:59:53 UTC
  • mto: This revision was merged to the branch mainline in revision 649.
  • Revision ID: monty@inaugust.com-20081204015953-qiwwq8h6rr1mocfv
More my_malloc removal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
 
201
201
    if (usable_index == MAX_KEY)
202
202
    {
203
 
      table->sort.io_cache= (IO_CACHE *) my_malloc(sizeof(IO_CACHE),
204
 
                                                   MYF(MY_FAE | MY_ZEROFILL));
 
203
      table->sort.io_cache= (IO_CACHE *) malloc(sizeof(IO_CACHE));
 
204
      memset(table->sort.io_cache, 0, sizeof_IO_CACHE);
 
205
                                         
205
206
    
206
207
      if (!(sortorder= make_unireg_sortorder((order_st*) order->first,
207
208
                                             &length, NULL)) ||