1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Add const to get_foreign_key_list/get_parent_foreign_key_list

This commit is contained in:
Nikita Malyavin
2023-05-28 00:23:41 +03:00
committed by Sergei Golubchik
parent 500787c72a
commit b3f988d260
5 changed files with 19 additions and 19 deletions

View File

@@ -4431,7 +4431,7 @@ public:
@return The handler error code or zero for success.
*/
virtual int
get_foreign_key_list(THD *thd, List<FOREIGN_KEY_INFO> *f_key_list)
get_foreign_key_list(const THD *thd, List<FOREIGN_KEY_INFO> *f_key_list)
{ return 0; }
/**
Get the list of foreign keys referencing this table.
@@ -4445,7 +4445,7 @@ public:
@return The handler error code or zero for success.
*/
virtual int
get_parent_foreign_key_list(THD *thd, List<FOREIGN_KEY_INFO> *f_key_list)
get_parent_foreign_key_list(const THD *thd, List<FOREIGN_KEY_INFO> *f_key_list)
{ return 0; }
virtual uint referenced_by_foreign_key() { return 0;}
virtual void init_table_handle_for_HANDLER()