diff options
Diffstat (limited to 'mod_log_sql.c')
-rw-r--r-- | mod_log_sql.c | 12 |
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*/ |