diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-06-17 15:00:30 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-06-17 15:00:30 +0000 |
commit | 7f6b2ffc60135a8340213fe8d5d0b70e479e3ac1 (patch) | |
tree | 90325238fc9a9d9a7e8818e76b60cc9e011242aa /src/mysql/ngx_mysql.c | |
parent | c2eb2cf4cba5f47fbc33eebe279f0d3855401421 (diff) | |
download | nginx-7f6b2ffc60135a8340213fe8d5d0b70e479e3ac1.tar.gz nginx-7f6b2ffc60135a8340213fe8d5d0b70e479e3ac1.zip |
*) back out r2040
*) refactor ngx_palloc()
*) introduce ngx_pnalloc()
*) additional pool blocks have smaller header
Diffstat (limited to 'src/mysql/ngx_mysql.c')
-rw-r--r-- | src/mysql/ngx_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql/ngx_mysql.c b/src/mysql/ngx_mysql.c index fd98f2b30..eedf6773b 100644 --- a/src/mysql/ngx_mysql.c +++ b/src/mysql/ngx_mysql.c @@ -215,7 +215,7 @@ ngx_mysql_read_server_greeting(ngx_event_t *rev) len += 20; } - auth = ngx_palloc(m->pool, len); + auth = ngx_pnalloc(m->pool, len); if (auth == NULL) { ngx_mysql_close(m, NGX_ERROR); return; |