4
class MySQLD_Test_Connect_By_Socket_Failed : public MySQLD_Test
7
virtual MySQL_Options options() const
9
MySQL_Options result= get_mysql_client_options(0);
12
if (!result.socket.is_null())
14
result.socket.add_last("_");
16
std::cerr << "socket=" << result.socket << std::endl;
19
virtual int connection_error(MySQL_Error const &c)
21
std::cerr << c.what() << std::endl;
22
std::cout << "blablabla" << std::endl;
27
int main(int argc, char* argv[])
29
MySQLD_Test_Connect_By_Socket_Failed test;
30
return test.run(argc, argv);