mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
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:
@@ -457,6 +457,11 @@ SWITCH_DECLARE(void) switch_core_db_free_table(char **result);
|
||||
*/
|
||||
SWITCH_DECLARE(void) switch_core_db_free(char *z);
|
||||
|
||||
/**
|
||||
* Call this routine to find the number of rows changed by the last statement.
|
||||
*/
|
||||
SWITCH_DECLARE(int) switch_core_db_changes(switch_core_db_t *db);
|
||||
|
||||
/** Return values for switch_core_db_exec() and switch_core_db_step()*/
|
||||
#define SWITCH_CORE_DB_OK 0 /* Successful result */
|
||||
/* beginning-of-error-codes */
|
||||
|
||||
Reference in New Issue
Block a user