diff options
Diffstat (limited to 'storage/csv')
-rw-r--r-- | storage/csv/ha_tina.cc | 4 | ||||
-rw-r--r-- | storage/csv/ha_tina.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/storage/csv/ha_tina.cc b/storage/csv/ha_tina.cc index 7e0c61ff634..f00fe0e201f 100644 --- a/storage/csv/ha_tina.cc +++ b/storage/csv/ha_tina.cc @@ -522,7 +522,7 @@ ha_tina::ha_tina(handlerton *hton, TABLE_SHARE *table_arg) Encode a buffer into the quoted format. */ -int ha_tina::encode_quote(uchar *buf) +int ha_tina::encode_quote(const uchar *buf) { char attribute_buffer[1024]; String attribute(attribute_buffer, sizeof(attribute_buffer), @@ -1066,7 +1066,7 @@ int ha_tina::open_update_temp_file_if_needed() This will be called in a table scan right before the previous ::rnd_next() call. */ -int ha_tina::update_row(const uchar * old_data, uchar * new_data) +int ha_tina::update_row(const uchar * old_data, const uchar * new_data) { int size; int rc= -1; diff --git a/storage/csv/ha_tina.h b/storage/csv/ha_tina.h index 127c6053a53..c75a64faa52 100644 --- a/storage/csv/ha_tina.h +++ b/storage/csv/ha_tina.h @@ -137,7 +137,7 @@ public: int open(const char *name, int mode, uint open_options); 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 rnd_init(bool scan=1); int rnd_next(uchar *buf); @@ -173,7 +173,7 @@ public: void update_status(); /* The following methods were added just for TINA */ - int encode_quote(uchar *buf); + int encode_quote(const uchar *buf); int find_current_row(uchar *buf); int chain_append(); }; |