简体   繁体   中英

How to do an efficient rollback, when using both INNODB and MyISAM tables, within a transaction?

我已经阅读了这里发布的相关问题,但是我不明白的是,如果我们必须同时使用MyISAM和INNODB,那么……如果在事务中有DML,INNODB表将回滚,但是如何确保MyISAM表中的原子性?

MyISAM definitely does not support rollback. If you want to ensure atomicity in MyISAM tables you will have to handle such errors yourself and update your MyISAM tables appropriately.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM