~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/linebuffer.cc

Merged Drizzle's Trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
  if (file && !eof)
47
47
  {
48
 
    if ((read_count= internal::my_read(fileno(file),
49
 
                             (unsigned char *) (&line[0]),
50
 
                             max_size-1,MYF(MY_WME))))
 
48
    if ((read_count= read(fileno(file), (&line[0]), max_size-1)))
51
49
    {
52
50
      line[read_count+1]= '\0';
53
51
      buffer << &line[0];