mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Minor fix to rowseek
git-svn-id: file:///svn/phpbb/trunk@63 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
7f6ddf8f75
commit
381a2275f4
1 changed files with 3 additions and 3 deletions
|
@ -137,9 +137,9 @@ class sql_db
|
||||||
$num_rows = $limits[2];
|
$num_rows = $limits[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
mssql_query("SET ROWCOUNT ".($row_offset + $num_rows));
|
@mssql_query("SET ROWCOUNT ".($row_offset + $num_rows));
|
||||||
$this->query_result = @mssql_query($query, $this->db_connect_id);
|
$this->query_result = @mssql_query($query, $this->db_connect_id);
|
||||||
mssql_query("SET ROWCOUNT 0");
|
@mssql_query("SET ROWCOUNT 0");
|
||||||
|
|
||||||
$this->query_limit_success[$this->query_result] = true;
|
$this->query_limit_success[$this->query_result] = true;
|
||||||
|
|
||||||
|
@ -363,7 +363,7 @@ class sql_db
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function sql_rowseek($offset, $query_id = 0)
|
function sql_rowseek($rownum, $query_id = 0)
|
||||||
{
|
{
|
||||||
if(!$query_id)
|
if(!$query_id)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue