~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_load.cc

  • Committer: Mark Atwood
  • Date: 2011-06-27 19:01:37 UTC
  • mfrom: (2318.6.90 refactor16)
  • Revision ID: me@mark.atwood.name-20110627190137-iflt3vku0kw77l8a
mergeĀ lp:~olafvdspek/drizzle/refactor17

Show diffs side-by-side

added added

removed removed

Lines of Context:
1006
1006
    /*
1007
1007
     ** We come here if buffer is too small. Enlarge it and continue
1008
1008
     */
1009
 
    if (!(new_buffer=(unsigned char*) realloc(buffer, buff_length+1+IO_SIZE)))
1010
 
      return (error=1);
 
1009
    new_buffer=(unsigned char*) realloc(buffer, buff_length+1+IO_SIZE);
1011
1010
    to=new_buffer + (to-buffer);
1012
1011
    buffer=new_buffer;
1013
1012
    buff_length+=IO_SIZE;