summaryrefslogtreecommitdiffstatsabout
path: root/mod_log_sql.c
diff options
context:
space:
mode:
authorEdward Rudd <urkle@outoforder.cc>2004-03-04 05:43:20 (GMT)
committer Edward Rudd <urkle@outoforder.cc>2004-03-04 05:43:20 (GMT)
commita3d0fadb9bbc2a70cac6d46b768822b1875a1811 (patch)
treeae2bacfddb668305470829347009c35f243f8871 /mod_log_sql.c
parentec60974ca79594150b33692683b2d8bb800a896f (diff)
removed all #ifdef DEBUG
Diffstat (limited to 'mod_log_sql.c')
-rw-r--r--mod_log_sql.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/mod_log_sql.c b/mod_log_sql.c
index bce803e..754a224 100644
--- a/mod_log_sql.c
+++ b/mod_log_sql.c
@@ -1,10 +1,4 @@
1/* $Id: mod_log_sql.c,v 1.18 2004/03/04 05:41:12 urkle Exp $ */ 1/* $Id: mod_log_sql.c,v 1.19 2004/03/04 05:43:20 urkle Exp $ */
2/* --------*
3 * DEFINES *
4 * --------*/
5
6/* The enduser may wish to modify this */
7#define DEBUG
8 2
9#if defined(WITH_APACHE20) 3#if defined(WITH_APACHE20)
10# include "apache20.h" 4# include "apache20.h"
@@ -787,9 +781,7 @@ static int log_sql_transaction(request_rec *orig)
787 note_query = apr_psprintf(r->pool, "insert %s into `%s` (id, item, val) values %s", 781 note_query = apr_psprintf(r->pool, "insert %s into `%s` (id, item, val) values %s",
788 /*global_config.insertdelayed?"delayed":*/"", notes_tablename, itemsets); 782 /*global_config.insertdelayed?"delayed":*/"", notes_tablename, itemsets);
789 783
790 #ifdef DEBUG 784 log_error(APLOG_MARK,APLOG_DEBUG,orig->server,"mod_log_sql: note string: %s", note_query);
791 log_error(APLOG_MARK,APLOG_DEBUG,orig->server,"mod_log_sql: note string: %s", note_query);
792 #endif
793 } 785 }
794 786
795 /* Work through the list of headers-out defined by LogSQLWhichHeadersOut*/ 787 /* Work through the list of headers-out defined by LogSQLWhichHeadersOut*/