summaryrefslogtreecommitdiff
path: root/ext/sqlite3/php_sqlite3_structs.h
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2008-12-24 19:22:16 (GMT)
committerScott MacVicar <scottmac@php.net>2008-12-24 19:22:16 (GMT)
commit3fb7f05991431de5a6c48bc3ee775e3579438a49 (patch)
tree7a9803bb250eab04b6691d9619c6d383163b69cb /ext/sqlite3/php_sqlite3_structs.h
parent4b3197a9cd9179327d06e51be38e828590a48a85 (diff)
downloadphp-3fb7f05991431de5a6c48bc3ee775e3579438a49.tar.gz
MFH Stop using sqlite3_aggregate_count() as this is now deprecated.
Diffstat (limited to 'ext/sqlite3/php_sqlite3_structs.h')
-rw-r--r--ext/sqlite3/php_sqlite3_structs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/sqlite3/php_sqlite3_structs.h b/ext/sqlite3/php_sqlite3_structs.h
index 5ac7050..8c6b51e 100644
--- a/ext/sqlite3/php_sqlite3_structs.h
+++ b/ext/sqlite3/php_sqlite3_structs.h
@@ -72,6 +72,12 @@ typedef struct _php_sqlite3_db_object {
zend_llist free_list;
} php_sqlite3_db_object;
+/* Structure for SQLite Database object. */
+typedef struct _php_sqlite3_agg_context {
+ zval *zval_context;
+ long row_count;
+} php_sqlite3_agg_context;
+
typedef struct _php_sqlite3_stmt_object php_sqlite3_stmt;
typedef struct _php_sqlite3_result_object php_sqlite3_result;