~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_to_file.h

[patch 112/129] Merge patch for revision 1925 from InnoDB SVN:
revno: 1925
revision-id: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6169
parent: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6163
committer: calvin
timestamp: Thu 2009-11-12 12:40:43 +0000
message:
  branches/zip: add test case for bug#46676
  
  This crash is reproducible with InnoDB plugin 1.0.4 + MySQL 5.1.37.
  But no longer reproducible after MySQL 5.1.38 (with plugin 1.0.5).
  Add test case to catch future regression.
added:
  mysql-test/innodb_bug46676.result 6169@16c675df-0fcb-4bc9-8058-dcc011a37293:branches%2Fzip%2Fmysql-test%2Finnodb_bug46676.result
  mysql-test/innodb_bug46676.test 6169@16c675df-0fcb-4bc9-8058-dcc011a37293:branches%2Fzip%2Fmysql-test%2Finnodb_bug46676.test
diff:
=== added file 'mysql-test/innodb_bug46676.result'

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_SELECT_TO_FILE_H
22
22
#define DRIZZLED_SELECT_TO_FILE_H
23
23
 
24
 
#include <boost/filesystem.hpp>
25
 
 
26
24
namespace drizzled
27
25
{
28
26
 
31
29
typedef struct st_io_cache IO_CACHE;
32
30
}
33
31
 
34
 
class select_to_file :
35
 
  public select_result_interceptor
 
32
class select_to_file : public select_result_interceptor
36
33
{
37
34
protected:
38
35
  file_exchange *exchange;
39
36
  int file;
40
37
  internal::IO_CACHE *cache;
41
38
  ha_rows row_count;
42
 
  boost::filesystem::path path;
 
39
  char path[FN_REFLEN];
43
40
 
44
41
public:
45
42
  select_to_file(file_exchange *ex);