From 6c8b7971ae77bab2c50e2bbddc7b55ba85432597 Mon Sep 17 00:00:00 2001 From: Valentin Rakush Date: Mon, 21 Oct 2019 18:50:41 +0000 Subject: [PATCH] Remove redundant info from message --- include/proxysql_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/proxysql_debug.h b/include/proxysql_debug.h index 12da2c1e5..70f1c8b4e 100644 --- a/include/proxysql_debug.h +++ b/include/proxysql_debug.h @@ -112,7 +112,7 @@ extern int gdbg; #define ASSERT_SQLITE3(cond, arg, db) \ do { \ if (!cond) { \ - proxy_error("SQLite3 error on %s:%d:%s(). Return corde %d. Error message: %s\n", __FILE__, __LINE__, __func__, arg, sqlite3_errmsg(db->get_db())); \ + proxy_error("SQLite3 error with return corde %d. Error message: %s\n", arg, sqlite3_errmsg(db->get_db())); \ exit(EXIT_FAILURE); \ } \ } while(0)