Move binlog event processing into a separate file
This clarifies what parts of the router are specific to the binlogrouter and what are common between the binlogrouter and avrorouter. Ideally, the two modules would use the same infrastructure to handle the processing of replication events. This is the first, albeit small, step towards making the code in the binlogrouter the common infrastructure.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
if(BUILD_TESTS)
|
||||
add_executable(testbinlogrouter testbinlog.cc ../blr.cc ../blr_slave.cc ../blr_master.cc ../blr_file.cc ../blr_cache.cc)
|
||||
add_executable(testbinlogrouter testbinlog.cc ../blr.cc ../blr_slave.cc ../blr_master.cc ../blr_file.cc ../blr_cache.cc ../blr_event.cc)
|
||||
target_link_libraries(testbinlogrouter maxscale-common ${PCRE_LINK_FLAGS} uuid)
|
||||
add_test(NAME TestBinlogRouter COMMAND ./testbinlogrouter WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user