1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

small plugin API related fixes

* define MYSQL_DYNAMIC_PLUGIN only for server plugins
* don't typedef my_bool in mysql.h if plugin.h has already done it
* fix the include guard in plugin.h
This commit is contained in:
Sergei Golubchik
2017-03-06 22:42:00 +01:00
parent 227f63db3b
commit 269ab56f8b
5 changed files with 13 additions and 5 deletions

View File

@ -217,7 +217,7 @@ void get_tty_password_buff(const char *opt_message, char *buff, size_t buflen)
}
#endif /*__WIN__*/
#ifndef MYSQL_DYNAMIC_PLUGIN
#ifndef NO_GET_TTY_PASSWORD
char *get_tty_password(const char *opt_message)
{
char buff[80];