2
* Copyright (C) 2013 Drizzle Developer Group
3
* Copyright (C) 2013 Kuldeep Porwal
6
* Use and distribution licensed under the BSD license. See
7
* the COPYING file in the parent directory for full text.
9
* summary: Returns objects of every event
13
#include <libdrizzle-5.1/libdrizzle.h>
19
#include"event_data.h"
22
using namespace binlogevent;
24
void EventData::getTableMap(TableMapEvent& tableMap)
26
tableMap.initWithData(_data);
29
void EventData::getRowEvent(RowEvent& writeEvent)
31
writeEvent.initWithData(_data);
33
void EventData::getQueryEvent(QueryEvent& queryEvent)
35
queryEvent.initWithData(_data);
37
void EventData::getXidEvent(XidEvent& xidEvent)
39
xidEvent.initWithData(_data);