Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

阅读源码时的一点疑问? #9

Open
importcjj opened this issue Apr 4, 2022 · 1 comment
Open

阅读源码时的一点疑问? #9

importcjj opened this issue Apr 4, 2022 · 1 comment

Comments

@importcjj
Copy link

Issue description

关于undo_log的记录我只在stmt下看到了,但是“database/sql”包里Tx的Exec函数默认会优先调用driverConn的ExecContext,也就是mysqlConn的ExecContext,但这个函数里面并有undo_log相关的处理。是我哪里理解有问题么?

@dk-lockdown
Copy link
Member

这个函数调用的 driver 的 Exec() 实现。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants