MDEV-23875 is failing to build on windows.

This commit is contained in:
Rucha Deodhar 2021-01-04 14:57:15 +05:30
parent 4f5d5a7857
commit 25db9ffa8b

View File

@ -2864,7 +2864,7 @@ static File create_file(THD *thd, char *path, sql_exchange *exchange,
#ifdef HAVE_FCHMOD
(void) fchmod(file, 0644); // Because of umask()
#else
(void) chmod(path, 0644;
(void) chmod(path, 0644);
#endif
if (init_io_cache(cache, file, 0L, WRITE_CACHE, 0L, 1, MYF(MY_WME)))
{