~drizzle-trunk/drizzle/jenkins-Drizzle-Builder-154

« back to all changes in this revision

Viewing changes to plugin/query_log/file.h

  • Committer: Stewart Smith
  • Date: 2013-01-05 02:05:04 UTC
  • mto: This revision was merged to the branch mainline in revision 2615.
  • Revision ID: stewart@flamingspork.com-20130105020504-9kmifbhm5hcctgc7
fix query_log non thread safety by using normal file descriptor and write(2) system call.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
  bool closeLogFile();
86
86
 
87
87
private:
88
 
  std::ofstream _fh;  ///< File handle for open log file
 
88
  int _fd;  ///< File handle for open log file
89
89
};