cvs: pecl /ibm_db2 ibm_db2.c
| From: | Kellen Bombardier | Date: | Wed, 05 Sep 2007 20:25:42 +0000 |
| Subject: | cvs: pecl /ibm_db2 ibm_db2.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-8515@lists.php.net to get a copy of this message | ||
kfbombar Wed Sep 5 20:25:42 2007 UTC
Modified files:
/pecl/ibm_db2 ibm_db2.c
Log:
Fix for db2_tables() on i5/OS
http://cvs.php.net/viewvc.cgi/pecl/ibm_db2/ibm_db2.c?r1=1.70&r2=1.71&diff_format=u
Index: pecl/ibm_db2/ibm_db2.c
diff -u pecl/ibm_db2/ibm_db2.c:1.70 pecl/ibm_db2/ibm_db2.c:1.71
--- pecl/ibm_db2/ibm_db2.c:1.70 Wed Jun 20 17:19:23 2007
+++ pecl/ibm_db2/ibm_db2.c Wed Sep 5 20:25:42 2007
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-#define MODULE_RELEASE "1.6.0"
+#define MODULE_RELEASE "1.6.3"
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -559,7 +559,7 @@
char *src, *tgt, *rev;
char revision[30];
- src = "$Revision: 1.70 $";
+ src = "$Revision: 1.71 $";
rev = (char*)malloc(8*sizeof(char));
tgt = rev;
@@ -2497,6 +2497,10 @@
stmt_handle *stmt_res;
int rc;
+#ifdef PASE /* i5os owner cannot be NULL */
+ owner = "%";
+#endif /* PASE */
+
if (zend_parse_parameters(argc TSRMLS_CC, "r|ssss", &connection, &qualifier,
&qualifier_len, &owner, &owner_len, &table_name, &table_name_len,
&table_type, &table_type_len) == FAILURE) {