1 --- php_sqlite3.c.org 2006-12-10 00:24:16.069685500 +0100
2 +++ php_sqlite3.c 2006-12-10 00:25:21.741789750 +0100
8 + {{{ integer sqlite3_total_changes(resource sqlite3)
9 + return the number of database rows
12 +PHP_FUNCTION(sqlite3_total_changes)
14 + php_sqlite3_resource* me;
17 + if(ZEND_NUM_ARGS() != 1) WRONG_PARAM_COUNT;
18 + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC,"r", &z_rs)==FAILURE)
21 + ZVAL_TO_S3_HANDLE (me, &z_rs);
23 + RETURN_LONG(sqlite3_total_changes (me->handle));
28 /* {{{ void void php_sqlite3_user_function_cb(sqlite3_context*,int nargs,sqlite3_value**)
29 * callback function, for user-defined SQL functions. Get called by sqlite3 library
30 --- php_sqlite3.h.org 2006-12-10 00:24:18.489836750 +0100
31 +++ php_sqlite3.h 2006-12-10 00:24:36.310950500 +0100
33 PHP_FUNCTION(sqlite3_exec);
34 PHP_FUNCTION(sqlite3_query);
35 PHP_FUNCTION(sqlite3_changes);
36 +PHP_FUNCTION(sqlite3_total_changes);
38 PHP_FUNCTION(sqlite3_bind_int);
39 PHP_FUNCTION(sqlite3_bind_double);