MDEV-32984 Update federated table and column privileges

mark auto-inc columns for read/write on INSERT,
but only for read on UPDATE
This commit is contained in:
Sergei Golubchik 2023-12-13 21:02:44 +01:00
commit c4ebf87f86
5 changed files with 75 additions and 6 deletions

View file

@ -7103,7 +7103,7 @@ Write_rows_log_event::do_before_row_operations(const Slave_reporting_capability
indexed and it cannot have a DEFAULT value).
*/
m_table->auto_increment_field_not_null= FALSE;
m_table->mark_auto_increment_column();
m_table->mark_auto_increment_column(true);
}
return error;