summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/22pg_fetch_object.phpt
diff options
context:
space:
mode:
authorMatteo Beccati <mbeccati@php.net>2011-08-30 14:01:03 +0000
committerMatteo Beccati <mbeccati@php.net>2011-08-30 14:01:03 +0000
commit18b8a3bcb70f7447316077f621b72c885de8fdd7 (patch)
treee220b5f93b6aa5b4a84f7023fba29d3ccc56ce03 /ext/pgsql/tests/22pg_fetch_object.phpt
parent850d865551ac0412bae86f1d429fdf234b5603ed (diff)
downloadphp-git-18b8a3bcb70f7447316077f621b72c885de8fdd7.tar.gz
Fixed a few false positives on gcov for ext/pgsql
Diffstat (limited to 'ext/pgsql/tests/22pg_fetch_object.phpt')
-rwxr-xr-xext/pgsql/tests/22pg_fetch_object.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/tests/22pg_fetch_object.phpt b/ext/pgsql/tests/22pg_fetch_object.phpt
index 4f2f5dc184..76a3fbeed3 100755
--- a/ext/pgsql/tests/22pg_fetch_object.phpt
+++ b/ext/pgsql/tests/22pg_fetch_object.phpt
@@ -16,7 +16,7 @@ class test_class {
$db = pg_connect($conn_str);
-$sql = "SELECT * FROM $table_name";
+$sql = "SELECT * FROM $table_name WHERE num = 0";
$result = pg_query($db, $sql) or die('Cannot qeury db');
$rows = pg_num_rows($result);