diff options
author | Gleb Shchepa <gshchepa@mysql.com> | 2008-09-30 17:50:28 +0500 |
---|---|---|
committer | Gleb Shchepa <gshchepa@mysql.com> | 2008-09-30 17:50:28 +0500 |
commit | e20b9de18e0e73ba63069c43f780fae0e571f9ab (patch) | |
tree | a37f8385126af7360a052ee9e205dbcfbac99b30 /sql/parse_file.h | |
parent | b6f4b1c08349dfd6ed2436cd465383a645ced4ad (diff) | |
download | mariadb-git-e20b9de18e0e73ba63069c43f780fae0e571f9ab.tar.gz |
Fixed bug #17823: 'arc' directories inside database directories.
Server created "arc" directories inside database directories and
maintained there useless copies of .frm files.
Creation and renaming procedures of those copies as well as
creation of "arc" directories has been discontinued.
Removal procedure has been kept untouched to be able to
cleanup existent database directories by the DROP DATABASE
query. Also view renaming procedure has been updated to remove
these directories.
Diffstat (limited to 'sql/parse_file.h')
-rw-r--r-- | sql/parse_file.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/parse_file.h b/sql/parse_file.h index ab8b34561fe..ec920b58667 100644 --- a/sql/parse_file.h +++ b/sql/parse_file.h @@ -82,8 +82,9 @@ my_bool sql_create_definition_file(const LEX_STRING *dir, const LEX_STRING *file_name, const LEX_STRING *type, gptr base, File_option *parameters, uint versions); -my_bool rename_in_schema_file(const char *schema, const char *old_name, - const char *new_name, ulonglong revision, +my_bool rename_in_schema_file(THD *thd, + const char *schema, const char *old_name, + const char *new_name, ulonglong revision, uint num_view_backups); class File_parser: public Sql_alloc |