projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Add Cursor::$flags property
[m6w6/ext-pq]
/
src
/
php_pqconn.c
diff --git
a/src/php_pqconn.c
b/src/php_pqconn.c
index f2622d5184b73613019f15bca43f5b56a83c86f9..7d066c59df5056807e6bd50cb7a80e4e5e75d759 100644
(file)
--- a/
src/php_pqconn.c
+++ b/
src/php_pqconn.c
@@
-1410,6
+1410,7
@@
static PHP_METHOD(pqconn, declare) {
cur->open = 1;
cur->name = estrdup(name_str);
cur->decl = decl;
+ cur->flags = flags;
return_value->type = IS_OBJECT;
return_value->value.obj = php_pqcur_create_object_ex(php_pqcur_class_entry, cur, NULL TSRMLS_CC);