summaryrefslogtreecommitdiffstats
path: root/mod_log_sql_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'mod_log_sql_mysql.c')
-rw-r--r--mod_log_sql_mysql.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mod_log_sql_mysql.c b/mod_log_sql_mysql.c
index 5a654f3..3749d64 100644
--- a/mod_log_sql_mysql.c
+++ b/mod_log_sql_mysql.c
@@ -1,6 +1,4 @@
1/* $Id: mod_log_sql_mysql.c,v 1.4 2004/03/05 00:30:58 urkle Exp $ */ 1/* $Id$ */
2#include "mysql.h"
3#include "mysqld_error.h"
4 2
5#if defined(WITH_APACHE20) 3#if defined(WITH_APACHE20)
6# include "apache20.h" 4# include "apache20.h"
@@ -25,6 +23,9 @@
25 23
26#include "mod_log_sql.h" 24#include "mod_log_sql.h"
27 25
26#include "mysql.h"
27#include "mysqld_error.h"
28
28/* The enduser won't modify these */ 29/* The enduser won't modify these */
29#define MYSQL_ERROR(mysql) ((mysql)?(mysql_error(mysql)):"MySQL server has gone away") 30#define MYSQL_ERROR(mysql) ((mysql)?(mysql_error(mysql)):"MySQL server has gone away")
30 31