Skip to content

Commit

Permalink
fix: Unable to run update statement (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
abmusse authored Nov 9, 2021
1 parent 1b4b773 commit 7339d24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ha_ibmdb2i.cc
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ int ha_ibmdb2i::prepareRowForWrite(char* data, char* nulls, bool honorIdentCols)



int ha_ibmdb2i::update_row(const uchar * old_data, uchar * new_data)
int ha_ibmdb2i::update_row(const uchar * old_data, const uchar * new_data)
{
DBUG_ENTER("ha_ibmdb2i::update_row");
increment_statistics(&SSV::ha_update_count);
Expand Down
2 changes: 1 addition & 1 deletion ha_ibmdb2i.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class ha_ibmdb2i: public handler
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);
virtual int update_row(const uchar * old_data, const uchar * new_data) override;
int delete_row(const uchar * buf);
int index_init(uint idx, bool sorted);
int index_read(uchar * buf, const uchar * key,
Expand Down

0 comments on commit 7339d24

Please sign in to comment.