mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
oops, it appears I missed most of the changes in mysql.php ...
git-svn-id: file:///svn/phpbb/trunk@3872 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cc1a5f899d
commit
2e36408fab
1 changed files with 1 additions and 2 deletions
|
@ -141,7 +141,7 @@ class sql_db
|
||||||
$curtime = $curtime[0] + $curtime[1] - $starttime;
|
$curtime = $curtime[0] + $curtime[1] - $starttime;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->query_result = @mysql_query($query, $this->db_connect_id))
|
if (!($this->query_result = @mysql_query($query, $this->db_connect_id)))
|
||||||
{
|
{
|
||||||
$this->sql_error($query);
|
$this->sql_error($query);
|
||||||
}
|
}
|
||||||
|
@ -214,7 +214,6 @@ class sql_db
|
||||||
if ($query != '')
|
if ($query != '')
|
||||||
{
|
{
|
||||||
$this->query_result = false;
|
$this->query_result = false;
|
||||||
$this->num_queries++;
|
|
||||||
|
|
||||||
// if $total is set to 0 we do not want to limit the number of rows
|
// if $total is set to 0 we do not want to limit the number of rows
|
||||||
if ($total == 0)
|
if ($total == 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue