summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorserg@serg.mylan <>2005-02-16 17:34:02 +0100
committerserg@serg.mylan <>2005-02-16 17:34:02 +0100
commit5ddb6354a5b550a6a3b961106f8bbd0f3b07ab4c (patch)
tree035ac3e99dc2b1a103e3b2fd04896b2e3ef10421 /sql/log.cc
parentfd828e5b4d7f20a64bccfc25a096ca94760bcec9 (diff)
downloadmariadb-git-5ddb6354a5b550a6a3b961106f8bbd0f3b07ab4c.tar.gz
after merge fixes
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/sql/log.cc b/sql/log.cc
index ca9cb6e3238..7d6f2abb022 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -64,14 +64,11 @@ static handlerton binlog_hton = {
this function is mostly a placeholder.
conceptually, binlog initialization (now mostly done in MYSQL_LOG::open)
should be moved here.
-
- for now, we fail if binlog is closed (mysql_bin_log.open() failed for some
- reason) - it'll make mysqld to shutdown.
*/
handlerton *binlog_init()
{
- return mysql_bin_log.is_open() : &binlog_hton : 0;
+ return &binlog_hton;
}
static int binlog_close_connection(THD *thd)