diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-07-01 17:53:06 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-07-01 17:53:06 +0300 |
commit | 3c2a5ad3e80edc5b3ffffd033732556a8bef13a4 (patch) | |
tree | 83793ba771411c9c1c2582d2c73c9b722e7753c5 /sql/ha_partition.cc | |
parent | ba5b2e7b291a9b4bfb97dcdf3c53ca49fc91a4e7 (diff) | |
parent | 3dff84cd158ed09e9c5b1a390af7571fd671f012 (diff) | |
download | mariadb-git-3c2a5ad3e80edc5b3ffffd033732556a8bef13a4.tar.gz |
Merge 10.7 into 10.8
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 60505fce48d..37eba2457fc 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -2447,7 +2447,6 @@ uint ha_partition::del_ren_table(const char *from, const char *to) char *name_buffer_ptr; const char *from_path; const char *to_path= NULL; - uint i; handler **file, **abort_file; THD *thd= ha_thd(); DBUG_ENTER("ha_partition::del_ren_table"); @@ -2487,7 +2486,6 @@ uint ha_partition::del_ren_table(const char *from, const char *to) from_path= get_canonical_filename(*file, from, from_lc_buff); if (to != NULL) to_path= get_canonical_filename(*file, to, to_lc_buff); - i= 0; do { if (unlikely((error= create_partition_name(from_buff, sizeof(from_buff), @@ -2512,7 +2510,6 @@ uint ha_partition::del_ren_table(const char *from, const char *to) name_buffer_ptr= strend(name_buffer_ptr) + 1; if (unlikely(error)) save_error= error; - i++; } while (*(++file)); if (to != NULL) { |