Fix compile error when HAVE_BERKELEY_DB

This commit is contained in:
jimw@mysql.com 2005-06-01 16:03:41 -07:00
parent fb51d6eca5
commit f5f88703b2

View File

@ -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)
{ {