Make sure that the filename for temporary tables is built with fn_format()

so that extra slashes are handled in tmpdir. (Bug #8497)


sql/ha_heap.cc:
  use constants instead of magic integers on fn_format() calls
sql/sql_select.cc:
  Construct filename for temporary tables using fn_format() to get consistent
  filenames.
mysql-test/t/temp_table.test:
  Add new regression test
mysql-test/r/temp_table.result:
  Add new test results
This commit is contained in:
unknown 2005-03-01 19:05:48 -08:00
commit 1430a2a443
5 changed files with 27 additions and 4 deletions

View file

@ -0,0 +1 @@
--tmpdir=$MYSQL_TEST_DIR/var//tmp