summaryrefslogtreecommitdiff
path: root/mysys/my_static.c
diff options
context:
space:
mode:
authormsvensson@pilot.blaudden <>2007-03-23 11:01:47 +0100
committermsvensson@pilot.blaudden <>2007-03-23 11:01:47 +0100
commit593ef4260680e733abf47ea19541bbf31839a006 (patch)
treef97ccf8d0efcbd94b2aed52124e95c863b8bedce /mysys/my_static.c
parent433d3e6cf79a741228b0fbef68ca2ac840d138b0 (diff)
downloadmariadb-git-593ef4260680e733abf47ea19541bbf31839a006.tar.gz
Bug#26233 very suspect code in mf_tempfile.c, in function create_temp_file()
- Rework the windows implementation in 'create_temp_file' to be thread safe by using GetTempFileName instad of fiddling with "environ"
Diffstat (limited to 'mysys/my_static.c')
-rw-r--r--mysys/my_static.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mysys/my_static.c b/mysys/my_static.c
index 694e5058bb0..77dbffb911e 100644
--- a/mysys/my_static.c
+++ b/mysys/my_static.c
@@ -69,11 +69,6 @@ my_bool my_use_large_pages= 0;
uint my_large_page_size= 0;
#endif
- /* from my_tempnam */
-#if !defined(HAVE_TEMPNAM) || defined(HPUX11)
-int _my_tempnam_used=0;
-#endif
-
/* from safe_malloc */
uint sf_malloc_prehunc=0, /* If you have problem with core- */
sf_malloc_endhunc=0, /* dump when malloc-message.... */