Closed zek closed 4 years ago
It looks like you're using an older version of this project (debugging output doesn't seem to match current version).
I can not reproduce this problem on the current master with a SELECT "name" as t0_name, "value" as t0_value, 0 as t0_id LIMIT 0
.
The problem you're describing should have been fixed with https://github.com/friends-of-reactphp/mysql/pull/46 a while ago.
@clue thanks for responding. I was using latest version but this problem somehow related to a bug in my code. Same connection being used in multiple places and it was probably closed.
So my bad :)
Description
When no record found in table deferred promise never resolved and application waits forever. As I understand we're not handling empty results correctly.
Query
Debug log
Note: $fieldCount returns 3