~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/linebuffer.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-08-08 04:22:33 UTC
  • mto: (1115.3.4 captain)
  • mto: This revision was merged to the branch mainline in revision 1117.
  • Revision ID: osullivan.padraig@gmail.com-20090808042233-q0z88zc490z3f3r7
Renamed the Command class to be Statement. Renamed the command directory to
statement and also the command header file to statement. Updated various
source files to reflect this renaming.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* readline for batch mode */
17
17
 
18
 
#include "config.h"
19
 
#include "drizzled/internal/my_sys.h"
 
18
#include <drizzled/global.h>
 
19
#include <mysys/my_sys.h>
20
20
#include "client/linebuffer.h"
21
21
 
22
22
#include <vector>
23
23
 
24
24
using namespace std;
25
 
using namespace drizzled;
26
25
 
27
26
LineBuffer::LineBuffer(uint32_t my_max_size,FILE *my_file)
28
27
  :
45
44
 
46
45
  if (file && !eof)
47
46
  {
48
 
    if ((read_count= internal::my_read(fileno(file),
 
47
    if ((read_count= my_read(fileno(file),
49
48
                             (unsigned char *) (&line[0]),
50
49
                             max_size-1,MYF(MY_WME))))
51
50
    {