Commit 48d92469 authored by kevg's avatar kevg Committed by Aleksey Midenkov

IB: do not insert into VTQ on optimized fields only update [closes #80]

parent dd3099a0
......@@ -520,8 +520,6 @@ No A B C D
18 1 1 1 1
19 1 1 1 1
20 1 1 1 1
21 1 1 1 1
22 1 1 1 1
drop procedure test_01;
drop procedure test_02;
drop procedure test_03;
......
......@@ -2198,7 +2198,11 @@ row_update_for_mysql_using_upd_graph(
}
}
if (DICT_TF2_FLAG_IS_SET(node->table, DICT_TF2_VERSIONED)) {
if (DICT_TF2_FLAG_IS_SET(node->table, DICT_TF2_VERSIONED) &&
(node->versioned || node->vers_delete ||
// TODO: imrove this check (check if we touch only
// unversioned fields in foreigh table
node->foreign)) {
trx->vtq_notify_on_commit = true;
}
......
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