List:Internals« Previous MessageNext Message »
From:Yuan Wang Date:July 30 2008 1:55pm
Subject:How a storage engine write its own binlog
View as plain text  
We are developing a simple storage engine. This storage engine will
implement a so called "fast update" feature. That is, when a record is
updated, we only update the content in memory, no logging will be
done. There is a backgrould thread which will check the modified
records periodly and write logs. So, the storage engine itself will
write binlog, but I don't know how to do this now. Basically, I have
the following 4 questions:

1. There is a flag HA_HAS_OWN_BINLOGGING in the source, so I think if
we declare this flag in ha_xxx::table_flags, MySQL will not write
binlog?
2. How can I write binlog in my storage engine?
3. Can I return HA_HAS_OWN_BINLOGGING in some cases but don't reture
HA_HAS_OWN_BINLOGGING in other cases?
4. Can a transactional storage engine set the flag HA_HAS_OWN_BINLOGGING

Help needed pls.
Thread
How a storage engine write its own binlogYuan Wang30 Jul
  • Re: How a storage engine write its own binlogPaul McCullagh5 Aug
    • Re: How a storage engine write its own binlogBrian Aker5 Aug