-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
queryOne keep loading and no result #20066
Comments
if you use edgardmessias/yii2-informix try check this reference
|
The queryInternal of edgardmessias\yii2-informix\src\Command.php starts with this code:
With queryOne() the $fetchMode is "fetch" so it does not override. |
What steps will reproduce the problem?
I installed pdo_informix and edgardmessias/yii2-informix library (ver. 1.1.1) in php 8.2.
I execute a queryOne() on a simple query: select * from tablename
What is the expected result?
I expect to have a single row from table
What do you get instead?
I got an infite loop without any result. The browser keep loading forever
Additional info
If I comment the row
$this->pdoStatement->closeCursor();
at tline 1195 in vendor/yiisoft/yii2/db/Command.php then everyting works fine.
The text was updated successfully, but these errors were encountered: