mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +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:
@@ -58,7 +58,7 @@ public:
|
||||
static PFS_engine_table_share m_share;
|
||||
/** Table builder. */
|
||||
static PFS_engine_table* create();
|
||||
static int write_row(TABLE *table, unsigned char *buf, Field **fields);
|
||||
static int write_row(TABLE *table, const unsigned char *buf, Field **fields);
|
||||
static int delete_all_rows();
|
||||
static ha_rows get_row_count();
|
||||
|
||||
|
Reference in New Issue
Block a user