mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
MDEV-4165 [PATCH] RFE: make tmpdir a build-time configurable option
support -DTMPDIR=/path in CMakeLists.txt Patch by Honza Horak.
This commit is contained in:
parent
758b012ff2
commit
c06eaf21b7
6 changed files with 14 additions and 4 deletions
|
|
@ -559,7 +559,7 @@ int init_embedded_server(int argc, char **argv, char **groups)
|
|||
opt_mysql_tmpdir=getenv("TMP");
|
||||
#endif
|
||||
if (!opt_mysql_tmpdir || !opt_mysql_tmpdir[0])
|
||||
opt_mysql_tmpdir=(char*) P_tmpdir; /* purecov: inspected */
|
||||
opt_mysql_tmpdir=(char*) DEFAULT_TMPDIR; /* purecov: inspected */
|
||||
|
||||
init_ssl();
|
||||
umask(((~my_umask) & 0666));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue