diff options
author | Edward Rudd | 2004-04-17 15:14:12 +0000 |
---|---|---|
committer | Edward Rudd | 2004-04-17 15:14:12 +0000 |
commit | 0eb391e9f9e44f15c03f1d8d5414c806413f50fb (patch) | |
tree | 256ecb77d74fa09b716f4497b6893a3f6f851284 /mod_log_sql_mysql.c | |
parent | 8ee3532f8b6c454f2600e6c3b47362d22b7cf536 (diff) |
beginnings of postgresql driver integrated into autoconf
removed log_error from apache20.h (aliased to ap_log_rerror)
Diffstat (limited to 'mod_log_sql_mysql.c')
-rw-r--r-- | mod_log_sql_mysql.c | 7 |
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 | ||