From: Michael Wallner Date: Mon, 29 Apr 2013 09:24:05 +0000 (+0200) Subject: typo: oid of bool is 16, not 18 X-Git-Tag: v0.3.0~6 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=commitdiff_plain;h=e5a91b5de306354451031b19a64cc2c7c852da49 typo: oid of bool is 16, not 18 --- diff --git a/package.xml b/package.xml index d87a864..f622d0c 100644 --- a/package.xml +++ b/package.xml @@ -34,7 +34,7 @@ http://pear.php.net/dtd/package-2.0.xsd"> 2013-04-25 - 0.2.0 + 0.3.0dev 0.2.0 @@ -43,10 +43,7 @@ http://pear.php.net/dtd/package-2.0.xsd"> BSD, revised diff --git a/php_pq.h b/php_pq.h index 64e8ba6..4c090e1 100644 --- a/php_pq.h +++ b/php_pq.h @@ -14,7 +14,7 @@ #ifndef PHP_PQ_H #define PHP_PQ_H -#define PHP_PQ_EXT_VERSION "0.2.0" +#define PHP_PQ_EXT_VERSION "0.3.0dev" int pq_module_number; zend_module_entry pq_module_entry; diff --git a/src/php_pqres.c b/src/php_pqres.c index 0331711..874751a 100644 --- a/src/php_pqres.c +++ b/src/php_pqres.c @@ -173,7 +173,7 @@ zval *php_pqres_row_to_zval(PGresult *res, unsigned row, php_pqres_fetch_t fetch #else - case 18: /* BOOL */ + case 16: /* BOOL */ ZVAL_BOOL(zv, *val == 't'); break; #endif