From c06eaf21b78093524e1a39c55415d4eab3d2cd78 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sat, 17 Aug 2013 17:20:09 +0400 Subject: MDEV-4165 [PATCH] RFE: make tmpdir a build-time configurable option support -DTMPDIR=/path in CMakeLists.txt Patch by Honza Horak. --- mysys/mf_tempdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysys/mf_tempdir.c') 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 { -- cgit v1.2.1