~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_to_file.h

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
 
21
 
#ifndef DRIZZLED_SELECT_TO_FILE_H
22
 
#define DRIZZLED_SELECT_TO_FILE_H
 
21
#pragma once
 
22
 
 
23
#include <drizzled/select_result_interceptor.h>
 
24
#include <drizzled/file_exchange.h>
23
25
 
24
26
#include <boost/filesystem.hpp>
25
27
 
44
46
public:
45
47
  select_to_file(file_exchange *ex);
46
48
  virtual ~select_to_file();
47
 
  void send_error(uint32_t errcode,const char *err);
 
49
  void send_error(drizzled::error_t errcode,const char *err);
48
50
  bool send_eof();
49
51
  void cleanup();
50
52
};
51
53
 
52
54
} /* namespace drizzled */
53
55
 
54
 
#endif /* DRIZZLED_SELECT_TO_FILE_H */