From 2fdcf82ec5acae2bfd03ea00d1158ec5f9d51573 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 14 Sep 2000 16:34:50 -0600 Subject: BACKUP TABLE TO 'directory' RESTORE TABLE FROM 'directory' log on slave when it connects to the master include/mysql_com.h: Added COM_CONNECT_OUT so we can log on the slave when connects to the master sql/ha_myisam.cc: added restore() and backup() sql/ha_myisam.h: Added restore() and backup() sql/handler.cc: restore()/backup() sql/handler.h: restore()/backup() sql/lex.h: BACKUP/RESTORE sql/mysql_priv.h: gave global ( non-static) scope to generate_table() added mysql_backup_table()/mysql_restore_table() sql/slave.cc: Log when slave connects to the master on the slave sql/sql_delete.cc: changed the scope of generate_table() from static to global sql/sql_lex.h: changes for BACKUP TABLE/RESTORE TABLE sql/sql_parse.cc: Changes for BACKUP TABLE/RESTORE TABLE sql/sql_table.cc: Changes for BACKUP TABLE/RESTORE TABLE sql/sql_yacc.yy: BACKUP TABLE/ RESTORE TABLE --- sql/sql_delete.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_delete.cc') diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index 5d21a089283..64e823d53a5 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -24,7 +24,7 @@ This will work even if the .ISM and .ISD tables are destroyed */ -static int generate_table(THD *thd, TABLE_LIST *table_list, +int generate_table(THD *thd, TABLE_LIST *table_list, TABLE *locked_table) { char path[FN_REFLEN]; -- cgit v1.2.1