Fixed Feedback test not working.
This commit is contained in:
@ -1,3 +1,4 @@
|
|||||||
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${ERRMSG} ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
add_executable(test_mysql_users test_mysql_users.c)
|
add_executable(test_mysql_users test_mysql_users.c)
|
||||||
add_executable(test_hash testhash.c)
|
add_executable(test_hash testhash.c)
|
||||||
add_executable(test_hint testhint.c)
|
add_executable(test_hint testhint.c)
|
||||||
|
|||||||
@ -44,8 +44,8 @@
|
|||||||
static char* server_options[] = {
|
static char* server_options[] = {
|
||||||
"MariaDB Corporation MaxScale",
|
"MariaDB Corporation MaxScale",
|
||||||
"--no-defaults",
|
"--no-defaults",
|
||||||
"--datadir=",
|
"--datadir=.",
|
||||||
"--language=",
|
"--language=.",
|
||||||
"--skip-innodb",
|
"--skip-innodb",
|
||||||
"--default-storage-engine=myisam",
|
"--default-storage-engine=myisam",
|
||||||
NULL
|
NULL
|
||||||
@ -88,7 +88,10 @@ int main(int argc, char** argv)
|
|||||||
printf("Config: %s\n",cnf);
|
printf("Config: %s\n",cnf);
|
||||||
|
|
||||||
|
|
||||||
mysql_library_init(num_elements, server_options, server_groups);
|
if(mysql_library_init(num_elements, server_options, server_groups))
|
||||||
|
{
|
||||||
|
FAILTEST("Failed to initialize embedded library.");
|
||||||
|
}
|
||||||
|
|
||||||
config_load(cnf);
|
config_load(cnf);
|
||||||
|
|
||||||
@ -111,6 +114,6 @@ int main(int argc, char** argv)
|
|||||||
{
|
{
|
||||||
FAILTEST("Http send failed\n");
|
FAILTEST("Http send failed\n");
|
||||||
}
|
}
|
||||||
|
mysql_library_end();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user