~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.h

  • Committer: Olaf van der Spek
  • Date: 2011-02-12 18:24:24 UTC
  • mto: (2167.1.2 build) (2172.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2168.
  • Revision ID: olafvdspek@gmail.com-20110212182424-kgnm9osi7qo97at2
casts

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
16
 
17
17
#ifndef PLUGIN_MYISAM_HA_MYISAM_H
34
34
 
35
35
 public:
36
36
  ha_myisam(drizzled::plugin::StorageEngine &engine,
37
 
            drizzled::TableShare &table_arg);
 
37
            drizzled::Table &table_arg);
38
38
  ~ha_myisam() {}
39
39
  Cursor *clone(drizzled::memory::Root *mem_root);
40
40
  const char *index_type(uint32_t key_number);
41
 
  int index_init(uint32_t idx, bool sorted);
42
 
  int index_end();
 
41
  int doStartIndexScan(uint32_t idx, bool sorted);
 
42
  int doEndIndexScan();
43
43
  uint32_t checksum() const;
44
44
 
45
 
  int open(const char *name, int mode, uint32_t test_if_locked);
 
45
  int doOpen(const drizzled::identifier::Table &identifier, int mode, uint32_t test_if_locked);
46
46
  int close(void);
47
 
  int write_row(unsigned char * buf);
48
 
  int update_row(const unsigned char * old_data, unsigned char * new_data);
49
 
  int delete_row(const unsigned char * buf);
 
47
  int doInsertRecord(unsigned char * buf);
 
48
  int doUpdateRecord(const unsigned char * old_data, unsigned char * new_data);
 
49
  int doDeleteRecord(const unsigned char * buf);
50
50
  int index_read_map(unsigned char *buf, const unsigned char *key, drizzled::key_part_map keypart_map,
51
51
                     enum drizzled::ha_rkey_function find_flag);
52
52
  int index_read_idx_map(unsigned char *buf, uint32_t index, const unsigned char *key,
58
58
  int index_first(unsigned char * buf);
59
59
  int index_last(unsigned char * buf);
60
60
  int index_next_same(unsigned char *buf, const unsigned char *key, uint32_t keylen);
61
 
  int rnd_init(bool scan);
 
61
  int doStartTableScan(bool scan);
62
62
  int rnd_next(unsigned char *buf);
63
63
  int rnd_pos(unsigned char * buf, unsigned char *pos);
64
 
  int restart_rnd_next(unsigned char *buf, unsigned char *pos);
65
64
  void position(const unsigned char *record);
66
65
  int info(uint);
67
66
  int extra(enum drizzled::ha_extra_function operation);