
SetSqlModeParser is a custom parser for detecting "SET SQL_MODE=..." statements. It will be used in mysql_client and the result will be used for updating the sql_mode of a session (that is to be added). Thereafter, whenever a statement arrives, the value of that sql_mode will be used for setting the mode of the query_classifier.
4 lines
178 B
CMake
4 lines
178 B
CMake
add_executable(test_setsqlmodeparser test_setsqlmodeparser.cc)
|
|
target_link_libraries(test_setsqlmodeparser maxscale-common)
|
|
add_test(test_setsqlmodeparser test_setsqlmodeparser)
|