Oleksandr Byelkin
895dcb61e3
C preprocessor defines fix
2020-06-04 16:49:21 +02:00
Georg Richter
50d48e91fa
Reworked plugin interface
...
Plugin configuration happens now in CMakeLists.txt files in corresponding plugin directories.
plugins.cmake now contains REGISTER_PLUGIN_FUNCTION which accepts the following parameters:
- TARGET: the name of the plugin (dynamic plugins will be named ${TARGET}.so (or .dll)
- SOURCES: source files
- LIBRARIES: additional libraries for linking
- INCLUDES: include directories
- CONFIGURATIONS: possible plugin configurations: valid arguments are DYNAMIC, STATIC, OFF
- DEFAULT: default configuration (see CONFIGURATIONS)
- COMPILE_OPTIONS: compiler flags
The default plugin configuration can be specified via cmake parameter -DCLIENT_PLUGIN_${TARGET}=[DYNAMIC|STATIC|OFF]
2018-04-07 07:14:43 +02:00
Georg Richter
87e861c360
client side implemetation for MDEV-10340:
...
int STDCALL mysql_reset_connection(MYSQL *mysql)
2016-12-29 19:10:35 +01:00
Georg Richter
967b2830d8
renamed ma_errmsg.h back to errmsg.h
2016-11-16 18:13:59 +01:00
Georg Richter
9f88e25fd6
Compiler warning fixes
2016-09-03 12:46:50 +02:00
Georg Richter
21be8f4eef
Moved connection_handler to mysql->extension
2016-03-29 09:44:03 +02:00
Georg Richter
8620b754ea
Added missing error messages for wrong protocol
...
moved connection handler into net->extension (ABI break)
2016-02-23 13:50:14 +01:00
Georg Richter
d68b48f954
10.2 integration fixes
...
- changed plugin API to avoid crashes: Oracle/MariaDB changed
structure several times without updating interface version.
- ABI fixes: moved additional net items to net->extension (connection
handler and com_multi buffer)
2016-02-22 11:37:13 +01:00
Georg Richter
4ca933bb81
Global cleanup:
...
removed global locks
removed dead code and files
removed dbug
2016-02-08 18:43:02 +01:00
Georg Richter
f8912935b1
- Fixed several aurora plugin crashes (after reconnect)
...
- moved mysql->reconnect to mysql->options.reconnect
2016-01-16 07:04:28 +01:00
Georg Richter
46a975bd04
Added st_mariadb_api structure which contains api definition for use
...
in dynamic plugins
2015-12-28 09:00:24 +01:00
Georg Richter
d73e4c23a2
Added new API function mysql_get_info/mysql_get_infov which retrieves
...
global or connection dependent information:
mysql_get_infov(MYSQL *mysql, enum mariadb_value value, void *arg, ...)
the following value types are supported:
MARIADB_CHARSET_ID (requires numeric 4th parameter)
MARIADB_CHARSET_INFO (requires string 4th parameter)
MARIADB_CHARSET_NAME
MARIADB_CLIENT_ERRORS
MARIADB_CLIENT_VERSION
MARIADB_CLIENT_VERSION_ID
MARIADB_CONNECTION_ASYNC_TIMEOUT
MARIADB_CONNECTION_ASYNC_TIMEOUT_MS
MARIADB_CONNECTION_HOST
MARIADB_CONNECTION_INFO
MARIADB_CONNECTION_PORT
MARIADB_CONNECTION_PROTOCOL_VERSION_ID
MARIADB_CONNECTION_PVIO_TYPE
MARIADB_CONNECTION_SCHEMA
MARIADB_CONNECTION_SERVER_TYPE
MARIADB_CONNECTION_SERVER_VERSION
MARIADB_CONNECTION_SERVER_VERSION_ID
MARIADB_CONNECTION_SOCKET
MARIADB_CONNECTION_SSL_CIPHER
MARIADB_CONNECTION_SSL_VERSION
MARIADB_CONNECTION_SSL_VERSION_ID
MARIADB_CONNECTION_TYPE
MARIADB_CONNECTION_UNIX_SOCKET
MARIADB_CONNECTION_USER
MARIADB_MAX_ALLOWED_PACKET
MARIADB_NET_BUFFER_LENGTH
MARIADB_CONNECTION prefix indicates that a valid connection handle has
to be passed as first parameter.
2015-12-28 07:32:53 +01:00
Georg Richter
bec245a913
Initial aurora implementation
2015-12-10 12:52:51 +01:00
Georg Richter
dd29c4abec
Renamed MYSQL_COM_* to COM_
...
changed default schema for tests to test_c
2015-11-02 15:19:10 +01:00
Georg Richter
7500f37150
- Renamed cio to pvio (pluggable virtual IO)
...
- minor fixes in windows schannel
2015-10-27 10:24:48 +01:00
Georg Richter
5827c04551
Windows build fixes
2015-10-19 09:52:30 +02:00
Georg Richter
ba301da127
Fixed windows build
2015-10-05 08:06:48 +02:00
Georg Richter
74e62c2892
Merge remote-tracking branch 'origin/master' into cio
...
Conflicts:
CMakeLists.txt
include/mysql/client_plugin.h
libmariadb/client_plugin.c.in
libmariadb/libmariadb.c
libmariadb/ma_secure.c
libmariadb/my_malloc.c
libmariadb/net.c
plugins/io/CMakeLists.txt
unittest/libmariadb/misc.c
2015-10-02 12:28:54 +02:00