summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2020-05-11 22:01:40 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2020-05-18 18:11:40 +0200
commite2bc0292115000102b7fcca5e2f59a0d0289d475 (patch)
tree42199c0bcb647e5003cd635d819a6c3784e39e7e /include/my_sys.h
parentd9b81210fdd00d07c2b440284d40c72ec3dfa5cb (diff)
downloadmariadb-git-e2bc0292115000102b7fcca5e2f59a0d0289d475.tar.gz
MDEV-7021 Pass directory security descriptor from mysql_install_db.exe to bootstrap
This ensures that directory permissions are correct in all cases, even if boostrap is passed non-standard locations for innodb. Directory permissions are copied from the datadir.
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 639429e9c26..ee1d08dc5e4 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -271,6 +271,10 @@ extern int my_umask_dir,
my_recived_signals, /* Signals we have got */
my_safe_to_handle_signal, /* Set when allowed to SIGTSTP */
my_dont_interrupt; /* call remember_intr when set */
+#ifdef _WIN32
+extern SECURITY_ATTRIBUTES my_dir_security_attributes;
+LPSECURITY_ATTRIBUTES my_win_file_secattr();
+#endif
extern my_bool my_use_symdir;
extern ulong my_default_record_cache_size;