diff options
author | louiz’ <louiz@louiz.org> | 2018-01-14 21:46:49 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-01-14 21:46:49 +0100 |
commit | 7e64a2e361adcdbd2fce5ad76051a150b4de062d (patch) | |
tree | b90208a43341ba626fffb42a6a6d63dd126ba561 /CMakeLists.txt | |
parent | 3cd649023680bd49f9865fd62474d4db6a9d7c68 (diff) | |
download | biboumi-7e64a2e361adcdbd2fce5ad76051a150b4de062d.tar.gz biboumi-7e64a2e361adcdbd2fce5ad76051a150b4de062d.tar.bz2 biboumi-7e64a2e361adcdbd2fce5ad76051a150b4de062d.tar.xz biboumi-7e64a2e361adcdbd2fce5ad76051a150b4de062d.zip |
Add a DEBUG_SQL_QUERIES to log info about the executed SQL queries
fix #3324
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 155b73a..d19a84e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,6 +193,9 @@ file(GLOB source_network src/network/*.[hc]pp) add_library(network OBJECT ${source_network}) +option(DEBUG_SQL_QUERIES + "If set to true, every SQL statement executed will be logged and timed" + OFF) if(SQLITE3_FOUND OR PQ_FOUND) file(GLOB source_database src/database/*.[hc]pp) |