summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2020-08-04 01:52:52 +0300
committerAleksey Midenkov <midenok@gmail.com>2020-08-07 00:00:50 +0300
commit98e7f5f13cdbc0225e1257182b44df6a5c989b89 (patch)
treeb70776ad9b08c231b9c65aedaea738e44d6287d2 /sql/sql_table.cc
parent1e0f005463504b30551f9c07a82791061d5261af (diff)
downloadmariadb-git-bb-10.5-midenok-MDEV-21052.tar.gz
Lowercase table names before locking/acquiringbb-10.5-midenok-MDEV-21052
Fixed test innodb_bug57255
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index c9ce1fff8db..ffd6642b140 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -12520,7 +12520,7 @@ bool TABLE_SHARE::fk_handle_create(THD *thd, FK_create_vector &shares)
@return Error status
*/
-bool Alter_table_ctx::fk_prepare_rename(TABLE *table, Create_field *def,
+bool Alter_table_ctx::fk_prepare_rename(THD *thd, TABLE *table, Create_field *def,
mbd::set<FK_table_to_lock> &fk_tables_to_lock)
{
Table_name altered_table(table->s->db, table->s->table_name);