summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-25 15:07:51 +0200
committermonty@mashka.mysql.fi <>2003-01-25 15:07:51 +0200
commitfa7a94ed14f0bdd39b99abfca872444fdb5fff11 (patch)
treeec47c385448c97b6f07f4d2851b745236f7e98dd /sql/slave.h
parent9ec97f2c08fbc022d597e30e249ae403b467dc6b (diff)
downloadmariadb-git-fa7a94ed14f0bdd39b99abfca872444fdb5fff11.tar.gz
Added timeout for wait_for_master_pos
Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000 Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
Diffstat (limited to 'sql/slave.h')
-rw-r--r--sql/slave.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/slave.h b/sql/slave.h
index cb368ad26b1..72ddcd8b471 100644
--- a/sql/slave.h
+++ b/sql/slave.h
@@ -226,7 +226,8 @@ typedef struct st_relay_log_info
pthread_mutex_unlock(&data_lock);
}
- int wait_for_pos(THD* thd, String* log_name, ulonglong log_pos);
+ int wait_for_pos(THD* thd, String* log_name, longlong log_pos,
+ longlong timeout);
} RELAY_LOG_INFO;
@@ -390,6 +391,7 @@ int tables_ok(THD* thd, TABLE_LIST* tables);
*/
int db_ok(const char* db, I_List<i_string> &do_list,
I_List<i_string> &ignore_list );
+int db_ok_with_wild_table(const char *db);
int add_table_rule(HASH* h, const char* table_spec);
int add_wild_table_rule(DYNAMIC_ARRAY* a, const char* table_spec);