aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-11-11 17:49:21 +0100
committerAndreas Fischer <bantu@phpbb.com>2012-11-11 17:49:21 +0100
commitac9c4d7d59ea458834cb64b9c9020c3de8fe90a2 (patch)
tree79b7998f71095960367dd3a8b1e2974f9c6f16a4 /tests
parent7d0cc15b926dda1a53b8151e063e2ffda7441240 (diff)
downloadforums-ac9c4d7d59ea458834cb64b9c9020c3de8fe90a2.tar
forums-ac9c4d7d59ea458834cb64b9c9020c3de8fe90a2.tar.gz
forums-ac9c4d7d59ea458834cb64b9c9020c3de8fe90a2.tar.bz2
forums-ac9c4d7d59ea458834cb64b9c9020c3de8fe90a2.tar.xz
forums-ac9c4d7d59ea458834cb64b9c9020c3de8fe90a2.zip
[ticket/11162] Make count function upper case.
PHPBB3-11162
Diffstat (limited to 'tests')
-rw-r--r--tests/functions/update_rows_avoiding_duplicates_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functions/update_rows_avoiding_duplicates_test.php b/tests/functions/update_rows_avoiding_duplicates_test.php
index 0c9ae068a4..0d68e22d4a 100644
--- a/tests/functions/update_rows_avoiding_duplicates_test.php
+++ b/tests/functions/update_rows_avoiding_duplicates_test.php
@@ -59,7 +59,7 @@ class phpbb_update_rows_avoiding_duplicates_test extends phpbb_database_test_cas
phpbb_update_rows_avoiding_duplicates($db, TOPICS_WATCH_TABLE, 'topic_id', $from, $to);
- $sql = 'SELECT count(*) AS remaining_rows
+ $sql = 'SELECT COUNT(*) AS remaining_rows
FROM ' . TOPICS_WATCH_TABLE . '
WHERE topic_id = ' . (int) $to;
$result = $db->sql_query($sql);