diff src/mysql/ngx_mysql.c @ 2049:2a92804f4109

*) back out r2040 *) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
author Igor Sysoev <igor@sysoev.ru>
date Tue, 17 Jun 2008 15:00:30 +0000
parents 6a60502db714
children d620f497c50f
line wrap: on
line diff
--- a/src/mysql/ngx_mysql.c
+++ b/src/mysql/ngx_mysql.c
@@ -215,7 +215,7 @@ ngx_mysql_read_server_greeting(ngx_event
         len += 20;
     }
 
-    auth = ngx_palloc(m->pool, len);
+    auth = ngx_pnalloc(m->pool, len);
     if (auth == NULL) {
         ngx_mysql_close(m, NGX_ERROR);
         return;