summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-10-27 15:04:54 +0200
committerAnatol Belski <ab@php.net>2017-10-27 15:04:54 +0200
commitf936a17c12dc8e47cb62901adf7d0f58581286d4 (patch)
tree65fe5d9b713eccb694a588aaa073166309c767af
parent40f76c9f0c52658a65479fa01456376c870ed5c9 (diff)
parent36b27f2ba599e95dfff2420d64083897684d9c1a (diff)
downloadphp-git-f936a17c12dc8e47cb62901adf7d0f58581286d4.tar.gz
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Fix test compat for PostgreSQL 10
-rw-r--r--ext/pgsql/tests/pg_update_001.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/tests/pg_update_001.phpt b/ext/pgsql/tests/pg_update_001.phpt
index 60db35c157..85a86f3d23 100644
--- a/ext/pgsql/tests/pg_update_001.phpt
+++ b/ext/pgsql/tests/pg_update_001.phpt
@@ -24,7 +24,7 @@ var_dump(pg_update($conn, 'foo', array('id' => 10), array('id' => 1), PGSQL_DML_
pg_update($conn, 'phptests.foo', array('id' => 100), array('id2' => 2));
var_dump(pg_update($conn, 'phptests.foo', array('id' => 100), array('id2' => 2), PGSQL_DML_STRING));
-$rs = pg_query('SELECT * FROM foo UNION SELECT * FROM phptests.foo');
+$rs = pg_query('SELECT * FROM foo UNION SELECT * FROM phptests.foo ORDER BY id');
while ($row = pg_fetch_assoc($rs)) {
var_dump($row);
}