Skip to content

Conversation

@fogelito
Copy link
Contributor

@fogelito fogelito commented Oct 4, 2023

Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.

@fogelito fogelito requested a review from abnegate October 4, 2023 14:12
@abnegate abnegate merged commit a37c8e7 into main Oct 13, 2023
@abnegate abnegate deleted the fetchall-single-row branch November 23, 2023 01:52
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

Successfully merging this pull request may close these issues.

3 participants