diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2014-07-19 22:02:53 +0000 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2014-07-19 22:02:53 +0000 |
commit | 3a25c513f3008c2b025070258af7f0bcd52c3de8 (patch) | |
tree | 06fbb5b306f192250e8011f184182eacba656186 /modules/database | |
parent | ac8e58d086f561d18fac74b9fef7d36278407972 (diff) | |
download | httpd-3a25c513f3008c2b025070258af7f0bcd52c3de8.tar.gz |
Add missing APLOGNO.
Refactor to keep APLOGNO on the same line as ap_log_error, when applicable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611978 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/database')
-rw-r--r-- | modules/database/mod_dbd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/database/mod_dbd.c b/modules/database/mod_dbd.c index 5ff1ea2052..72126652e2 100644 --- a/modules/database/mod_dbd.c +++ b/modules/database/mod_dbd.c @@ -327,7 +327,7 @@ DBD_DECLARE_NONSTD(void) ap_dbd_prepare(server_rec *s, const char *query, if (apr_hash_get(svr->cfg->queries, label, APR_HASH_KEY_STRING) && strcmp(query, "")) { - ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s, + ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s, APLOGNO(02653) "conflicting SQL statements with label %s", label); } @@ -799,7 +799,8 @@ DBD_DECLARE_NONSTD(ap_dbd_t*) ap_dbd_open(apr_pool_t *pool, server_rec *s) /* If nothing is configured, we shouldn't be here */ if (cfg->name == no_dbdriver) { - ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "not configured"); + ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(02654) + "not configured"); return NULL; } @@ -822,7 +823,7 @@ DBD_DECLARE_NONSTD(ap_dbd_t*) ap_dbd_open(apr_pool_t *pool, server_rec *s) rv = apr_reslist_acquire(group->reslist, (void*) &rec); if (rv != APR_SUCCESS) { - ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, + ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(02655) "Failed to acquire DBD connection from pool!"); return NULL; } |