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)