Print SQL query if SQL_DEBUG is defined (or in debug builds)

This commit is contained in:
2020-10-06 15:01:10 +01:00
parent 4937b58c98
commit eba4a6027c

View File

@@ -11,7 +11,7 @@
uint64_t simpleQuery(struct stored_conn_t *sconn, const char *qry, size_t qry_len) uint64_t simpleQuery(struct stored_conn_t *sconn, const char *qry, size_t qry_len)
{ {
#ifdef DEBUG #if defined DEBUG || defined SQL_DEBUG
printf("QRY: %s\n", qry); printf("QRY: %s\n", qry);
#endif #endif