Fixing broken test because of change done in previous commit

This commit is contained in:
José Lorenzo Rodríguez 2010-11-10 23:48:58 -04:30
parent 106379b7ef
commit 00a3eda4d0

View file

@ -339,7 +339,7 @@ class DboPostgres extends DboSource {
}
$count = count($fields);
if ($count >= 1 && !preg_match('/^\s*COUNT\(/', $fields[0])) {
if ($count >= 1 && !preg_match('/^\s*COUNT\(\*/', $fields[0])) {
$result = array();
for ($i = 0; $i < $count; $i++) {
if (!preg_match('/^.+\\(.*\\)/', $fields[$i]) && !preg_match('/\s+AS\s+/', $fields[$i])) {