diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-12-05 11:21:01 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-12-05 11:21:01 +0000 |
commit | a39e87930000de5e21dae1656c15c4267e39c2ac (patch) | |
tree | e7c1799580449997e6b3a84a089ac080a155f00b /phpBB/includes/db/oracle.php | |
parent | a0c9705bb7d3e203324d777782a6915bf5eee1d1 (diff) | |
download | forums-a39e87930000de5e21dae1656c15c4267e39c2ac.tar forums-a39e87930000de5e21dae1656c15c4267e39c2ac.tar.gz forums-a39e87930000de5e21dae1656c15c4267e39c2ac.tar.bz2 forums-a39e87930000de5e21dae1656c15c4267e39c2ac.tar.xz forums-a39e87930000de5e21dae1656c15c4267e39c2ac.zip |
fix postcount resync for situations where low and high post ids are higher than step value, resulting in users having 0 posts. (Bug #38195)
Enforce a requirement for some DBMS (Oracle, PostgreSQL, MSSQL) where the table order is quite important in some situations. ;) Since this does not affect the operation of the other DBMS the code is placed into dbal.php.
git-svn-id: file:///svn/phpbb/trunk@9176 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/oracle.php')
-rw-r--r-- | phpBB/includes/db/oracle.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/oracle.php b/phpBB/includes/db/oracle.php index 6329652f96..91abc77780 100644 --- a/phpBB/includes/db/oracle.php +++ b/phpBB/includes/db/oracle.php @@ -191,7 +191,7 @@ class dbal_oracle extends dbal $out .= ' ' . $val[1] . '('; $in_array = array(); - // constuct each IN() clause + // constuct each IN() clause foreach ($in_clause as $in_values) { $in_array[] = $val[2] . ' ' . (isset($val[6]) ? $val[6] : '') . 'IN(' . implode(', ', $in_values) . ')'; |