summaryrefslogtreecommitdiff
path: root/mysql-test/t/long_tmpdir-master.opt
diff options
context:
space:
mode:
authorunknown <kaa@polly.local>2007-06-11 23:06:20 +0400
committerunknown <kaa@polly.local>2007-06-11 23:06:20 +0400
commit1c4ab3106e7b640e5a277ee03e5f275c1699ca17 (patch)
treeaa007a7dd4859ebf329bf46e8d029c34ec9fed68 /mysql-test/t/long_tmpdir-master.opt
parent3ac87034ca389be09ce80d982f0e13f653f98cb4 (diff)
downloadmariadb-git-1c4ab3106e7b640e5a277ee03e5f275c1699ca17.tar.gz
Fix for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long"
In create_tmp_table() don't set full table path as a table name. Other code assumes table names to not exceed NAME_LEN bytes. sql/sql_select.cc: In create_tmp_table() don't set full table path as a table name. Other code assumes table names to not exceed NAME_LEN bytes. mysql-test/r/long_tmpdir.result: Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long" mysql-test/t/long_tmpdir-master.opt: Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long" mysql-test/t/long_tmpdir-master.sh: Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long" mysql-test/t/long_tmpdir.test: Added testcase for bug #29015 "Stack overflow in processing temporary table name when tmpdir path is long"
Diffstat (limited to 'mysql-test/t/long_tmpdir-master.opt')
-rw-r--r--mysql-test/t/long_tmpdir-master.opt1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/long_tmpdir-master.opt b/mysql-test/t/long_tmpdir-master.opt
new file mode 100644
index 00000000000..398abfc4632
--- /dev/null
+++ b/mysql-test/t/long_tmpdir-master.opt
@@ -0,0 +1 @@
+--tmpdir=$MYSQLTEST_VARDIR/tmp/long_temporary_directory_path_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789