mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-19955 make argument of handler::ha_write_row() const
MDEV-19486 and one more similar bug appeared because handler::write_row() interface welcomes to modify buffer by storage engine. But callers are not ready for that thus bugs are possible in future. handler::write_row(): handler::ha_write_row(): make argument const
This commit is contained in:
@ -71,7 +71,7 @@ public:
|
||||
int create(const char *name, TABLE *form,
|
||||
HA_CREATE_INFO *create_info);
|
||||
handler *clone(const char *name, MEM_ROOT *mem_root);
|
||||
int write_row(uchar *buf);
|
||||
int write_row(const uchar *buf);
|
||||
Table_flags table_flags() const;
|
||||
/* One can't update or delete from sequence engine */
|
||||
int update_row(const uchar *old_data, const uchar *new_data)
|
||||
|
Reference in New Issue
Block a user