Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed debug output of NULL values

  • Loading branch information...
commit 41bc535999042976ae3fe729c71cb36adbb3da0f 1 parent 32a950c
@arut authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ngx_http_mysql_module.c
View
2  ngx_http_mysql_module.c
@@ -344,7 +344,7 @@ ngx_int_t ngx_http_mysql_handler(ngx_http_request_t *r) {
value = row[n];
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
- "MySQL value returned '%s'", value);
+ "MySQL value returned '%s'", value ? value : "NULL");
len = value ? strlen(value) : 0;
Please sign in to comment.
Something went wrong with that request. Please try again.