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

mysql查询是否串行 #130

Open
moonwith opened this issue Aug 20, 2021 · 1 comment
Open

mysql查询是否串行 #130

moonwith opened this issue Aug 20, 2021 · 1 comment

Comments

@moonwith
Copy link

mysql驱动的实现方式是构造消息包通过nio发送来达到不阻塞的目的。那就有个问题,如果做两次查询,能否确保先做的查询必然先被mysql服务端处理完毕,并且先返回给客户端呢?

@moonwith
Copy link
Author

如果无法确保,那客户端只能通过队列来自己保证了么

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