Quote:
Originally Posted by ForceHSS
Code:
function &execute_query($buffered = true, &$link)
{
$this->connection_recent =& $link;
$this->querycount++;
if ($queryresult = mysqli_query($link, $this->sql, ($buffered ? MYSQLI_STORE_RESULT : MYSQLI_USE_RESULT)))
{
// unset $sql to lower memory .. this isn't an error, so it's not needed
$this->sql = '';
return $queryresult;
}
else
{
$this->halt();
// unset $sql to lower memory .. error will have already been thrown
$this->sql = '';
}
}
line 1394 above I added extra of the code
Code:
if ($queryresult = mysqli_query($link, $this->sql, ($buffered ? MYSQLI_STORE_RESULT : MYSQLI_USE_RESULT)))
|
Pretty slick my friend. Has that been tested? If he doesn't have access to my.cnf than this would be vital.