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

binlog错误的逻辑 #91

Open
kfpandahyy opened this issue Apr 17, 2019 · 2 comments
Open

binlog错误的逻辑 #91

kfpandahyy opened this issue Apr 17, 2019 · 2 comments

Comments

@kfpandahyy
Copy link

image

empty如果为true,则断言m_first与first相同(都为NULL),但是后面接着用到了first->stage_cond_id

@hipudding
Copy link

+1,即使断言没有生效(release版本),下面的代码仍然使用了m_first。不过正常使用并没有发现因为这个导致的mysql crash

@zhangxiaojian
Copy link
Collaborator

对列为空的话,m_last 指向 m_first 的地址,*m_last = first 相当于 m_first = first. 两个值相等,但都不为 NULL

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

3 participants