Fix build failures
Changes to the ChangeMasterOptions made it non-trivial so it cannot be safely memset anymore. The maxavrocheck was missing the linkage to the maxscale-common library.
This commit is contained in:
parent
c447e5cf15
commit
4f6990f90d
@ -4,7 +4,7 @@ if (AVRO_FOUND AND JANSSON_FOUND)
|
||||
target_link_libraries(maxavro maxscale-common ${JANSSON_LIBRARIES})
|
||||
|
||||
add_executable(maxavrocheck maxavrocheck.c)
|
||||
target_link_libraries(maxavrocheck maxavro)
|
||||
target_link_libraries(maxavrocheck maxavro maxscale-common)
|
||||
install_executable(maxavrocheck core)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
@ -511,7 +511,7 @@ int main(int argc, char** argv)
|
||||
* Expected rc is 0, if 1 test fails
|
||||
*/
|
||||
strcpy(error_string, "");
|
||||
memset(&change_master, 0, sizeof(change_master));
|
||||
change_master = ChangeMasterOptions{};
|
||||
strcpy(query,
|
||||
"CHANGE MASTER TO MasTER_hoST = '127.0.0.1', MASTER_PORT=9999, MASTER_PASSWORD='massi', MAster_user='eee', master_log_file= 'fffff', master_log_pos= 55"
|
||||
+ command_offset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user