mirror of
https://github.com/MariaDB/server.git
synced 2025-11-22 17:44:29 +03:00
fix function prototype to follow the API
This commit is contained in:
@@ -327,7 +327,10 @@ static int perform_dialog(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
|
||||
or fall back to the default implementation.
|
||||
*/
|
||||
|
||||
static int init_dialog()
|
||||
static int init_dialog(char *errbuf __attribute__((unused)),
|
||||
size_t sizeof_errbuf __attribute__((unused)),
|
||||
int argc __attribute__((unused)),
|
||||
va_list args __attribute__((unused)))
|
||||
{
|
||||
void *sym= dlsym(RTLD_DEFAULT, "mysql_authentication_dialog_ask");
|
||||
ask= sym ? (mysql_authentication_dialog_ask_t)sym : builtin_ask;
|
||||
|
||||
Reference in New Issue
Block a user