mariadb/libmysqld
Tor Didriksen ba22c3f29a Bug#16316074 RFE: MAKE TMPDIR A BUILD-TIME CONFIGURABLE OPTION
Bug#68338    RFE: make tmpdir a build-time configurable option

Background: Some distributions use tmpfs for mounting /tmp by
default, which has some advantages, but brings also new
issues. Fedora started using tmpfs on /tmp in version 18 for
example. If not configured otherwise in my.cnf, MySQL uses
system's constant P_tmpdir expanded to /tmp on Linux. This can
introduce some problems with limited space in /tmp and also some
data loss in case of replication slave [1].

In case distributions would like to use /var/tmp, which should be
better for MySQL purposes, then we have to patch the source or
change tmpdir option in my.cnf, which is however not updated in
case it has already existed.

Thus, it would be useful to be able to specify default tmpdir
path using a configure option, while using P_tmpdir in case it is
not defined explicitly.

Based on a contribution from Honza Horak
2013-12-18 11:05:18 +01:00
..
examples Correcting the permissions of the executable files. 2013-03-20 17:50:15 +01:00
CMakeLists.txt Updated/added copyright headers 2012-02-16 10:48:16 +01:00
emb_qcache.cc Updated/added copyright headers 2011-06-30 17:46:53 +02:00
emb_qcache.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
embedded_priv.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
lib_sql.cc Bug#16316074 RFE: MAKE TMPDIR A BUILD-TIME CONFIGURABLE OPTION 2013-12-18 11:05:18 +01:00
libmysqld.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
libmysqld.def Fix build error with CMake 2.8 (mysql_stmt_next_result not exported 2009-12-22 21:49:37 +01:00
libmysqld.rc query_id and my_xid -> ulonglong 2005-01-27 22:38:56 +01:00
resource.h query_id and my_xid -> ulonglong 2005-01-27 22:38:56 +01:00