~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/records.h

Merge in stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
    This is the most basic access method of a table using rnd_init,
182
182
    rnd_next and rnd_end. No indexes are used.
183
183
*/
184
 
  void init_read_record(Session *session, 
185
 
                        Table *reg_form,
186
 
                        optimizer::SqlSelect *select,
187
 
                        int use_record_cache, 
188
 
                        bool print_errors);
 
184
  int init_read_record(Session *session,
 
185
                       Table *reg_form,
 
186
                       optimizer::SqlSelect *select,
 
187
                       int use_record_cache,
 
188
                       bool print_errors) __attribute__ ((warn_unused_result));
189
189
 
190
190
  void end_read_record();
191
191
 
205
205
                      occurs (except for end-of-records error)
206
206
  @param idx          index to scan
207
207
                    */
208
 
  void init_read_record_idx(Session *session, 
209
 
                            Table *table,
210
 
                            bool print_error, 
211
 
                            uint32_t idx);
 
208
  int init_read_record_idx(Session *session,
 
209
                           Table *table,
 
210
                           bool print_error,
 
211
                           uint32_t idx) __attribute__ ((warn_unused_result));
212
212
 
213
213
  void init_reard_record_sequential();
214
214