summaryrefslogtreecommitdiff
path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
* time_collector transition to std::atomicSergey Vojtovich2018-12-291-23/+16
|
* Combine GLOBAL and COMMIT namespaces into BACKUP namespace.Sergey Vojtovich2018-12-092-25/+7
| | | | | | | Part of MDEV-5336 Implement LOCK FOR BACKUP Other things: - Added printing of MDL locks to DBUG.
* Merge 10.3 into 10.4Marko Mäkelä2018-11-064-4/+10
|\
| * Merge 10.2 into 10.3Marko Mäkelä2018-11-064-4/+10
| |\ | | | | | | | | | | | | | | | | | | | | | | | | main.derived_cond_pushdown: Move all 10.3 tests to the end, trim trailing white space, and add an "End of 10.3 tests" marker. Add --sorted_result to tests where the ordering is not deterministic. main.win_percentile: Add --sorted_result to tests where the ordering is no longer deterministic.
| | * Merge 10.1 into 10.2Marko Mäkelä2018-11-062-3/+9
| | |\
| | | * auth_gssapi : Fix string formatting in my_printf_error()Vladislav Vaintroub2018-10-161-1/+1
| | | |
| | | * remove MYF flags from pluginVladislav Vaintroub2018-10-161-2/+2
| | | |
| | | * Fix regular expression in replace_regex in auth_gssapi test.Vladislav Vaintroub2018-10-151-1/+1
| | | |
| | | * make auth_gssapi_basic work, also in domain environment.Vladislav Vaintroub2018-10-153-1/+4
| | | |
| | | * MDEV-17462 Heap corruption with auth_gssapi on Windows.Vladislav Vaintroub2018-10-151-1/+6
| | | | | | | | | | | | | | | | | | | | use FreeContextAttributes() on individual members of SecPkgContext_NativeNames, not on the struct itself.
| | * | MDEV-14267: correct FSF addressDaniel Black2018-10-302-2/+2
| | | |
* | | | MDEV-12321 authentication plugin: SET PASSWORD supportSergei Golubchik2018-10-317-22/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support SET PASSWORD for authentication plugins. Authentication plugin API is extended with two optional methods: * hash_password() is used to compute a password hash (or digest) from the plain-text password. This digest will be stored in mysql.user table * preprocess_hash() is used to convert this digest into some memory representation that can be later used to authenticate a user. Build-in plugins convert the hash from hexadecimal or base64 to binary, to avoid doing it on every authentication attempt. Note a change in behavior: when loading privileges (on startup or on FLUSH PRIVILEGES) an account with an unknown plugin was loaded with a warning (e.g. "Plugin 'foo' is not loaded"). But such an account could not be used for authentication until the plugin is installed. Now an account like that will not be loaded at all (with a warning, still). Indeed, without plugin's preprocess_hash() method the server cannot know how to load an account. Thus, if a new authentication plugin is installed run-time, one might need FLUSH PRIVILEGES to activate all existing accounts that were using this new plugin.
* | | | cleanup: add 'const' to password validation APISergei Golubchik2018-10-312-3/+4
| | | |
* | | | Merge 10.3 into 10.4Marko Mäkelä2018-10-101-13/+16
|\ \ \ \ | |/ / /
| * | | Merge 10.2 into 10.3Marko Mäkelä2018-10-091-13/+16
| |\ \ \ | | |/ /
| | * | AWS KMS plugin : more detailed message when API calls fail.Vladislav Vaintroub2018-10-031-13/+16
| | | | | | | | | | | | | | | | Output API function name, exception name, exception text
* | | | MDEV-17279 Windows : link C runtime dynamicallyVladislav Vaintroub2018-10-091-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the build to use /MD flag so that DDL version of C runtime is used. To make sure MariaDB is always runnable on target system, include redistributable CRT libraries into installer. For MSI package, use Microsoft's merge modules. For ZIP use "applocal" approach,i.e place redistributable dlls into the bin directory of the package(via InstallRequiredSystemLibraries cmake module) The space overhead of libraries in negligible, ~ 3MB unpacked. There are 2 cases, where we still link C runtime statically - Upgrade wizard, it uses MFC, and we link statically to avoid redistribute also whole MFC (for this single application, does not make much sense). - MSI installer's custom action dll wixca.dll.Here, we need static link so that MSI won't fail on a target system that does not have VC++2015 runtime already installed.
* | | | Merge 10.3 into 10.4Marko Mäkelä2018-09-112-3/+5
|\ \ \ \ | |/ / /
| * | | Merge 10.2 into 10.3Marko Mäkelä2018-09-062-3/+5
| |\ \ \ | | |/ /
| | * | Merge 10.1 into 10.2Marko Mäkelä2018-08-312-3/+5
| | |\ \ | | | |/
| | | * MDEV-16665 ed25519 describes itself as 1.0-alpha even though it's not alpha.Alexey Botchkov2018-08-301-1/+1
| | | | | | | | | | | | | | | | Plugin version name fixed.
| | | * MDEV-17095 pam_user_map module throws syntax error if group name contains ↵Alexey Botchkov2018-08-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | backslash. Let '\\' and '/' symbols to be part of a group name.
* | | | Merge 10.3 into 10.4Marko Mäkelä2018-08-161-8/+1
|\ \ \ \ | |/ / /
| * | | compiler warningsSergei Golubchik2018-08-121-1/+1
| | | |
| * | | remove obsolete checks for -fno-implicit-templatesSergei Golubchik2018-08-121-8/+1
| | | | | | | | | | | | | | | | we stopped using -fno-implicit-templates many years ago
* | | | MDEV-15473 Isolate/sandbox PAM modules, so that they can't crash the server.Alexey Botchkov2018-07-141-1/+6
| | | | | | | | | | | | | | | | mysql_install_db.sh script fixed.
* | | | Fix of feedback plugin.Oleksandr Byelkin2018-07-061-1/+2
| | | | | | | | | | | | | | | | Assign "SELECT" to the table before it usage.
* | | | MDEV-15473 Isolate/sandbox PAM modules, so that they can't crash the server.Alexey Botchkov2018-07-038-154/+651
| | | | | | | | | | | | | | | | | | | | | | | | New version of PAM plugin (v2.0) added along with the old v1.0. There the pam module is isolated in the auth_pam_tool application so cannot crash the server.
* | | | Merge remote-tracking branch 'origin/10.3' into 10.4Alexander Barkov2018-07-032-6/+6
|\ \ \ \ | |/ / /
| * | | Merge branch '10.2' into 10.3Sergei Golubchik2018-06-302-6/+6
| |\ \ \ | | |/ /
| | * | Merge branch '10.1' into 10.2Sergei Golubchik2018-06-281-1/+1
| | |\ \ | | | |/
| | | * mark ed25519 stableSergei Golubchik2018-06-281-1/+1
| | | |
| | * | don't use my_error(0) or my_printf_error(0)Sergei Golubchik2018-06-211-5/+5
| | | | | | | | | | | | | | | | there's an assert that catches it
* | | | mysys: ME_ERROR_LOG_ONLY flagSergei Golubchik2018-06-041-11/+11
| | | |
* | | | mysys: rename ME_xxx flags to match plugin apiSergei Golubchik2018-06-042-9/+9
|/ / /
* | | Merge 10.2 into 10.3Marko Mäkelä2018-05-121-4/+25
|\ \ \ | |/ /
| * | Merge 10.1 into 10.2Marko Mäkelä2018-05-111-4/+25
| |\ \ | | |/
| | * MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin.Alexey Botchkov2018-05-101-4/+25
| | | | | | | | | | | | QUERY_DML_NO_SELECT flag added.
* | | MDEV-15893 Rename VTQ to TRTEugene Kosov2018-05-121-29/+29
| | |
* | | Misc. typosluz.paz2018-04-052-2/+2
| | | | | | | | | | | | Found via `codespell -i 3 -w --skip="./debian/po" -I ../mariadb-server-word-whitelist.txt ./cmake/ ./debian/ ./Docs/ ./include/ ./man/ ./plugin/ ./strings/`
* | | Merge branch '10.2' into 10.3Sergei Golubchik2018-03-288-3/+353
|\ \ \ | |/ /
| * | Merge branch '10.1' into 10.2Sergei Golubchik2018-03-258-30/+119
| |\ \ | | |/
| | * MDEV-14533 Provide information_schema tables using which hardwareAlexey Botchkov2018-03-243-12/+1
| | | | | | | | | | | | | | | | | | | | | information can be obtained. plugin only enabled for Linux, as it fails building on BSD/MacOSX. disks.test fixed.
| | * MDEV-14533 Provide information_schema tables using which hardwareAlexey Botchkov2018-03-244-0/+36
| | | | | | | | | | | | | | | | | | information can be obtained. disks.test moved to plugin's directory.
| | * MDEV-14533 Provide information_schema tables using which hardware ↵Sergei Golubchik2018-03-233-26/+12
| | | | | | | | | | | | | | | | | | information can be obtained. update README, use maria_declare_plugin(), specify the author.
| | * MDEV-10871 Add logging capability to pam_user_map.c.Alexey Botchkov2018-03-231-3/+81
| | | | | | | | | | | | The 'debug' option implemented for the pam_user_map.so.
| * | Merge 10.1 into 10.2Marko Mäkelä2018-03-213-0/+260
| |\ \ | | |/
| | * MDEV-14533 Provide information_schema tables using which hardwareAlexey Botchkov2018-03-213-0/+260
| | | | | | | | | | | | | | | | | | information can be obtained. DISKS plugin implementation added to the tree.
* | | MDEV-11952 Oracle-style packages: stage#5mariadb-10.3.5bb-10.3-compatibilityAlexander Barkov2018-02-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - CREATE PACKAGE [BODY] statements are now entirely written to mysql.proc with type='PACKAGE' and type='PACKAGE BODY'. - CREATE PACKAGE BODY now supports IF NOT EXISTS - DROP PACKAGE BODY now supports IF EXISTS - CREATE OR REPLACE PACKAGE [BODY] is now supported - CREATE PACKAGE [BODY] now support the DEFINER clause: CREATE DEFINER user@host PACKAGE pkg ... END; CREATE DEFINER user@host PACKAGE BODY pkg ... END; - CREATE PACKAGE [BODY] now supports SQL SECURITY and COMMENT clauses, e.g.: CREATE PACKAGE p1 SQL SECURITY INVOKER COMMENT "comment" AS ... END; - Package routines are now created from the package CREATE PACKAGE BODY statement and don't produce individual records in mysql.proc. - CREATE PACKAGE BODY now supports package-wide variables. Package variables can be read and set inside package routines. Package variables are stored in a separate sp_rcontext, which is cached in THD on the first packate routine call. - CREATE PACKAGE BODY now supports the initialization section. - All public routines (i.e. declared in CREATE PACKAGE) must have implementations in CREATE PACKAGE BODY - Only public package routines are available outside of the package - {CREATE|DROP} PACKAGE [BODY] now respects CREATE ROUTINE and ALTER ROUTINE privileges - "GRANT EXECUTE ON PACKAGE BODY pkg" is now supported - SHOW CREATE PACKAGE [BODY] is now supported - SHOW PACKAGE [BODY] STATUS is now supported - CREATE and DROP for PACKAGE [BODY] now works for non-current databases - mysqldump now supports packages - "SHOW {PROCEDURE|FUNCTION) CODE pkg.routine" now works for package routines - "SHOW PACKAGE BODY CODE pkg" now works (the package initialization section) - A new package body level MDL was added - Recursive calls for package procedures are now possible - Routine forward declarations in CREATE PACKATE BODY are now supported. - Package body variables now work as SP OUT parameters - Package body variables now work as SELECT INTO targets - Package body variables now support ROW, %ROWTYPE, %TYPE
* | | Make possible to use clang on Windows (clang-cl)Vladislav Vaintroub2018-02-204-6/+15
| | | | | | | | | | | | | | | | | | -DWITH_ASAN can be used as well now, on x64 Fix many clang-cl warnings.