mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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:
@ -398,7 +398,7 @@ int ha_example::close(void)
|
||||
sql_insert.cc, sql_select.cc, sql_table.cc, sql_udf.cc and sql_update.cc
|
||||
*/
|
||||
|
||||
int ha_example::write_row(uchar *buf)
|
||||
int ha_example::write_row(const uchar *buf)
|
||||
{
|
||||
DBUG_ENTER("ha_example::write_row");
|
||||
/*
|
||||
|
Reference in New Issue
Block a user