Fix typo in IP testing database
The test had a typo in the SQL that created the database so the later queries that referred to it always failed.
This commit is contained in:

committed by
Johan Wikman

parent
69cddb2695
commit
8a55bbfca8
@ -1652,12 +1652,12 @@ int TestConnections::get_client_ip(char * ip)
|
||||
unsigned int conn_num = 0;
|
||||
|
||||
connect_rwsplit();
|
||||
if (execute_query(conn_rwsplit, "CREATE DATABASE IF NOT EXISTS db_to_check_clent_ip") != 0 )
|
||||
if (execute_query(conn_rwsplit, "CREATE DATABASE IF NOT EXISTS db_to_check_client_ip") != 0 )
|
||||
{
|
||||
return ret;
|
||||
}
|
||||
close_rwsplit();
|
||||
conn = open_conn_db(rwsplit_port, maxscale_IP, "db_to_check_clent_ip", maxscale_user,
|
||||
conn = open_conn_db(rwsplit_port, maxscale_IP, "db_to_check_client_ip", maxscale_user,
|
||||
maxscale_password, ssl);
|
||||
|
||||
if (conn != NULL)
|
||||
|
Reference in New Issue
Block a user