move mod_limit to cache_db and clean up vm legacy code

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15677 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-11-26 00:07:24 +00:00
1 parent 8ae40dd26a
commit 36689432e0
3 files changed
+77 -127

No files matched your search

+3 -1
View File
@@ -638,7 +638,9 @@ SWITCH_DECLARE(void) switch_cache_db_test_reactive(switch_cache_db_handle_t *dbh
case SCDB_TYPE_ODBC:
{
if (switch_odbc_handle_exec(dbh->native_handle.odbc_dbh, test_sql, NULL) != SWITCH_ODBC_SUCCESS) {
switch_odbc_handle_exec(dbh->native_handle.odbc_dbh, drop_sql, NULL);
if (drop_sql) {
switch_odbc_handle_exec(dbh->native_handle.odbc_dbh, drop_sql, NULL);
}
switch_odbc_handle_exec(dbh->native_handle.odbc_dbh, reactive_sql, NULL);
}
}