MDEV-23875 is failing to build on windows.
This commit is contained in:
parent
4f5d5a7857
commit
25db9ffa8b
@ -2864,7 +2864,7 @@ static File create_file(THD *thd, char *path, sql_exchange *exchange,
|
|||||||
#ifdef HAVE_FCHMOD
|
#ifdef HAVE_FCHMOD
|
||||||
(void) fchmod(file, 0644); // Because of umask()
|
(void) fchmod(file, 0644); // Because of umask()
|
||||||
#else
|
#else
|
||||||
(void) chmod(path, 0644;
|
(void) chmod(path, 0644);
|
||||||
#endif
|
#endif
|
||||||
if (init_io_cache(cache, file, 0L, WRITE_CACHE, 0L, 1, MYF(MY_WME)))
|
if (init_io_cache(cache, file, 0L, WRITE_CACHE, 0L, 1, MYF(MY_WME)))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user