一个事务跨了多个storage engine会怎么样?

一个事务跨了多个storage engine会怎么样? 比如表A是innodb, 支持事务; 表B是MyISAM,不支持事务.  会怎么样?

会出问题。 如果你要rollback这个事务,会导致A中的数据回滚,B中的数据未回滚,导致不一致性。

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.