Skip to content

Commit

Permalink
Merge pull request #2373 from val214/v2.0.9-sqlite-ok
Browse files Browse the repository at this point in the history
Use assert(0) for better debugging
  • Loading branch information
renecannao authored Nov 7, 2019
2 parents 9cfe1ec + 3de1c1c commit db864bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/proxysql_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ extern int gdbg;
do { \
if (rc!=SQLITE_OK) { \
proxy_error("SQLite3 error with return corde %d. Error message: %s. Shutting down.\n", rc, db?sqlite3_errmsg(db->get_db()):"The pointer to sqlite3 database is null. Cannot get error message."); \
exit(EXIT_FAILURE); \
assert(0); \
} \
} while(0)

Expand Down

0 comments on commit db864bd

Please sign in to comment.