~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/sql_string.cc

  • Committer: Monty Taylor
  • Date: 2008-07-02 14:48:53 UTC
  • mto: This revision was merged to the branch mainline in revision 51.
  • Revision ID: monty@inaugust.com-20080702144853-itrmls4ae3h07lbr
Removed everything marked TO_BE_REMOVED.

Show diffs side-by-side

added added

removed removed

Lines of Context:
501
501
}
502
502
 
503
503
 
504
 
#ifdef TO_BE_REMOVED
505
 
bool String::append(FILE* file, uint32 arg_length, myf my_flags)
506
 
{
507
 
  if (realloc(str_length+arg_length))
508
 
    return TRUE;
509
 
  if (my_fread(file, (uchar*) Ptr + str_length, arg_length, my_flags))
510
 
  {
511
 
    shrink(str_length);
512
 
    return TRUE;
513
 
  }
514
 
  str_length+=arg_length;
515
 
  return FALSE;
516
 
}
517
 
#endif
518
 
 
519
504
bool String::append(IO_CACHE* file, uint32 arg_length)
520
505
{
521
506
  if (realloc(str_length+arg_length))