From 1c4ab3106e7b640e5a277ee03e5f275c1699ca17 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 11 Jun 2007 23:06:20 +0400 Subject: 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" --- mysql-test/r/long_tmpdir.result | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 mysql-test/r/long_tmpdir.result (limited to 'mysql-test/r/long_tmpdir.result') diff --git a/mysql-test/r/long_tmpdir.result b/mysql-test/r/long_tmpdir.result new file mode 100644 index 00000000000..7e6dd34ced1 --- /dev/null +++ b/mysql-test/r/long_tmpdir.result @@ -0,0 +1,3 @@ +create view v1 as select table_name from information_schema.tables; +drop view v1; +End of 5.0 tests -- cgit v1.2.1