From e5a91b5de306354451031b19a64cc2c7c852da49 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 29 Apr 2013 11:24:05 +0200 Subject: [PATCH] typo: oid of bool is 16, not 18 --- package.xml | 7 ++----- php_pq.h | 2 +- src/php_pqres.c | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) 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 -- 2.30.2