mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
1. add --plugin-dir and --default-auth to mysqltest.
2. dialog plugin now always returns mysql->password if non-empty and the first question is of password type 3. split get_tty_password into get_tty_password_buff and strdup. 4. dialog plugin now uses get_tty_password by default 5. dialog.test 6. moved small tests of individual plugins into a dedicated suite
This commit is contained in:
@@ -28,9 +28,7 @@
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef MYSQL_PLUGIN_EXPORT
|
||||
#undef MYSQL_PLUGIN_EXPORT
|
||||
#endif
|
||||
#if defined(_MSC_VER)
|
||||
#ifdef __cplusplus
|
||||
#define MYSQL_PLUGIN_EXPORT extern "C" __declspec(dllexport)
|
||||
@@ -38,7 +36,11 @@
|
||||
#define MYSQL_PLUGIN_EXPORT __declspec(dllexport)
|
||||
#endif
|
||||
#else /*_MSC_VER */
|
||||
#define MYSQL_PLUGIN_EXPORT
|
||||
#ifdef __cplusplus
|
||||
#define MYSQL_PLUGIN_EXPORT extern "C"
|
||||
#else
|
||||
#define MYSQL_PLUGIN_EXPORT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* known plugin types */
|
||||
|
Reference in New Issue
Block a user