com php-src: fix borked interbase patch: ext/interbase/ibase_ query.c
| From: | Anatol Belski | Date: | Thu, 11 Aug 2016 13:08:26 +0000 |
| Subject: | com php-src: fix borked interbase patch: ext/interbase/ibase_ query.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93749@lists.php.net to get a copy of this message | ||
Commit: 4a08836d47ad8002823af01735e08004bb851738
Author: Anatol Belski <ab@php.net> Thu, 11 Aug 2016 15:08:26 +0200
Parents: ddfbe07e2836be11020b5a2d044fa1a560787f3a
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4a08836d47ad8002823af01735e08004bb851738
Log:
fix borked interbase patch
Changed paths:
M ext/interbase/ibase_query.c
Diff:
diff --git a/ext/interbase/ibase_query.c b/ext/interbase/ibase_query.c
index 77de9f7..8923a8c 100644
--- a/ext/interbase/ibase_query.c
+++ b/ext/interbase/ibase_query.c
@@ -1109,7 +1109,7 @@ PHP_FUNCTION(ibase_query)
isc_db_handle db = 0;
isc_tr_handle trans = 0;
- } else if (((l = INI_INT("ibase.max_links")) != -1) && (IBG(num_links) >=
l)) {
+ if (((l = INI_INT("ibase.max_links")) != -1) && (IBG(num_links) >= l)) {
_php_ibase_module_error("CREATE DATABASE is not allowed: maximum link count "
"(" ZEND_LONG_FMT ") reached", l);