MySQL 9.0.0
Source Code Documentation
sql_rename.h File Reference

Go to the source code of this file.

Functions

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.

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