mirror of
https://github.com/MariaDB/server.git
synced 2025-07-31 21:07:11 +00:00
yassl template instantiation - don't do too much
mysys/my_access.c: remove incorrect fix comments extra/yassl/taocrypt/src/integer.cpp: yassl template instantiation - don't do too much extra/yassl/taocrypt/src/template_instnt.cpp: yassl template instantiation - don't do too much mysys/my_access.c: remove incorrect fix sql/item_func.cc: a couple of comment. assert added.
This commit is contained in:
@ -44,7 +44,7 @@ int my_access(const char *path, int amode)
|
||||
|
||||
result= GetFileAttributesEx(path, GetFileExInfoStandard, &fileinfo);
|
||||
if (! result ||
|
||||
(fileinfo.dwFileAttributes & FILE_ATTRIBUTE_READONLY) && (amode & F_OK))
|
||||
(fileinfo.dwFileAttributes & FILE_ATTRIBUTE_READONLY) && (amode & W_OK))
|
||||
{
|
||||
my_errno= errno= EACCES;
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user