summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-02-16 17:34:02 +0100
committerunknown <serg@serg.mylan>2005-02-16 17:34:02 +0100
commitde1dcee97e34f43b810a9329479e7e68b120eb55 (patch)
tree035ac3e99dc2b1a103e3b2fd04896b2e3ef10421 /sql/log.cc
parent2d8b51991cb5d639254786edb6c446adbd4eb31c (diff)
downloadmariadb-git-de1dcee97e34f43b810a9329479e7e68b120eb55.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)