revision-id: 0d0cc6b0e903192600e8efdefa51129a485afec9 (mariadb-10.3.6-42-g0d0cc6b0e90) parent(s): 459c701b0b472d6bbfd9d5271e244797a2498f8d author: Oleksandr Byelkin committer: Oleksandr Byelkin timestamp: 2018-04-24 10:24:22 +0200 message: fix by buildbot results --- tests/mysql_client_test.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 3188ea882bb..f24bb919906 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -20226,6 +20226,17 @@ static void test_proxy_header_ignore() myquery(rc); } +static void test_proxy_header() +{ + test_proxy_header_tcp("192.0.2.1",3333); + test_proxy_header_tcp("2001:db8:85a3::8a2e:370:7334",2222); + test_proxy_header_tcp("::ffff:192.0.2.1",2222); + test_proxy_header_localhost(); + test_proxy_header_ignore(); +} + +#endif + static void test_bulk_autoinc() { @@ -20279,18 +20290,6 @@ static void test_bulk_autoinc() myquery(rc); } - -static void test_proxy_header() -{ - test_proxy_header_tcp("192.0.2.1",3333); - test_proxy_header_tcp("2001:db8:85a3::8a2e:370:7334",2222); - test_proxy_header_tcp("::ffff:192.0.2.1",2222); - test_proxy_header_localhost(); - test_proxy_header_ignore(); -} - -#endif - static struct my_tests_st my_tests[]= { { "disable_query_logs", disable_query_logs }, { "test_view_sp_list_fields", test_view_sp_list_fields },