Skip to content

Commit d1adf55

Browse files
committed
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Fix ext/pgsql builds with libpq < 7.3.
2 parents 765b0ee + 2e02f18 commit d1adf55

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ PHP NEWS
1515
. Fix bug #67541 (Fix Apache 2.4.10+ SetHandler proxy:fcgi://
1616
incompatibilities). (David Zuelke)
1717

18+
- pgsql:
19+
. Fix bug #67550 (Error in code "form" instead of "from", pgsql.c, line 756),
20+
which affected builds against libpq < 7.3. (Adam)
21+
1822
- phpdbg:
1923
. Fix Bug #67499 (readline feature not enabled when build with libedit). (Remi)
2024
. Fix issue krakjoe/phpdbg#94 (List behavior is inconsistent). (Bob)

ext/pgsql/pgsql.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ static int le_link, le_plink, le_result, le_lofp, le_string;
783783
#endif
784784

785785
#if !HAVE_PQESCAPE_CONN
786-
#define PQescapeStringConn(conn, to, form, len, error) PQescapeString(to, from, len)
786+
#define PQescapeStringConn(conn, to, from, len, error) PQescapeString(to, from, len)
787787
#endif
788788

789789
#if HAVE_PQESCAPELITERAL

0 commit comments

Comments
 (0)