summaryrefslogtreecommitdiff
path: root/ext/interbase/php_interbase.h
diff options
context:
space:
mode:
authorJouni Ahto <jah@php.net>2000-06-24 16:24:29 +0000
committerJouni Ahto <jah@php.net>2000-06-24 16:24:29 +0000
commit8f1ff9e85e7b717ea896a7ad4220e11f8980cfe1 (patch)
treee973c40b5853f5b72ac5010afe1926b7227f3d11 /ext/interbase/php_interbase.h
parent303dc9e96a7b3a099bc9ea5b93ef6d6103ef3a7f (diff)
downloadphp-git-8f1ff9e85e7b717ea896a7ad4220e11f8980cfe1.tar.gz
- Close cursor immediately before reuse so that calling ibase_free_result is
not necessary anymore. Seems to also prevent a a situation where at request shutdown cursor was first dropped and tried to close it afterwards when all the resources were not manually freed, and could occasionally segfault.
Diffstat (limited to 'ext/interbase/php_interbase.h')
-rw-r--r--ext/interbase/php_interbase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h
index ba0a27c9c4..a534907e1d 100644
--- a/ext/interbase/php_interbase.h
+++ b/ext/interbase/php_interbase.h
@@ -122,6 +122,7 @@ typedef struct {
ibase_array *in_array, *out_array;
int in_array_cnt, out_array_cnt;
int dialect;
+ int cursor_open;
} ibase_query;
typedef struct {