MySQL 8.3.0
Source Code Documentation
sql_rename.h File Reference

Go to the source code of this file.


bool mysql_rename_tables (THD *thd, Table_ref *table_list)
 Rename tables from the list. More...

Function Documentation

◆ mysql_rename_tables()

bool mysql_rename_tables ( THD thd,
Table_ref table_list 

Rename tables from the list.

thdThread context.
table_listEvery two entries in the table_list form a pair of original name and the new name.
True - on failure, false - on success.