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;
>      }
>  


_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to