1
0
mirror of https://github.com/danog/ext-pq.git synced 2025-01-22 22:01:33 +01:00

typo: oid of bool is 16, not 18

This commit is contained in:
Michael Wallner 2013-04-29 11:24:05 +02:00
parent a5adaca46a
commit e5a91b5de3
3 changed files with 4 additions and 7 deletions

View File

@ -34,7 +34,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
</lead>
<date>2013-04-25</date>
<version>
<release>0.2.0</release>
<release>0.3.0dev</release>
<api>0.2.0</api>
</version>
<stability>
@ -43,10 +43,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
</stability>
<license>BSD, revised</license>
<notes><![CDATA[
* Fixed pq\Result::fetchCol()
* Fixed type handling of boolean/double input parameters.
* Added extented type handling of result parameters if PostgreSQL server headers are present.
* Implemented get_properties() object handler.
*
]]></notes>
<contents>
<dir name="/">

View File

@ -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;

View File

@ -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