projects
/
m6w6
/
ext-pq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (from parent 1:
10e7d6a
)
fix build
author
Michael Wallner
<mike@php.net>
Fri, 29 May 2015 07:47:41 +0000
(09:47 +0200)
committer
Michael Wallner
<mike@php.net>
Fri, 29 May 2015 07:47:41 +0000
(09:47 +0200)
src/php_pqcur.c
patch
|
blob
|
history
diff --git
a/src/php_pqcur.c
b/src/php_pqcur.c
index a84041ea68739784dd3eda3e11747fd797476efc..a81f38eea83f729ffe7b4edf95c5ada974d3ebc1 100644
(file)
--- a/
src/php_pqcur.c
+++ b/
src/php_pqcur.c
@@
-62,7
+62,8
@@
static void cur_close(php_pqcur_object_t *obj, zend_bool async, zend_bool silent
static void cur_open(INTERNAL_FUNCTION_PARAMETERS, zend_bool async)
{
zend_error_handling zeh;
static void cur_open(INTERNAL_FUNCTION_PARAMETERS, zend_bool async)
{
zend_error_handling zeh;
- STATUS rv;
+ ZEND_RESULT_CODE rv;
+ php_pqcur_object_t *obj;
zend_replace_error_handling(EH_THROW, exce(EX_INVALID_ARGUMENT), &zeh TSRMLS_CC);
rv = zend_parse_parameters_none();
zend_replace_error_handling(EH_THROW, exce(EX_INVALID_ARGUMENT), &zeh TSRMLS_CC);
rv = zend_parse_parameters_none();
@@
-72,7
+73,7
@@
static void cur_open(INTERNAL_FUNCTION_PARAMETERS, zend_bool async)
return;
}
return;
}
-
php_pqcur_object_t *
obj = zend_object_store_get_object(getThis() TSRMLS_CC);
+ obj = zend_object_store_get_object(getThis() TSRMLS_CC);
if (!obj->intern) {
throw_exce(EX_UNINITIALIZED TSRMLS_CC, "pq\\Cursor not initialized");
if (!obj->intern) {
throw_exce(EX_UNINITIALIZED TSRMLS_CC, "pq\\Cursor not initialized");