]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update auto-drop test for channels table
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 15 Aug 2011 19:48:05 +0000 (14:48 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 15 Aug 2011 19:48:05 +0000 (14:48 -0500)
src/switch_core_sqldb.c

index b23d082bdf081b6b2f0c77aa8d22fa6c8d827ba6..7495b06302e290991a3aab7bc30c14f1cfda44ae 100644 (file)
@@ -1935,7 +1935,7 @@ switch_status_t switch_core_sqldb_start(switch_memory_pool_t *pool, switch_bool_
        case SCDB_TYPE_ODBC:
                {
                        char *err;
-                       switch_cache_db_test_reactive(dbh, "select call_uuid, read_bit_rate from channels", "DROP TABLE channels", create_channels_sql);
+                       switch_cache_db_test_reactive(dbh, "select call_uuid, read_bit_rate, sent_callee_name from channels", "DROP TABLE channels", create_channels_sql);
                        switch_cache_db_test_reactive(dbh, "select * from detailed_calls where sent_callee_name=''", "DROP VIEW detailed_calls", detailed_calls_sql);
                        switch_cache_db_test_reactive(dbh, "select * from basic_calls where sent_callee_name=''", "DROP VIEW basic_calls", basic_calls_sql);
                        if (runtime.odbc_dbtype == DBTYPE_DEFAULT) {