diff --git a/include/proxysql_debug.h b/include/proxysql_debug.h index 4e60918df..56ed7188d 100644 --- a/include/proxysql_debug.h +++ b/include/proxysql_debug.h @@ -112,7 +112,7 @@ extern int gdbg; #define ASSERT_SQLITE_OK(rc, db) \ do { \ if (rc!=SQLITE_OK) { \ - proxy_error("SQLite3 error with return corde %d. Error message: %s. Shutting down.\n", rc, db?(*proxy_sqlite3_errmsg)(db->get_db()):"The pointer to sqlite3 database is null. Cannot get error message."); \ + proxy_error("SQLite3 error with return code %d. Error message: %s. Shutting down.\n", rc, db?(*proxy_sqlite3_errmsg)(db->get_db()):"The pointer to sqlite3 database is null. Cannot get error message."); \ assert(0); \ } \ } while(0)