mirror of
https://github.com/danog/ext-pq.git
synced 2025-01-22 13:51:20 +01:00
typo: oid of bool is 16, not 18
This commit is contained in:
parent
a5adaca46a
commit
e5a91b5de3
@ -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="/">
|
||||
|
2
php_pq.h
2
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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user