Mercurial > hg > nginx
comparison src/mysql/ngx_http_mysql_test.c @ 1710:20a0f2880d45 stable-0.5
r1560 merge:
use pool instead of ngx_conf_t
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 12 Dec 2007 16:51:43 +0000 |
parents | a0310ac2814f |
children | 2a92804f4109 |
comparison
equal
deleted
inserted
replaced
1709:a179755ee1ea | 1710:20a0f2880d45 |
---|---|
185 ngx_memzero(&u, sizeof(ngx_url_t)); | 185 ngx_memzero(&u, sizeof(ngx_url_t)); |
186 | 186 |
187 u.url = value[1]; | 187 u.url = value[1]; |
188 u.default_port = 3306; | 188 u.default_port = 3306; |
189 | 189 |
190 if (ngx_parse_url(cf, &u) != NGX_OK) { | 190 if (ngx_parse_url(cf->pool, &u) != NGX_OK) { |
191 if (u.err) { | 191 if (u.err) { |
192 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, | 192 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, |
193 "%s in upstream \"%V\"", u.err, &u.url); | 193 "%s in upstream \"%V\"", u.err, &u.url); |
194 } | 194 } |
195 | 195 |