mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-23875 is failing to build on windows.
This commit is contained in:
@ -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)))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user