mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-03 22:57:16 +00:00
FS-11991: [Core] Fix bug in the database module interface preventing tables from being created when no drop_sql
This commit is contained in:
parent
6cc5dff548
commit
9520f8e111
@ -1488,6 +1488,7 @@ SWITCH_DECLARE(switch_bool_t) switch_cache_db_test_reactive_ex(switch_cache_db_h
|
|||||||
char tmp[100];
|
char tmp[100];
|
||||||
switch_snprintfv(tmp, sizeof(tmp), "%q-%i", "Unable to test_reactive with drop_sql", result);
|
switch_snprintfv(tmp, sizeof(tmp), "%q-%i", "Unable to test_reactive with drop_sql", result);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ((result = database_interface_handle_exec(database_interface, dbh->native_handle.database_interface_dbh, reactive_sql, NULL)) != SWITCH_STATUS_SUCCESS) {
|
if ((result = database_interface_handle_exec(database_interface, dbh->native_handle.database_interface_dbh, reactive_sql, NULL)) != SWITCH_STATUS_SUCCESS) {
|
||||||
char tmp[100];
|
char tmp[100];
|
||||||
@ -1503,7 +1504,6 @@ SWITCH_DECLARE(switch_bool_t) switch_cache_db_test_reactive_ex(switch_cache_db_h
|
|||||||
r = (result == SWITCH_STATUS_SUCCESS);
|
r = (result == SWITCH_STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case SCDB_TYPE_ODBC:
|
case SCDB_TYPE_ODBC:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user