Abstract the session default database
The default database can now be manipulated with a set of functions exposed by the maxscale/protocol/mysql.h header. This removes the need to handle the structures themselves in the modules and is a step towards moving the dcb->data contents inside the session.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
add_library(schemarouter SHARED schemarouter.cc schemarouterinstance.cc schemaroutersession.cc shard_map.cc session_command.cc)
|
||||
target_link_libraries(schemarouter maxscale-common)
|
||||
target_link_libraries(schemarouter maxscale-common MySQLCommon)
|
||||
add_dependencies(schemarouter pcre2)
|
||||
set_target_properties(schemarouter PROPERTIES VERSION "1.0.0")
|
||||
install_module(schemarouter core)
|
||||
|
||||
Reference in New Issue
Block a user