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

Reset insert_id when a connection is sent to connection pool #1093

Closed
renecannao opened this issue Jul 13, 2017 · 1 comment
Closed

Reset insert_id when a connection is sent to connection pool #1093

renecannao opened this issue Jul 13, 2017 · 1 comment
Assignees
Milestone

Comments

@renecannao
Copy link
Contributor

If mysql->insert_id is not reset to 0 , when a backend connections is assigned to a client, this one can potentially read the last inserted id from the previous client

renecannao added a commit that referenced this issue Jul 14, 2017
Automatically reset mysql->insert_id when a connection is sent to connection pool.
If is not reset to 0 , when a backend connections is assigned to a client, this one can potentially read the last inserted id from the previous client.
renecannao added a commit that referenced this issue Jul 14, 2017
Automatically reset mysql->insert_id when a connection is sent to connection pool.
If is not reset to 0 , when a backend connections is assigned to a client, this one can potentially read the last inserted id from the previous client.
@renecannao renecannao self-assigned this Jul 19, 2017
@renecannao renecannao added this to the 1.3.9 milestone Jul 19, 2017
@renecannao
Copy link
Contributor Author

Fixed in 1.3.9 and 1.4.1

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

1 participant