summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorRucha Deodhar <rucha.deodhar@mariadb.com>2021-01-04 14:57:15 +0530
committerRucha Deodhar <rucha.deodhar@mariadb.com>2021-01-04 14:57:15 +0530
commit25db9ffa8bdab8a2f2af3c7f154343dd6c6d238f (patch)
treeee0344e4e4369a9f8f327b6f019c95362b521379 /sql
parent4f5d5a7857b48b6c34608f1e8dc2fe354cacd373 (diff)
downloadmariadb-git-25db9ffa8bdab8a2f2af3c7f154343dd6c6d238f.tar.gz
MDEV-23875 is failing to build on windows.
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index b16a750aa9b..2595717572a 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -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)))
{