mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
add auto-create-schemas param to switch.conf.xml
This commit is contained in:
@@ -196,6 +196,11 @@ SWITCH_DECLARE(void) switch_core_db_test_reactive(switch_core_db_t *db, char *te
|
||||
{
|
||||
char *errmsg;
|
||||
|
||||
if (switch_test_flag((&runtime), SCF_AUTO_SCHEMAS)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (db) {
|
||||
if (test_sql) {
|
||||
switch_core_db_exec(db, test_sql, NULL, NULL, &errmsg);
|
||||
|
||||
Reference in New Issue
Block a user