Print SQL query if SQL_DEBUG is defined (or in debug builds)
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user