Fix compilation warnings in plugins

* update cracklib_password_check to match the new prototype
* cannot use __attribute__((format)) for my_snprintf, because
  we support format extensions that the compiler doesn't know about.
This commit is contained in:
Sergei Golubchik 2017-08-11 13:26:54 +02:00
commit a6e215f221
9 changed files with 23 additions and 43 deletions

View file

@ -23,7 +23,7 @@
static char *dictionary;
static int crackme(MYSQL_LEX_STRING *username, MYSQL_LEX_STRING *password)
static int crackme(MYSQL_CONST_LEX_STRING *username, MYSQL_CONST_LEX_STRING *password)
{
char *user= alloca(username->length + 1);
char *host;