MODLANG-10 Modify Javascript exec function to return number of changed rows, thanks Dale.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4921 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-04-12 18:22:09 +00:00
parent 12c47bf96f
commit 50b5fe43a2
3 changed files with 15 additions and 2 deletions

View File

@@ -142,6 +142,10 @@ SWITCH_DECLARE(void) switch_core_db_free(char *z)
sqlite3_free(z);
}
SWITCH_DECLARE(int) switch_core_db_changes(switch_core_db_t *db) {
return sqlite3_changes(db);
}
SWITCH_DECLARE(char *) switch_mprintf(const char *zFormat, ...)
{
va_list ap;