~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/default_modify.cc

  • Committer: Monty Taylor
  • Date: 2008-12-07 23:42:51 UTC
  • mto: This revision was merged to the branch mainline in revision 670.
  • Revision ID: monty@inaugust.com-20081207234251-yxtbg06jpylwej29
Finally removed all of the my_malloc stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
      if (reserve_occupied >= (int) reserve_extended)
133
133
      {
134
134
        reserve_extended= (uint) reserve_occupied + RESERVE;
135
 
        if (!(file_buffer= (char*) my_realloc(file_buffer, buffer_size +
136
 
                                              reserve_extended,
137
 
                                              MYF(MY_WME|MY_FREE_ON_ERROR))))
 
135
        if (!(file_buffer= (char*) realloc(file_buffer, buffer_size +
 
136
                                           reserve_extended)))
138
137
          goto malloc_err;
139
138
      }
140
139
      opt_applied= 1;