Re: [Maria-developers] [Commits] fb49b98: MDEV-10436 non-deterministic vcol does not force rbr

26 Jan
2017
26 Jan
'17
8:39 p.m.
On 25/01/17 00:33, sachin wrote:
@@ -5824,6 +5826,16 @@ int THD::decide_logging_format(TABLE_LIST *tables) table->table->file->ht) multi_access_engine= TRUE;
+ /* + Loop through each table field if it is virtual field check if it is deterministic + or not. + */ + for (field_ptr= table->table->field; *field_ptr; field_ptr++) + { + field= *field_ptr; + if (field->vcol_info && field->vcol_info->flags & VCOL_NOT_STRICTLY_DETERMINISTIC) + lex->set_stmt_unsafe(LEX::BINLOG_STMT_UNSAFE_NON_DETER_VCOL);
you could break the loop at this point.
+ } prev_access_table= table->table; }
2950
Age (days ago)
2950
Last active (days ago)
0 comments
1 participants
participants (1)
-
Daniel Black