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

example.py中第41行存在BUG #14

Open
wensuper opened this issue Mar 14, 2020 · 1 comment
Open

example.py中第41行存在BUG #14

wensuper opened this issue Mar 14, 2020 · 1 comment

Comments

@wensuper
Copy link

format_data['before'] = format_data['after'] = dict()这句表示format_data['before']与format_data['after'] 指向的是同一个地址,修改format_data['before']时format_data['after'] 也会被修改,最终导致无法在mysql row模式下同时取到update前后的数据取值。
建议把第41行修改为:
format_data['before'] = dict()
format_data['after'] = dict()

@dulestar
Copy link

确实是这样

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