mysql默认会auto commit

可以用这个语句确认一下:

引用

show variables like ‘autocommit’

Leave a Comment

Your email address will not be published.

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