Hi, Vlad!

On Jun 26, Vlad Lesin wrote:
> >>  
> >> +    if (create_info->db_type == maria_hton &&
> >> +        create_info->transactional != HA_CHOICE_NO)
> >> +    {
> >> +      my_error(ER_TRANSACTIONAL_ARIA_LOG_ENGINE, MYF(0));
> >> +      DBUG_RETURN(true);
> >> +    }
> > 
> > What about InnoDB? Or RocksDB? Or any other transactional engine?
> 
> There is flag HTON_SUPPORT_LOG_TABLES, which is checked earlier in
> mysql_alter_table().

It's not checked on CREATE, only on ALTER, so one can easily bypass this
check.

And, anyway, why an engine would not support log tables?
Only because it's transactional?

Regards,
Sergei
VP of MariaDB Server Engineering
and [email protected]

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to