Mercurial > hg > nginx
view src/mysql/config @ 4161:010a0907bc95 stable-1.0
Merging r4077, r4101, r4102:
open_file_cache related fixes:
*) Bugfix: open_file_cache lost is_directio flag.
On file retest open_file_cache lost is_directio if file wasn't changed.
This caused unaligned operations under Linux to fail with EINVAL.
It wasn't noticeable with AIO though, as errors wasn't properly logged.
*) Bugfix: open_file_cache did not update file info on retest.
If file inode was not changed, cached file information was not updated
on retest. As a result stale information might be cached forever if file
attributes was changed and/or file was extended.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 30 Sep 2011 13:57:44 +0000 |
parents | 7cbef16c71a1 |
children |
line wrap: on
line source
ngx_addon_name=ngx_mysql HTTP_MODULES="$HTTP_MODULES ngx_http_mysql_test_module" HTTP_INCS="$HTTP_INCS $ngx_addon_dir" HTTP_DEPS="$HTTP_DEPS $ngx_addon_dir/ngx_mysql.h" #CORE_LIBS="$CORE_LIBS -lmd" USE_SHA1=YES NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_mysql.c" NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_mysql_test.c"