summaryrefslogtreecommitdiffhomepage
path: root/src/mysql/ngx_http_mysql_test.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-12-12 16:51:43 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-12-12 16:51:43 +0000
commit6525b755c0c5e075a6a57a320ec0cb76b7221728 (patch)
tree9fb8ad48b79365a040045c31784e8b63ccbe7bdd /src/mysql/ngx_http_mysql_test.c
parent71704b27c9eea7810f1d5158240b4d464629abe1 (diff)
downloadnginx-6525b755c0c5e075a6a57a320ec0cb76b7221728.tar.gz
nginx-6525b755c0c5e075a6a57a320ec0cb76b7221728.tar.bz2
r1560 merge:
use pool instead of ngx_conf_t
Diffstat (limited to 'src/mysql/ngx_http_mysql_test.c')
-rw-r--r--src/mysql/ngx_http_mysql_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql/ngx_http_mysql_test.c b/src/mysql/ngx_http_mysql_test.c
index f809326ac..789274337 100644
--- a/src/mysql/ngx_http_mysql_test.c
+++ b/src/mysql/ngx_http_mysql_test.c
@@ -187,7 +187,7 @@ ngx_http_mysql_test(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
u.url = value[1];
u.default_port = 3306;
- if (ngx_parse_url(cf, &u) != NGX_OK) {
+ if (ngx_parse_url(cf->pool, &u) != NGX_OK) {
if (u.err) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"%s in upstream \"%V\"", u.err, &u.url);