We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff0cab commit 3874194Copy full SHA for 3874194
MysqliDb.php
@@ -737,6 +737,12 @@ protected function _dynamicBindResults(mysqli_stmt $stmt)
737
$parameters[] = & $row[$field->name];
738
}
739
740
+ // avoid out of memory bug in php 5.2 and 5.3
741
+ // https://github.com/joshcam/PHP-MySQLi-Database-Class/pull/119
742
+ if (version_compare (phpversion(), '5.4', '<'))
743
+ $stmt->store_result();
744
+ }
745
+
746
call_user_func_array(array($stmt, 'bind_result'), $parameters);
747
748
while ($stmt->fetch()) {
0 commit comments