/**
 * Captures a table event before row event.
 * 
 * @param event
 * @return 
 */
mysql::Binary_log_event *Table_map_event_handler::process_event(mysql::Table_map_event *event)
{
    boost::uint64_t table_id = event->table_id;

    if (table_map.find(table_id) == table_map.end())
    {
        table_map.insert(event_pair(table_id, event));
    }

    return 0;
}
Beispiel #2
0
void 
Sequencer::set_command(const jack_nframes_t time, Command* command)
{
	events.insert(event_pair(time, command));
}