Skip to content

Commit eda135d

Browse files
committed
get debug info for sql tests
1 parent a3a5b3d commit eda135d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpBB/phpbb/db/driver/oracle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ function _sql_query_limit($query, $total, $offset = 0, $cache_ttl = 0)
471471
{
472472
$this->query_result = false;
473473

474-
$query = 'SELECT * FROM (SELECT rownum AS xrownum, a.* FROM (' . $query . ') a WHERE rownum <= ' . ($offset + $total) . ') WHERE xrownum >= ' . $offset;
474+
$query = 'SELECT * FROM (SELECT ROWNUM AS phpbb_rownum, a.* FROM (' . $query . ') a WHERE ROWNUM <= ' . ($offset + $total) . ') WHERE phpbb_rownum >= ' . $offset;
475475

476476
return $this->sql_query($query, $cache_ttl);
477477
}

0 commit comments

Comments
 (0)