~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_load.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-27 14:23:35 UTC
  • mto: This revision was merged to the branch mainline in revision 2350.
  • Revision ID: olafvdspek@gmail.com-20110627142335-38y17d8xxczy6ilm
Refactor

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;