~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/filesort_info.h

  • Committer: Brian Aker
  • Date: 2010-11-06 15:43:10 UTC
  • mfrom: (1908.1.1 merge)
  • Revision ID: brian@tangent.org-20101106154310-g1jpjzwbc53pfc4f
Filesort encapsulation, plus modification to copy contructor

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
class filesort_info
30
30
{
31
31
public:
32
 
  internal::IO_CACHE *io_cache;           /* If sorted through filesort */
 
32
  internal::st_io_cache *io_cache;           /* If sorted through filesort */
33
33
  unsigned char     **sort_keys;        /* Buffer for sorting keys */
34
34
  unsigned char     *buffpek;           /* Buffer for buffpek structures */
35
35
  uint32_t      buffpek_len;        /* Max number of buffpeks in the buffer */
52
52
    record_pointers(0),
53
53
    found_records()
54
54
  { }
 
55
 
 
56
  filesort_info(const filesort_info& arg) :
 
57
    io_cache(arg.io_cache),
 
58
    sort_keys(arg.sort_keys),
 
59
    buffpek(arg.buffpek),
 
60
    buffpek_len(arg.buffpek_len),
 
61
    addon_buf(arg.addon_buf),
 
62
    addon_length(arg.addon_length),
 
63
    addon_field(arg.addon_field),
 
64
    unpack(arg.unpack),
 
65
    record_pointers(arg.record_pointers),
 
66
    found_records(arg.found_records)
 
67
  {
 
68
  }
 
69
 
 
70
  ~filesort_info()
 
71
  {
 
72
  }
 
73
 
55
74
};
56
75
 
57
76
} /* namespace drizzled */