summaryrefslogtreecommitdiff
path: root/plugin/handler_socket/libhsclient
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-8791 - AIX: Unresolved Symbols during linkingSergey Vojtovich2016-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Clean-up nolock.h: it doesn't serve any purpose anymore. Appropriate code moved to x86-gcc.h and my_atomic.h. If gcc sync bultins were detected, we want to make use of them independently of __GNUC__ definition. E.g. XLC simulates those, but doesn't define __GNUC__. HS/Spider: According to AIX manual alloca() returns char*, which cannot be casted to any type with static_cast. Use explicit cast instead. MDL: Removed namemangling pragma, which didn't let MariaDB build with XLC. WSREP: _int64 seem to be conflicting name with XLC, replaced with _integer64. CONNECT: RTLD_NOLOAD is GNU extention. Removed rather meaningless check if library is loaded. Multiple dlopen()'s of the same library are permitted, and it never gets closed anyway. Except for error, which was a bug: it may close library, which can still be referenced by other subsystems. InnoDB: __ppc_get_timebase() is GNU extention. Only use it when __GLIBC__ is defined. Based on contribution by flynn1973.
* MDEV-9281 - Debian: the Lintian complains about "shlib-calls-exit" in ↵Sergey Vojtovich2016-04-203-10/+1
| | | | | | | | | | | | | handlersocket.so MDEV-9278 - Debian: the Lintian complains about "shlib-calls-exit" in ha_spider.so Handlersocket handles errors in a way that it aborts program execution. In most cases it is done via abort(). One exception was host/service resolution failure, which was aborted with exit(). As a workaround replaced this exit() with abort() for symmetry with other error handling.
* 5.5.40+ mergeSergei Golubchik2014-10-092-0/+4
|\
| * MDEV-5120 Test suite test maria-no-logging failsSergei Golubchik2014-10-022-0/+4
| | | | | | | | | | | | | | | | stat structure (from <sys/stat.h>) is conditionally defined to have different layout and size depending on the defined macros. The correct macro is defined in my_config.h, which means it MUST be included first (or, at least before <features.h> - so, practically, before including any system headers).
* | Fixing AIX compilation failiresAlexander Barkov2014-02-271-0/+5
|/
* Fixed compile warningsMichael Widenius2012-05-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed some mtr test problems dbug/tests.c: Fixed compiler warnings mysql-test/r/handlersocket.result: Fixed that plugin_license is written mysql-test/suite/innodb/t/innodb_bug60196.test: Force sorted results as it was sometimes different on windows mysql-test/suite/rpl/t/rpl_heartbeat_basic.test: Prolong test as this failed on windows mysql-test/t/handlersocket.test: Fixed that plugin_license is written plugin/handler_socket/handlersocket/handlersocket.cpp: Use maria_declare_plugin plugin/handler_socket/handlersocket/mysql_incl.hpp: Fixed compiler warning plugin/handler_socket/libhsclient/auto_addrinfo.hpp: Fixed compiler warning sql/handler.h: Fixed typo sql/sql_plugin.cc: Fixed bug that caused plugin library name twice in error message storage/maria/ma_checkpoint.c: Fixed compiler warning storage/maria/ma_loghandler.c: Fixed compiler warning unittest/mysys/base64-t.c: Fixed compiler warning unittest/mysys/bitmap-t.c: Fixed compiler warning unittest/mysys/my_malloc-t.c: Fixed compiler warning
* allow handlersocket on FreeBSD, fix getaddrinfo problemVladislav Vaintroub2012-05-051-1/+1
|
* Add missing include (fixes compile failure with gcc 4.7).unknown2012-03-291-0/+1
|
* portability fix: use SOCKET_SIZE_TYPE in the handlersocket pluginSergei Golubchik2011-09-243-3/+6
|
* Upgraded to latest handlersocket code. This fixed LP:766870 "Assertion ↵Michael Widenius2011-06-077-59/+87
| | | | | | | `next_insert_id == 0' failed with handlersocket" sql/handler.cc: Added DBUG_ code
* Directories with .dylib files added to DYLD_LOIBRARY_PATH to allow plugins ↵Oleksandr Byelkin2011-05-131-1/+0
| | | | | | | | | to use them. mysql-test/mysql-test-run.pl: Directories added for mac to lybrary search paths. plugin/handler_socket/libhsclient/Makefile.am: Static build of library removed.
* Fix library build on mac (prevent handlersocket.so loading failure if it ↵Oleksandr Byelkin2011-05-121-1/+1
| | | | called from build directory)
* Fix wrong use of compiler flag causing the build to fail in handlersocket.unknown2011-03-121-1/+1
|
* Added HandlerSocket pluginMichael Widenius2011-02-2025-0/+1988
- Fixed compiler errors - Modified Makefiles to be part of plugin directory - Some minor changes in database.cpp to use the new MariaDB handler interface