poggit / libasynql

Asynchronous MySQL access library for PocketMine plugins.
https://poggit.github.io/libasynql
Apache License 2.0
132 stars 44 forks source link

If a query fails, the connection is broken #109

Closed dadodasyra closed 9 months ago

dadodasyra commented 10 months ago

Describe the bug When a query fails, for any reason, like an sql error, wrong data entry or something like this, the connection is dead and will not recover itself.

Expected behavior I don't really know how does mysqli works if the connection really fails or not. But it should have some error handling by at least resuming a good connection to mysql.

Environment OS: Debian 11 PocketMine version: 5.6.0

dadodasyra commented 10 months ago

My bad , i'm not up to date, it may be fixed

dadodasyra commented 9 months ago

Seems to not be an issue anymore