mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 18:25:30 +02:00
fix function prototype to follow the API
This commit is contained in:
parent
2925335643
commit
603444bc13
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue