17 #include <my_global.h>
29 #define ORDINARY_QUESTION "\2"
30 #define LAST_QUESTION "\3"
31 #define LAST_PASSWORD "\4"
32 #define PASSWORD_QUESTION "\5"
39 int pkt_len, err=
CR_OK;
42 if (vio->
write_packet(vio, (
const unsigned char *) PASSWORD_QUESTION, 1))
56 if (strcmp(info->
user_name,
"qa_test_11_user")== 0)
67 MYSQL_AUTHENTICATION_INTERFACE_VERSION,
72 mysql_declare_plugin(test_plugin)
74 MYSQL_AUTHENTICATION_PLUGIN,
75 &qa_auth_test_handler,
78 "plugin API test plugin",
88 mysql_declare_plugin_end;