summaryrefslogtreecommitdiff
path: root/mysys/mf_tempdir.c
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-08-17 17:20:09 +0400
committerSergei Golubchik <sergii@pisem.net>2013-08-17 17:20:09 +0400
commitc06eaf21b78093524e1a39c55415d4eab3d2cd78 (patch)
tree0b0e1ed3d8c1e877f2e66651cf999b5af5e64975 /mysys/mf_tempdir.c
parent758b012ff23597faa099a2f9562a54f1bae2cca6 (diff)
downloadmariadb-git-c06eaf21b78093524e1a39c55415d4eab3d2cd78.tar.gz
MDEV-4165 [PATCH] RFE: make tmpdir a build-time configurable option
support -DTMPDIR=/path in CMakeLists.txt Patch by Honza Horak.
Diffstat (limited to 'mysys/mf_tempdir.c')
-rw-r--r--mysys/mf_tempdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_tempdir.c b/mysys/mf_tempdir.c
index eceb90bb619..e6b56f7d1d0 100644
--- a/mysys/mf_tempdir.c
+++ b/mysys/mf_tempdir.c
@@ -43,7 +43,7 @@ my_bool init_tmpdir(MY_TMPDIR *tmpdir, const char *pathlist)
pathlist=getenv("TMP");
#endif
if (!pathlist || !pathlist[0])
- pathlist=(char*) P_tmpdir;
+ pathlist=(char*) DEFAULT_TMPDIR;
}
do
{