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 = ''; } }
if ($queryresult = mysqli_query($link, $this->sql, ($buffered ? MYSQLI_STORE_RESULT : MYSQLI_USE_RESULT)))