Fix compile error when HAVE_BERKELEY_DB
This commit is contained in:
parent
fb51d6eca5
commit
f5f88703b2
@ -3451,7 +3451,7 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name,
|
|||||||
shutdown.
|
shutdown.
|
||||||
*/
|
*/
|
||||||
char path[FN_REFLEN];
|
char path[FN_REFLEN];
|
||||||
build_table_path(path, sizeof(path), new_db, table_name);
|
build_table_path(path, sizeof(path), new_db, table_name, "");
|
||||||
table=open_temporary_table(thd, path, new_db, tmp_name,0);
|
table=open_temporary_table(thd, path, new_db, tmp_name,0);
|
||||||
if (table)
|
if (table)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user