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.
2 parents 00a6b47 + 1502514 commit e29e28eCopy full SHA for e29e28e
MysqliDb.php
@@ -1469,8 +1469,9 @@ protected function _buildLimit($numRows)
1469
protected function _prepareQuery()
1470
{
1471
if (!$stmt = $this->mysqli()->prepare($this->_query)) {
1472
+ $msg = "Problem preparing query ($this->_query) " . $this->mysqli()->error;
1473
$this->reset();
- throw new Exception("Problem preparing query ($this->_query) " . $this->mysqli()->error);
1474
+ throw new Exception($msg);
1475
}
1476
1477
if ($this->traceEnabled) {
0 commit comments