summaryrefslogtreecommitdiff
path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-12452 MDEV-12453 : Fix building rocksdb and aws_key_management on macOSVladislav Vaintroub2017-04-061-2/+6
| | | | | | use CMAKE_CXX_STANDARD to set C++11 flags with CMake 3.1+ (apples flags are somehow different from standard clang) port htonbe16/32/64 macros for rocksdb use reinterpret_cast<size_t> to cast macOS's pthread_t (pointer type) to size_t , for rocksdb
* Fix aws_key_management compilation after mismergeVladislav Vaintroub2017-04-041-6/+7
| | | | Also do not use BUILD_BYPRODUCTS in ExternalPeoject for older cmake
* Merge 10.1 into 10.2Marko Mäkelä2017-04-041-20/+28
|\
| * fix Ninja builds for AWS SDKSergei Golubchik2017-03-311-10/+13
| | | | | | | | specify BUILD_BYPRODUCTS, ninja needs it
| * put all aws_key_management plugin files into plugin/aws_key_managementSergei Golubchik2017-03-311-4/+4
| | | | | | | | | | that is, download AWS SDK there, not into the builddir root. and .gitignore them all.
| * AWS KMS plugin : Fix building in case AWS C++ SDK was preinstalledVladislav Vaintroub2017-03-311-10/+14
| | | | | | | | | | | | into non-standard compiler/linker path (e.g vcpkg on Windows). Also fix linking with static preinstalled aws c++ sdk libraries
* | Avoid TARGET_LINK_LIBRARIES() for pluginsSergei Golubchik2017-04-011-3/+3
| | | | | | | | as a plugin can be disabled, so the target doesn't necessarily exist
* | Merge branch '10.1' into 10.2Sergei Golubchik2017-03-3091-38/+5064
|\ \ | |/
| * restore the correct linking of ed25519 pluginSergei Golubchik2017-03-291-2/+5
| | | | | | | | | | * add a clarifying comment * apply /wd4244 /wd4146 to ref10 source files, not to the library
| * Fix some warnings on Windows compilationVladislav Vaintroub2017-03-241-1/+5
| | | | | | | | | | - silence warnings in ed25519 reference implementation - fix signed/unsigned warning in popular header item_func.h
| * Fix AWS KMS plugin's compile errorVladislav Vaintroub2017-03-141-1/+0
| | | | | | | | Do not include base64.h, it was recently removed.
| * Correct FSF addressiangilfillan2017-03-1017-17/+17
| |
| * ed25519 plugin: simplify the apiSergei Golubchik2017-03-1012-80/+62
| | | | | | | | various ed25519/ref10 api simplifications for our specific use case
| * MDEV-12160 Modern alternative to the SHA1 authentication pluginSergei Golubchik2017-03-1072-0/+5030
| | | | | | | | ED25519 authentication plugin
| * small plugin API related fixesSergei Golubchik2017-03-101-0/+1
| | | | | | | | | | | | * 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
| * base64 serviceSergei Golubchik2017-03-101-2/+0
| |
| * cleanup: generalize my_sha1.ccSergei Golubchik2017-03-101-3/+2
| | | | | | | | | | move most of the code into my_sha.ic, making it independent from the actual SHAx variant.
| * Merge 10.0 into 10.1Marko Mäkelä2017-03-091-13/+23
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Also, implement MDEV-11027 a little differently from 5.5 and 10.0: recv_apply_hashed_log_recs(): Change the return type back to void (DB_SUCCESS was always returned). Report progress also via systemd using sd_notifyf().
| | * Merge 5.5 into 10.0Marko Mäkelä2017-03-081-1/+1
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, implement MDEV-11027 a little differently from 5.5: recv_sys_t::report(ib_time_t): Determine whether progress should be reported. recv_apply_hashed_log_recs(): Rename the parameter to last_batch.
| | | * MDEV-11084 server_audit does not work with mysql_community 5.7.16.Alexey Botchkov2017-03-061-1/+1
| | | | | | | | | | | | | | | | Server audit plugin version updated.
| | * | Merge branch '5.5' into 10.0Vicențiu Ciorbaru2017-03-031-12/+22
| | |\ \ | | | |/
| | | * cleanup: NO_OPEN_3 was never definedSergei Golubchik2017-02-271-3/+1
| | | |
| | | * MDEV-11904 Make Audit Plugin working with MySQL 8.0.Alexey Botchkov2017-02-201-9/+21
| | | | | | | | | | | | | | | | | | | | MySQL 8.0 basically inherits the 5.7 model, though some modeifications required for the plugin.
| * | | spelling fixesklemens2017-03-075-7/+7
| | | |
| * | | AWS key management plugin: Fix search for system installed AWS SDK libsVladislav Vaintroub2017-03-011-1/+1
| | | |
| * | | MDEV-11530: wsrep_info.plugin fails sporadically in buildbotNirbhay Choubey2017-02-131-0/+1
| | | | | | | | | | | | | | | | Add the warning to the global_suppressions list.
* | | | MDEV-12328, attempt to fix windows packagingVladislav Vaintroub2017-03-261-12/+8
| | | |
* | | | Merge branch '10.1' into 10.2Sergei Golubchik2017-02-101-0/+1
|\ \ \ \ | |/ / /
| * | | Merge branch '10.0' into 10.1Vicențiu Ciorbaru2017-01-161-0/+1
| |\ \ \ | | |/ /
| | * | Merge remote-tracking branch 'origin/5.5' into 10.0vicentiu2017-01-061-0/+1
| | |\ \ | | | |/
| | | * MDEV-11510 Audit plugin sometimes causes server to crash when using with MySQL.Alexey Botchkov2016-12-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MySQL has a bug failing to handle MYSQL_THDVAR_STR(... PLUGIN_VAR_NOSYSVAR | PLUGIN_VAR_NOCMDOPT | PLUGIN_VAR_MEMALLOC) so fall back to just PLUGIN_VAR_READONLY | PLUGIN_VAR_MEMALLOC whem MySQL started.
* | | | Merge branch '10.1' into 10.2Sergei Golubchik2016-12-299-53/+120
|\ \ \ \ | |/ / /
| * | | wsrep_info plugin: Fix test caseNirbhay Choubey2016-11-142-4/+4
| | | |
| * | | AWS Key management plugin does not build on Centos7.Vladislav Vaintroub2016-11-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Building AWS C++ SDK as external project needs CMake 2.8.12 Centos7 out of the box has 2.8.11, thus the build fails. Fixed check for required CMake version.
| * | | Make galera test suites default.Nirbhay Choubey2016-11-021-0/+2
| | | |
| * | | AWS key Management plugin - add plugin variable for the regionVladislav Vaintroub2016-10-281-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AWS C++ SDK always defaults region to us-east-1 for clientConfiguration (ignoring config file or env.variable) This patch introduces a plugin variable 'region' to make it usable for master keys created in regions other than 'us-east-1'.
| * | | Merge branch '10.0' into 10.1Sergei Golubchik2016-09-291-2/+11
| |\ \ \ | | |/ /
| | * | Merge branch '5.5' into 10.0Sergei Golubchik2016-09-291-2/+11
| | |\ \ | | | |/
| | | * Feedback plugin : add support for Windows 10 / Server 2016.Vladislav Vaintroub2016-09-281-2/+11
| | | | | | | | | | | | | | | | Also add fallback version string for unknown future versions.
| * | | MDEV-10890 plugins.pam fails in buildbot with valgrindSergei Golubchik2016-09-281-2/+2
| | | | | | | | | | | | | | | | initialize uninitialized value
| * | | Merge branch '10.0' into 10.1Sergei Golubchik2016-09-281-3/+2
| |\ \ \ | | |/ /
| | * | Merge branch '5.5' into 10.0Sergei Golubchik2016-09-271-3/+2
| | |\ \ | | | |/
| | | * MDEV-10441 Document the server_audit_loc_info variableSergei Golubchik2016-09-261-3/+2
| | | | | | | | | | | | | | | | | | | | fix PLUGIN_VAR_NOSYSVAR | PLUGIN_VAR_NOCMDOPT plugin thdvars to work. use that for server_audit_loc_info
| * | | Make sure to recompile the feedback plugin for EMBEDDEDVicențiu Ciorbaru2016-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On OS X with clang 7.3.0 running any test as embedded crashes. As libfeedback was not compiled with embedded, we had 2 notions of THD, with different number of members. When calling inline functions defined in sql_class.h, the functions were defined for 1 THD but called on an object that is different. This resulted in erroneous data being returned and shortly after, a crash within the alloc_query() function. Recompile the feedback plugin for the embedded server specifically to not have such symbol conflicts.
| * | | MDEV-10777: Server crashed due to query_cache_info pluginOleksandr Byelkin2016-09-271-7/+32
| | | | | | | | | | | | | | | | Possible fix. Make the pluging more safe.
| * | | MDEV-10847 Bring AWS KMS encryption plugin up-to-date with released SDKVladislav Vaintroub2016-09-272-34/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Library path's are different now - New dependency on Linux libuuid - Add calls for SDK Initialization/shutdown - Also add request_timeout parameter, default SDK HTTPs timeout appears to be too short in my tests
| * | | MDEV-10888: encryption.filekeys_emptyfile fails in buildbot with valgrindJan Lindström2016-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Problem was that length of the filekeys file was not checked and if length is less than OpenSSL_prefix_len uninitialized memory was accessed.
* | | | MDEV-11227 - mysqlimport -l doesn't issue UNLOCK TABLESSergey Vojtovich2016-12-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation of MDEV-7660 introduced unwanted incompatible change: modifications under LOCK TABLES with autocommit enabled are rolled back on disconnect. Previously everything was committed, because LOCK TABLES didn't adjust autocommit setting. This patch restores original behavior by reverting some changes done in MDEV-7660: - sql/sql_parse.cc: do not reset autocommit on LOCK TABLES - sql/sql_base.cc: do not set autocommit on UNLOCK TABLES - test cases: main.lock_tables_lost_commit, main.partition_explicit_prune, rpl.rpl_switch_stm_row_mixed, tokudb.nested_txn_implicit_commit, tokudb_bugs.db806 But it makes InnoDB tables under LOCK TABLES ... READ [LOCAL] not protected against DML. To restore protection some changes from WL#6671 were merged, specifically MDL_SHARED_READ_ONLY and test cases. WL#6671 merge highlights: - Not all tests merged. - In MySQL LOCK TABLES ... READ acquires MDL_SHARED_READ_ONLY for all engines, in MariaDB MDL_SHARED_READ is always acquired first and then upgraded to MDL_SHARED_READ_ONLY for InnoDB only. - The above allows us to omit MDL_SHARED_WRITE_LOW_PRIO implementation in MariaDB, which is rather useless with InnoDB. In MySQL it is needed to preserve locking behavior between low priority writes and LOCK TABLES ... READ for non-InnoDB engines (covered by sys_vars.sql_low_priority_updates_func). - Omitted HA_NO_READ_LOCAL_LOCK, we rely on lock_count() instead. - Omitted "piglets": in MariaDB stream of DML against InnoDB table may lead to concurrent LOCK TABLES ... READ starvation. - HANDLER ... OPEN acquires MDL_SHARED_READ instead of MDL_SHARED in MariaDB. - Omitted SNRW->X MDL lock upgrade for IMPORT/DISCARD TABLESPAECE under LOCK TABLES. - Omitted strong locks for views, triggers and SP under LOCK TABLES. - Omitted IX schema lock for LOCK TABLES READ. - Omitted deadlock weight juggling for LOCK TABLES. Full WL#6671 merge status: - innodb.innodb-lock: fully merged - main.alter_table: not merged due to different HANDLER solution - main.debug_sync: fully merged - main.handler_innodb: not merged due to different HANDLER solution - main.handler_myisam: not merged due to different HANDLER solution - main.innodb_mysql_lock: fully merged - main.insert_notembedded: fully merged - main.lock: not merged (due to no strong locks for views) - main.lock_multi: not merged - main.lock_sync: fully merged (partially in MDEV-7660) - main.mdl_sync: not merged - main.partition_debug_sync: not merged due to different HANDLER solution - main.status: fully merged - main.view: fully merged - perfschema.mdl_func: not merged (no such test in MariaDB) - perfschema.table_aggregate_global_2u_2t: not merged (didn't fail in MariaDB) - perfschema.table_aggregate_global_2u_3t: not merged (didn't fail in MariaDB) - perfschema.table_aggregate_global_4u_2t: not merged (didn't fail in MariaDB) - perfschema.table_aggregate_global_4u_3t: not merged (didn't fail in MariaDB) - perfschema.table_aggregate_hist_2u_2t: not merged (didn't fail in MariaDB) - perfschema.table_aggregate_hist_2u_3t: not merged (didn't fail in MariaDB) - perfschema.table_aggregate_hist_4u_2t: not merged (didn't fail in MariaDB) - perfschema.table_aggregate_hist_4u_3t: not merged (didn't fail in MariaDB) - perfschema.table_aggregate_thread_2u_2t: not merged (didn't fail in MariaDB) - perfschema.table_aggregate_thread_2u_3t: not merged (didn't fail in MariaDB) - perfschema.table_aggregate_thread_4u_2t: not merged (didn't fail in MariaDB) - perfschema.table_aggregate_thread_4u_3t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_global_2u_2t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_global_2u_3t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_global_4u_2t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_global_4u_3t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_hist_2u_2t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_hist_2u_3t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_hist_4u_2t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_hist_4u_3t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_thread_2u_2t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_thread_2u_3t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_thread_4u_2t: not merged (didn't fail in MariaDB) - perfschema.table_lock_aggregate_thread_4u_3t: not merged (didn't fail in MariaDB) - sys_vars.sql_low_priority_updates_func: not merged - include/thr_rwlock.h: not merged, rw_pr_lock_assert_write_owner and rw_pr_lock_assert_not_write_owner are macros in MariaDB - sql/handler.h: not merged (HA_NO_READ_LOCAL_LOCK) - sql/mdl.cc: partially merged (MDL_SHARED_READ_ONLY only) - sql/mdl.h: partially merged (MDL_SHARED_READ_ONLY only) - sql/lock.cc: fully merged - sql/sp_head.cc: not merged - sql/sp_head.h: not merged - sql/sql_base.cc: partially merged (MDL_SHARED_READ_ONLY only) - sql/sql_base.h: not merged - sql/sql_class.cc: fully merged - sql/sql_class.h: fully merged - sql/sql_handler.cc: merged partially (different solution in MariaDB) - sql/sql_parse.cc: partially merged, mostly omitted low priority write part - sql/sql_reload.cc: not merged comment change - sql/sql_table.cc: not merged SNRW->X upgrade for IMPORT/DISCARD TABLESPACE - sql/sql_view.cc: not merged - sql/sql_yacc.yy: not merged (MDL_SHARED_WRITE_LOW_PRIO, MDL_SHARED_READ_ONLY) - sql/table.cc: not merged (MDL_SHARED_WRITE_LOW_PRIO) - sql/table.h: not merged (MDL_SHARED_WRITE_LOW_PRIO) - sql/trigger.cc: not merged - storage/innobase/handler/ha_innodb.cc: merged store_lock()/lock_count() changes (in MDEV-7660), didn't merge HA_NO_READ_LOCAL_LOCK - storage/innobase/handler/ha_innodb.h: fully merged in MDEV-7660 - storage/myisammrg/ha_myisammrg.cc: not merged comment change - storage/perfschema/table_helper.cc: not merged (no MDL support in MariaDB PFS) - unittest/gunit/mdl-t.cc: not merged - unittest/gunit/mdl_sync-t.cc: not merged MariaDB specific changes: - handler.heap: different HANDLER solution, MDEV-7660 - handler.innodb: different HANDLER solution, MDEV-7660 - handler.interface: different HANDLER solution, MDEV-7660 - handler.myisam: different HANDLER solution, MDEV-7660 - main.mdl_sync: MDEV-7660 specific changes - main.partition_debug_sync: removed test due to different HANDLER solution, MDEV-7660 - main.truncate_coverage: removed test due to different HANDLER solution, MDEV-7660 - mysql-test/include/mtr_warnings.sql: additional cleanup, MDEV-7660 - mysql-test/lib/v1/mtr_report.pl: additional cleanup, MDEV-7660 - plugin/metadata_lock_info/metadata_lock_info.cc: not in MySQL - sql/sql_handler.cc: MariaDB specific fix for mysql_ha_read(), MDEV-7660
* | | | Fix failing galera tests.Nirbhay Choubey2016-12-192-4/+4
| | | |
* | | | Fix/disable some failing galera tests.Nirbhay Choubey2016-11-071-0/+4
| | | |