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 */
17
17
#ifndef PLUGIN_MYISAM_HA_MYISAM_H
36
36
ha_myisam(drizzled::plugin::StorageEngine &engine,
37
drizzled::TableShare &table_arg);
37
drizzled::Table &table_arg);
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);
41
int doStartIndexScan(uint32_t idx, bool sorted);
43
43
uint32_t checksum() const;
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);
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);
67
66
int extra(enum drizzled::ha_extra_function operation);