summaryrefslogtreecommitdiff
path: root/storage/myisam/ha_myisam.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/myisam/ha_myisam.h')
-rw-r--r--storage/myisam/ha_myisam.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/myisam/ha_myisam.h b/storage/myisam/ha_myisam.h
index 0fe1592543d..c6e26cf0030 100644
--- a/storage/myisam/ha_myisam.h
+++ b/storage/myisam/ha_myisam.h
@@ -66,12 +66,11 @@ class ha_myisam: public handler
uint max_supported_key_parts() const { return HA_MAX_KEY_SEG; }
uint max_supported_key_length() const { return HA_MAX_KEY_LENGTH; }
uint max_supported_key_part_length() const { return HA_MAX_KEY_LENGTH; }
- uint checksum() const;
void change_table_ptr(TABLE *table_arg, TABLE_SHARE *share);
int open(const char *name, int mode, uint test_if_locked);
int close(void);
int write_row(uchar * buf);
- int update_row(const uchar * old_data, uchar * new_data);
+ int update_row(const uchar * old_data, const uchar * new_data);
int delete_row(const uchar * buf);
int index_read_map(uchar *buf, const uchar *key, key_part_map keypart_map,
enum ha_rkey_function find_flag);
@@ -144,7 +143,7 @@ class ha_myisam: public handler
Alter_inplace_info *alter_info);
bool check_if_incompatible_data(HA_CREATE_INFO *info, uint table_changes);
#ifdef HAVE_QUERY_CACHE
- my_bool register_query_cache_table(THD *thd, char *table_key,
+ my_bool register_query_cache_table(THD *thd, const char *table_key,
uint key_length,
qc_engine_callback
*engine_callback,