comparison 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
comparison
equal deleted inserted replaced
2048:824615f3b4ec 2049:2a92804f4109
213 213
214 if (m->passwd->len) { 214 if (m->passwd->len) {
215 len += 20; 215 len += 20;
216 } 216 }
217 217
218 auth = ngx_palloc(m->pool, len); 218 auth = ngx_pnalloc(m->pool, len);
219 if (auth == NULL) { 219 if (auth == NULL) {
220 ngx_mysql_close(m, NGX_ERROR); 220 ngx_mysql_close(m, NGX_ERROR);
221 return; 221 return;
222 } 222 }
223 223