summaryrefslogtreecommitdiff
path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-4941 make: AIX fails with 'Identifier not allowed in cast'; syntax ↵Sergei Golubchik2013-09-091-8/+8
| | | | | | error in include/my_global.h C++ comments in C files, and a typo in my_global.h
* MDEV-4472 Audit-plugin. Server-related part of the task.Alexey Botchkov2013-09-095-322/+3
| | | | | | | | | file_logger became the service. Data like query_id now are sent to the audit plugin. Fix for MDEV-4770 ported from 10.0. Fix added for the read_maria_plugin_info(). Log rotation can be disabled with 'set rotations=0'.
* MDEV-4926: Remove division-using-subtraction implementation from semi-sync ↵Vladislav Vaintroub2013-09-031-9/+5
| | | | | | | | | plugin If rpl_semi_sync_master_timeout is large, calculation of absolute waiting time in semi-sync plugin is inefficient. This error is specific to systems with 64 bit long values (all 64 bit Unixes) In rpl_semi_sync_master_timeout has maximal value (= MAX_ULONGLONG), calculating abstime may require ~ 18 billion subtract operations. The fix is to use division instead of subtraction-in-a-loop. Also fixed an integer overflow bug.
* mysql-5.5.32 mergeSergei Golubchik2013-07-167-7/+7
|\
* \ Merge from 5.3Alexander Barkov2013-07-101-1/+1
|\ \
| * \ Merge from 5.2Alexander Barkov2013-07-091-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: mysql-test/suite/plugins/r/fulltext_plugin.result mysql-test/suite/plugins/t/fulltext_plugin.test plugin/fulltext/plugin_example.c sql/sql_show.cc pending merges: Alexander Barkov 2013-07-09 [merge] Merge from 5.1 Sergei Golubchik 2013-07-06 Bug #69682 - mysqld crashes after uninst... Sergei Golubchik 2013-05-24 MDEV-4575 MySQL client doesn't strip off...
| | * \ Merge from 5.1Alexander Barkov2013-07-091-1/+1
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: mysql-test/suite/plugins/r/fulltext_plugin.result mysql-test/suite/plugins/t/fulltext_plugin.test plugin/fulltext/plugin_example.c sql/sql_show.cc pending merges: Sergei Golubchik 2013-07-06 Bug #69682 - mysqld crashes after uninstall ... Sergei Golubchik 2013-05-24 MDEV-4575 MySQL client doesn't strip off...
| | | * | Bug #69682 - mysqld crashes after uninstall of plugin with "first" status varSergei Golubchik2013-07-061-1/+1
| | | | |
* | | | | MDEV-4685 Compile error on LFSSergei Golubchik2013-06-222-0/+10
| | | | | | | | | | | | | | | | | | | | fix the code to compile w/o perfomance schema
* | | | | MDEV-4636 use mysql_cleartext_plugin from auth_pamSergei Golubchik2013-06-111-2/+23
| | | | | | | | | | | | | | | | | | | | add a new command-line option --pam-use-cleartext-plugin
* | | | | MDEV-4516 SELECT from I_S.QUERY_CACHE_INFO produces ER_UNKNOWN_ERROR when ↵Sergei Golubchik2013-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | query cache size is 0 if qc->try_lock() fails, it's not an error
* | | | | Fix build on WindowsVladislav Vaintroub2013-04-251-0/+4
| | | | |
* | | | | MDEV-260 auditing table accessesSergei Golubchik2013-04-191-24/+65
| | | | |
* | | | | compilation warningsSergei Golubchik2013-04-041-6/+6
| | | | |
* | | | | MDEV-4307 Support at least 48 utf8 characters in username in server and PAMSergei Golubchik2013-03-262-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | Extend plugin auth api to support up to 512 bytes in the user names. Use the API versioning to support old auth plugins too!
* | | | | MDEV-249 QUERY CACHE INFORMATIONSergei Golubchik2013-03-202-0/+217
| | | | |
* | | | | MDEV-4175 auth_socket to build on OpenBSD / BitrigSergei Golubchik2013-03-081-1/+13
| | | | |
* | | | | 5.3 mergeSergei Golubchik2013-01-151-0/+6
|\ \ \ \ \ | |/ / / /
| * | | | 5.2->5.3 mergeSergei Golubchik2013-01-102-0/+9
| |\ \ \ \ | | |/ / /
| | * | | Fix broken feedback plugin after MDEV-712.Vladislav Vaintroub2012-11-261-0/+3
| | | | | | | | | | | | | | | | | | | | Link feedback plugin with yassl libraries, if with-ssl=bundled is used, since mysqld does not export SSL symbols anymore.
| | * | | merge 5.1Vladislav Vaintroub2012-11-221-0/+6
| | |\ \ \ | | | |/ /
| | | * | Feedback plugin now recognizes Windows 8 / Windows Server 2012.Vladislav Vaintroub2012-11-221-0/+6
| | | | |
* | | | | 5.3->5.5 mergeSergei Golubchik2012-11-221-3/+6
|\ \ \ \ \ | |/ / / /
| * | | | Merge MariaDB 5.2->5.3unknown2012-11-201-3/+6
| |\ \ \ \ | | |/ / /
| | * | | Merge MariaDB 5.1->5.2.unknown2012-11-201-3/+6
| | |\ \ \ | | | |/ /
| | | * | potential crash in the feedback pluginSergei Golubchik2012-11-191-3/+6
| | | | |
* | | | | rename plugin null_audit -> audit_null (to match status variable names)Sergei Golubchik2012-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | create audit_null.test
* | | | | build feedback plugin with ssl (changes for cmake).Sergei Golubchik2012-11-062-15/+24
| | | | | | | | | | | | | | | | | | | | fix the ssl related code to use newer function prototypes
* | | | | 5.3 mergeSergei Golubchik2012-10-182-15/+98
|\ \ \ \ \ | |/ / / /
| * | | | mergeSergei Golubchik2012-09-272-15/+98
| |\ \ \ \ | | |/ / /
| | * | | a simple pam user mapper moduleSergei Golubchik2012-09-252-15/+98
| | | | |
* | | | | Fixed compiler warningsMichael Widenius2012-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed error in test that caused following tests to fail extra/yassl/taocrypt/src/dsa.cpp: Fixed compiler warning by adding cast mysql-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test: We have to first test for have_debug_sync to not start master wrongly plugin/auth_pam/auth_pam.c: Fixed compiler warning sql/sys_vars.h: Fixed compiler warning (Sys_var_max_user_conn is now signed) support-files/compiler_warnings.supp: Don't give warnings for auth_pam.c (Tried to fix it by changing the code, but could not find an easy way to do that on solaris)
* | | | | Automatic mergeMichael Widenius2012-08-131-1/+2
|\ \ \ \ \
| * | | | | Fixed compiler warnings (A few of these was bugs)Michael Widenius2012-08-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client/mysqldump.c: Slave needs to be initialized with 0 dbug/dbug.c: Removed not existing function plugin/semisync/semisync_master.cc: Fixed compiler warning sql/opt_range.cc: thd needs to be set early as it's used in some error conditions. sql/sql_table.cc: Changed to use uchar* to make array indexing portable storage/innobase/handler/ha_innodb.cc: Removed not used variable storage/maria/ma_delete.c: Fixed compiler warning storage/maria/ma_write.c: Fixed compiler warning
* | | | | | merge with MySQL 5.5.27Sergei Golubchik2012-08-094-5/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | manually checked every change, reverted incorrect or stupid changes.
| * | | | Bug#14238406 NEW COMPILATION WARNINGS WITH GCC 4.7 (-WERROR=NARROWING)Jon Olav Hauglid2012-06-294-5/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Manual merge from mysql-5.1 to mysql-5.5
* | | | | | MDEV-359: Fix another case where switch-off semisync could cause a race that ↵unknown2012-06-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ended with server crash. This one was when the code releases and reaquires the lock with pthread_cond_wait() - and semisync is switched off meanwhile.
* | | | | | MDEV-359: Server crash when SET GLOBAL rpl_semi_sync_master_enabled = OFFunknown2012-06-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The semisync code does a fast-but-unsafe check for enabled or not without lock, followed by a slow-but-safe check under lock. However, if the slow check failed, the code still referenced not valid data (in an assert() expression), causing a crash. Fixed by not running the incorrect assert when semisync is disabled.
* | | | | | Building RPMs with CPackSergei Golubchik2012-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | configure with cmake -DRPM=distro
* | | | | | Fixed compile warningsMichael Widenius2012-05-183-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-052-2/+2
| | | | | |
* | | | | | MDEV-255: Compile handlersocket plugin in 5.5Vladislav Vaintroub2012-05-052-0/+44
| | | | | |
* | | | | | mdev-224 plugin usage statistics in the feedback reportsSergei Golubchik2012-04-181-3/+13
| | | | | |
* | | | | | Merge of compatibility fixesMichael Widenius2012-04-022-0/+2
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed failing tests in sys_vars as we have now stricter checking of setting of variables. mysql-test/suite/sys_vars/r/innodb_adaptive_flushing_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_adaptive_hash_index_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_large_prefix_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_random_read_ahead_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_stats_on_metadata_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_strict_mode_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_support_xa_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/innodb_table_locks_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/rpl_semi_sync_master_enabled_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/r/rpl_semi_sync_slave_enabled_basic.result: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_adaptive_flushing_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_adaptive_hash_index_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_large_prefix_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_random_read_ahead_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_stats_on_metadata_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_strict_mode_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_support_xa_basic.test: One can now only assign 0 or 1 to boolean variables mysql-test/suite/sys_vars/t/innodb_table_locks_basic.test: One can now only assign 0 or 1 to boolean variables mysys/my_getsystime.c: Merge + fixed bug that __NR_clock_gettime didn't work in 5.5
| * | | | | Compatibility fixes by U OrsiniMichael Widenius2012-03-301-0/+1
| | | | | |
| * | | | | Add missing include (fixes compile failure with gcc 4.7).unknown2012-03-291-0/+1
| | | | | |
* | | | | | mysql-5.5.22 mergeSergei Golubchik2012-03-285-5/+5
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/suite/innodb/t/group_commit_crash.test: remove autoincrement to avoid rbr being used for insert ... select mysql-test/suite/innodb/t/group_commit_crash_no_optimize_thread.test: remove autoincrement to avoid rbr being used for insert ... select mysys/my_addr_resolve.c: a pointer to a buffer is returned to the caller -> the buffer cannot be on the stack mysys/stacktrace.c: my_vsnprintf() is ok here, in 5.5
| * | | | | Updated/added copyright headersMySQL Build Team2012-02-165-5/+5
| |\ \ \ \ \ | | | |/ / / | | |/| | |
* | | | | | mdev-201 - Assertion `!thd->spcont' failed in net_send_error on server shutdownSergei Golubchik2012-03-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug in semisync plugin. It didn't check thd->killed before waiting on mysys->current_cond, and thus an attepmt to kill the thread (on shutdown) was lost plugin/semisync/semisync_master.cc: mdev:201 lp:962540
* | | | | | MDEV-15 Log all sql errors.Alexey Botchkov2012-03-245-3/+341
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified for MySQL 5.5. Logger service moved to the plugin/sql_errlog directory to be properly used later. plugin/sql_errlog/sql_errlog.c: Fixes for bugs #956427 (SQL_ERROR_LOG plugin produces bogus warnings about sql-error-log-size-limit value) and #956463 (Server crashes if SQL_ERROR_LOG fails to initialize) they're also MDEV-184 and MDEV-183 The sql_error_log_deinit() should be prepared for the logger_file to be NULL. The logger_file_size_limit upper limit wasn't properly set.