Commit 25db9ffa authored by Rucha Deodhar's avatar Rucha Deodhar

MDEV-23875 is failing to build on windows.

parent 4f5d5a78
...@@ -2864,7 +2864,7 @@ static File create_file(THD *thd, char *path, sql_exchange *exchange, ...@@ -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)))
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment