diff options
author | gshchepa/uchum@gleb.loc <> | 2007-08-21 01:39:39 +0500 |
---|---|---|
committer | gshchepa/uchum@gleb.loc <> | 2007-08-21 01:39:39 +0500 |
commit | 5d3809c2644a3359c9b6c9a1fddf79044358a163 (patch) | |
tree | c76ad35d9d0ced4f5985670cade366090de7954c /sql/sql_view.cc | |
parent | 222fddcb79e6746a618a671b0d44ce7856146d40 (diff) | |
download | mariadb-git-5d3809c2644a3359c9b6c9a1fddf79044358a163.tar.gz |
Fixed bug #30287.
The server created temporary tables for filesort in the working directory
instead of the specified tmpdir directory.
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r-- | sql/sql_view.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc index 7857ba267c5..56d7a3f8a9d 100644 --- a/sql/sql_view.cc +++ b/sql/sql_view.cc @@ -397,7 +397,13 @@ bool mysql_create_view(THD *thd, TABLE_LIST *views, { Item_field *field; if ((field= item->filed_for_view_update())) + { + /* + any_privileges may be reset later by the Item_field::set_field + method in case of a system temporary table. + */ field->any_privileges= 1; + } } } #endif |