]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4117 --resolve
authorKen Rice <krice@freeswitch.org>
Wed, 18 Apr 2012 14:33:05 +0000 (09:33 -0500)
committerKen Rice <krice@freeswitch.org>
Wed, 18 Apr 2012 14:33:10 +0000 (09:33 -0500)
src/switch_core_sqldb.c

index e939981aa0286e7c73e0f3c6c4b9b6c9116ba9ad..cddf6402456b0004bd668b8c5ed0f27185295307 100644 (file)
@@ -903,7 +903,7 @@ SWITCH_DECLARE(switch_bool_t) switch_cache_db_test_reactive(switch_cache_db_hand
                                                switch_core_db_exec(dbh->native_handle.core_db_dbh, drop_sql, NULL, NULL, &errmsg);
                                        }
                                        if (errmsg) {
-                                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "SQL ERR [%s]\n[%s]\n", errmsg, reactive_sql);
+                                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "SQL ERR [%s]\n[%s]\n", errmsg, drop_sql);
                                                switch_core_db_free(errmsg);
                                                errmsg = NULL;
                                        }