diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-07-18 23:04:24 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-07-18 23:04:24 +0200 |
commit | 4e46d8e5bff140f2549841167dc4b65a3c0a645d (patch) | |
tree | c6612dcc1d0fbd801c084e6c36307d9e5913a293 /sql | |
parent | 9a02c69f5c6766eaf552284a2a4dd0f1d26ecd2c (diff) | |
parent | d4d7a8fa62c406be73f6c0f6d75e795293db548b (diff) | |
download | mariadb-git-4e46d8e5bff140f2549841167dc4b65a3c0a645d.tar.gz |
merge with xtradb-5.5.15
fix test cases
Diffstat (limited to 'sql')
-rw-r--r-- | sql/slave.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 1d99d2b606b..1d0781aa7b2 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -1006,6 +1006,8 @@ const char *print_slave_db_safe(const char* db) DBUG_RETURN((db ? db : "")); } +#endif /* HAVE_REPLICATION */ + int init_strvar_from_file(char *var, int max_size, IO_CACHE *f, const char *default_val) { @@ -1037,6 +1039,10 @@ int init_strvar_from_file(char *var, int max_size, IO_CACHE *f, } +/* + when moving these functions to mysys, don't forget to + remove slave.cc from libmysqld/CMakeLists.txt +*/ int init_intvar_from_file(int* var, IO_CACHE* f, int default_val) { char buf[32]; @@ -1165,6 +1171,8 @@ err: DBUG_RETURN(ret); } +#ifdef HAVE_REPLICATION + /* Check if the error is caused by network. @param[in] errorno Number of the error. |