Commit 0640b4b5 authored by unknown's avatar unknown

ha_innobase.cc Update possible row timestamp column also in an update


sql/ha_innobase.cc:
  Update possible row timestamp column also in an update
parent 1a5643b4
...@@ -1523,6 +1523,10 @@ ha_innobase::update_row( ...@@ -1523,6 +1523,10 @@ ha_innobase::update_row(
DBUG_ENTER("ha_innobase::update_row"); DBUG_ENTER("ha_innobase::update_row");
if (table->time_stamp) {
update_timestamp(new_row + table->time_stamp - 1);
}
if (last_query_id != user_thd->query_id) { if (last_query_id != user_thd->query_id) {
prebuilt->sql_stat_start = TRUE; prebuilt->sql_stat_start = TRUE;
last_query_id = user_thd->query_id; last_query_id = user_thd->query_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment