Skip to content

Commit

Permalink
minor coding style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Nov 11, 2013
1 parent 1fc68fd commit 44df0c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ngx_http_drizzle_processor.c
Expand Up @@ -228,9 +228,9 @@ ngx_http_upstream_drizzle_send_query(ngx_http_request_t *r,
if (ret == DRIZZLE_RETURN_ERROR_CODE) {
if (drizzle_error_code(dc->drizzle) == MYSQL_ER_NO_SUCH_TABLE) {
ngx_log_error(NGX_LOG_NOTICE, c->log, 0,
"failed to send query: %i (%d): %s",
ret, drizzle_error_code(dc->drizzle),
drizzle_error(dc->drizzle));
"failed to send query: %i (%d): %s",
ret, drizzle_error_code(dc->drizzle),
drizzle_error(dc->drizzle));

if (dp->enable_charset && ! dp->has_set_names) {
c->log->action = "sending query to drizzle upstream";
Expand All @@ -247,9 +247,9 @@ ngx_http_upstream_drizzle_send_query(ngx_http_request_t *r,
#endif

ngx_log_error(NGX_LOG_ERR, c->log, 0,
"failed to send query: %d (%d): %s",
(int) ret, drizzle_error_code(dc->drizzle),
drizzle_error(dc->drizzle));
"failed to send query: %d (%d): %s",
(int) ret, drizzle_error_code(dc->drizzle),
drizzle_error(dc->drizzle));

return NGX_HTTP_INTERNAL_SERVER_ERROR;
}
Expand Down

0 comments on commit 44df0c5

Please sign in to comment.