diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-03-06 22:42:00 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-03-10 18:21:28 +0100 |
commit | 269ab56f8b4056ec63e712ba305761dd835ea10e (patch) | |
tree | 9e2659b5b3bba59f23836d1dee8fd348bfd0f3c7 /plugin | |
parent | 227f63db3b0b9a1ce29c37f1c104ba5d204d0392 (diff) | |
download | mariadb-git-269ab56f8b4056ec63e712ba305761dd835ea10e.tar.gz |
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
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/auth_dialog/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/auth_dialog/CMakeLists.txt b/plugin/auth_dialog/CMakeLists.txt index 7253b2b2f97..771bc615bd5 100644 --- a/plugin/auth_dialog/CMakeLists.txt +++ b/plugin/auth_dialog/CMakeLists.txt @@ -14,5 +14,6 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +ADD_DEFINITIONS(-DNO_GET_TTY_PASSWORD) MYSQL_ADD_PLUGIN(dialog dialog.c ${CMAKE_SOURCE_DIR}/libmysql/get_password.c MODULE_ONLY CLIENT COMPONENT ClientPlugins) |