~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/records.h

  • Committer: Brian Aker
  • Date: 2010-06-02 23:40:24 UTC
  • mto: (1578.6.9 explain-drizzle)
  • mto: This revision was merged to the branch mainline in revision 1585.
  • Revision ID: brian@gir-2.local-20100602234024-x26qr3pfhvood1d7
keys and fields partial encapsulation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
  unsigned char *ref_pos;                               /* pointer to form->refpos */
41
41
  unsigned char *record;
42
42
  unsigned char *rec_buf;                /* to read field values  after filesort */
43
 
private:
44
43
  unsigned char *cache;
45
 
public:
46
 
  unsigned char *getCache()
47
 
  {
48
 
    return cache;
49
 
  }
50
44
  unsigned char *cache_pos;
51
45
  unsigned char *cache_end;
52
46
  unsigned char *read_positions;
82
76
  {
83
77
  }
84
78
 
85
 
  void init()
86
 
  {
87
 
    table= NULL;
88
 
    cursor= NULL;
89
 
    forms= 0;
90
 
    read_record= 0;
91
 
    session= 0;
92
 
    select= 0;
93
 
    cache_records= 0;
94
 
    ref_length= 0;
95
 
    struct_length= 0;
96
 
    reclength= 0;
97
 
    rec_cache_size= 0;
98
 
    error_offset= 0;
99
 
    index= 0;
100
 
    ref_pos= 0;
101
 
    record= 0;
102
 
    rec_buf= 0;
103
 
    cache= 0;
104
 
    cache_pos= 0;
105
 
    cache_end= 0;
106
 
    read_positions= 0;
107
 
    io_cache= 0;
108
 
    print_error= 0;
109
 
    ignore_not_found_rows= 0;
110
 
    do_insideout_scan= 0;
111
 
  }
112
 
 
113
79
  virtual ~ReadRecord()
114
80
  { }
115
81
 
209
175
                            Table *table,
210
176
                            bool print_error, 
211
177
                            uint32_t idx);
212
 
 
213
 
  void init_reard_record_sequential();
214
 
 
215
178
  bool init_rr_cache();
216
179
};
217
180