MXS-1475 Add SetParser custom parser
SetParser is capable of returning the exact variable and value of a "SET X=Y" statement, in the cases where X is of a specific set of variables; currently "SQL_MODE" and "@MAXSCALE...". The actual value of the SET statement also needs to be parsed in the case of SQL_MODE, but it becomes unnecessary convoluted if that information somehow should conditionally be expressable in a return value. So, the value will be parsed separately.
This commit is contained in:
@ -1,4 +1,8 @@
|
||||
add_executable(test_setparser test_setparser.cc)
|
||||
add_executable(test_setsqlmodeparser test_setsqlmodeparser.cc)
|
||||
target_link_libraries(test_setsqlmodeparser maxscale-common)
|
||||
|
||||
target_link_libraries(test_setsqlmodeparser maxscale-common)
|
||||
target_link_libraries(test_setparser maxscale-common)
|
||||
|
||||
add_test(test_setparser test_setarser)
|
||||
add_test(test_setsqlmodeparser test_setsqlmodeparser)
|
||||
|
Reference in New Issue
Block a user