-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
无法同时使用Swoole\Coroutine\MySQL和Swoole\MySQL #1669
Comments
请勿同时使用协程和异步回调两种版本的客户端。由于底层 reactor 的 fdtype 是相同的,会导致协程客户端调用了异步客户端的 Reactor Handler ,必然会出现 crash |
那目前看来有了协程,异步的客户端很鸡肋了 |
异步回调客户端 可能会在接下来的版本中移除。 |
好的,非常感谢 |
请问这里代码2的问题如何解决 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这两个使用顺序不同,报错也不同。。。
代码1
结果:
代码2
结果:
The text was updated successfully, but these errors were encountered: