mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
Added "const" to new data for handler::update_row()
This was done to make it clear that a update_row() should not change the row. This was not done for handler::write_row() as this function still needs to update auto_increment values in the row. This should at some point be moved to handler::ha_write_row() after which write_row can also have const arguments.
This commit is contained in:
parent
d82ac8eaaf
commit
a05a610d60
73 changed files with 126 additions and 110 deletions
|
|
@ -9389,7 +9389,7 @@ int
|
|||
ha_innobase::update_row(
|
||||
/*====================*/
|
||||
const uchar* old_row, /*!< in: old row in MySQL format */
|
||||
uchar* new_row) /*!< in: new row in MySQL format */
|
||||
const uchar* new_row) /*!< in: new row in MySQL format */
|
||||
{
|
||||
upd_t* uvect;
|
||||
dberr_t error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue