~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/records.h

  • Committer: Barry.Leslie at PrimeBase
  • Date: 2011-01-22 03:22:44 UTC
  • mfrom: (2101 staging)
  • mto: (2228.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2230.
  • Revision ID: barry.leslie@primebase.com-20110122032244-ukbe3mlj7fs8xph6
Merged with lp:drizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2009 Sun Microsystems
 
4
 *  Copyright (C) 2009 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
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