summaryrefslogtreecommitdiff
path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
* Fixed usage of unitialised value error in test_sql_servicebb-10.7-montyMonty2022-12-201-0/+1
| | | | This caused valgrind errors when using plugins.test_sql_service
* Merge 10.6 into 10.7Marko Mäkelä2022-12-131-2/+4
|\
| * Merge 10.5 into 10.6Marko Mäkelä2022-12-131-2/+4
| |\
| | * Merge 10.4 into 10.5Marko Mäkelä2022-12-131-2/+4
| | |\
| | | * Merge 10.3 into 10.4Marko Mäkelä2022-12-131-2/+4
| | | |\
| | | | * MDEV-29473 UBSAN: Signed integer overflow: X * Y cannot be represented in ↵Alexander Barkov2022-11-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | type 'int' in strings/dtoa.c Fixing a few problems relealed by UBSAN in type_float.test - multiplication overflow in dtoa.c - uninitialized Field::geom_type (and Field::srid as well) - Wrong call-back function types used in combination with SHOW_FUNC. Changes in the mysql_show_var_func data type definition were not properly addressed all around the code by the following commits: b4ff64568c88ab3ce559e7bd39853d9cbf86704a 18feb62feeb833494d003615861b9c78ec008a90 0ee879ff8ac1b80cd9a963015344f5698a81f309 Adding a helper SHOW_FUNC_ENTRY() function and replacing all mysql_show_var_func declarations using SHOW_FUNC to SHOW_FUNC_ENTRY, to catch mysql_show_var_func in the future at compilation time.
* | | | | fix password_reuse_check plugin to link in embeddedSergei Golubchik2022-11-241-1/+2
| | | | | | | | | | | | | | | | | | | | it uses C client API, so needs RECOMPILE_FOR_EMBEDDED
* | | | | Merge branch '10.6' into 10.7Oleksandr Byelkin2022-10-293-5/+13
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.5 into 10.6Marko Mäkelä2022-10-253-5/+13
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | To prevent ASAN heap-use-after-poison in the MDEV-16549 part of ./mtr --repeat=6 main.derived the initialization of Name_resolution_context was cleaned up.
| | * | | Merge 10.4 into 10.5Marko Mäkelä2022-10-252-4/+13
| | |\ \ \ | | | |/ /
| | | * | Merge 10.3 into 10.4Marko Mäkelä2022-10-252-4/+13
| | | |\ \ | | | | |/
| | | | * MDEV-25343 Error log message not helpful when filekey is too longkurt2022-10-211-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a test related to the Encrypted Key File by following instructions in kb example https://mariadb.com/kb/en/file-key-management-encryption-plugin/#creating-the-key-file Reviewed by Daniel Black (with minor formatting and re-org of duplicate close(f) calls).
| | | | * Revert "MDEV-25343 add read secret size in file key plugin"Daniel Black2022-10-191-12/+1
| | | | | | | | | | | | | | | | | | | | This reverts commit cee7175b79a22c29a82ef328aba208f90afcea86.
| | | | * MDEV-25343 add read secret size in file key pluginkurt2022-10-191-1/+12
| | | | |
| | | | * Cleanup the alloca.h header handling to further reduce hardcoded OS lists ↵Brad Smith2022-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | (#2289)
* | | | | MDEV-29031 Change maturity of plugins for October 2022 ReleasesSergei Golubchik2022-10-201-1/+1
| | | | |
* | | | | Merge branch '10.6' into 10.7Oleksandr Byelkin2022-10-042-2/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.5' into 10.6Sergei Golubchik2022-10-021-2/+0
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.4' into 10.5Sergei Golubchik2022-10-021-2/+0
| | |\ \ \ | | | |/ /
| | | * | Merge branch '10.3' into 10.4Sergei Golubchik2022-10-011-2/+0
| | | |\ \ | | | | |/
| | | | * wsrep suite isn't run by default, wsrep_info shouldn't eitherSergei Golubchik2022-09-261-2/+0
| | | | |
| * | | | update C/C, fix srpm build failures on fedoraSergei Golubchik2022-09-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | krb5-config (used by FindGSSAPI) returns `-lkrb5 -lk5crypto -lcom_err` but only libkrb5 is actually used by the gssapi plugin. The other two result in unneeded dependencies unless they're tagged optional when linked with --as-needed. Some distributions use --as-needed automatically, which causes our builds to differ from srpm builds, introducing failures in buildbot. Let's always use --as-needed for gssapi plugin
* | | | | Merge 10.6 into 10.7Marko Mäkelä2022-09-2132-149/+149
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.5 into 10.6Marko Mäkelä2022-09-2014-91/+91
| |\ \ \ \ | | |/ / /
| | * | | Merge remote-tracking branch 'origin/10.4' into 10.5Alexander Barkov2022-09-1414-91/+91
| | |\ \ \ | | | |/ /
| | | * | Merge 10.3 into 10.4Marko Mäkelä2022-09-133-3/+3
| | | |\ \ | | | | |/
| | | | * MDEV-29446 Change SHOW CREATE TABLE to display default collationAlexander Barkov2022-09-123-3/+3
| | | | |
* | | | | Merge 10.6 into 10.7Marko Mäkelä2022-09-071-7/+7
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.5 into 10.6Marko Mäkelä2022-09-071-7/+7
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.4 into 10.5Marko Mäkelä2022-09-071-7/+7
| | |\ \ \ | | | |/ /
| | | * | Merge 10.3 into 10.4Marko Mäkelä2022-09-071-7/+7
| | | |\ \ | | | | |/
| | | | * MDEV-28592 disks plugin (postfix - remove tabs)Daniel Black2022-08-311-7/+7
| | | | |
* | | | | Merge 10.6 into 10.7Jan Lindström2022-09-054-56/+200
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.5 into 10.6Marko Mäkelä2022-09-054-56/+200
| |\ \ \ \ | | |/ / /
| | * | | Merge branch 10.4 into 10.5Daniel Black2022-08-314-56/+200
| | |\ \ \ | | | |/ /
| | | * | Merge 10.3 into 10.4Daniel Black2022-08-314-55/+200
| | | |\ \ | | | | |/
| | | | * MDEV-28592 disks plugin - getmntinfo (BSD) & getmntent (AIX)Daniel Black2022-08-314-55/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to references from Brad Smith, BSDs use getmntinfo as a system call for mounted filesystems. Most BSDs return statfs structures, (and we use OSX's statfs64), but NetBSD uses a statvfs structure. Simplify Linux getmntent_r to just use getmntent. AIX uses getmntent. An attempt at writing Solaris compatibility with a small bit of HPUX compatibility was made based on man page entries only. Fixes welcome. statvfs structures now use f_bsize for consistency with statfs Test case adjusted as PATH_MAX is OS defined (e.g. 1023 on AIX) Fixes: 0ee5cf837e3a0464acc20db2a2aee0adaff3f2ac also fixes: MDEV-27818: Disk plugin does not show zpool mounted devices This is because zpool mounted point don't begin with /. Due to the proliferation of multiple filesystem types since this was written, we restrict the entries listed in the disks plugin to excude: * read only mount points (no point monitoring, and includes squash, snaps, sysfs, procfs, cgroups...) * mount points that aren't directories (excludes /etc/hostname and similar mounts in containers). (getmntent (Linux/AIX) only) * exclude systems where there is no capacity listed (excludes various virtual filesystem types). Reviewer: Sergei Golubchik
* | | | | MDEV-27100 Subquery using the ALL keyword on UUID columns produces a wrong ↵Alexander Barkov2022-08-242-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | result This problem was earlier fixed by MDEV-27101. Now adding UUID tests only.
* | | | | Merge 10.6 into 10.7Marko Mäkelä2022-08-242-0/+27
|\ \ \ \ \ | |/ / / /
| * | | | MDEV-29355 Backport templatized INET6 implementation from 10.7 to 10.6Alexander Barkov2022-08-236-2112/+83
| | | | |
| * | | | Merge 10.5 into 10.6Marko Mäkelä2022-08-232-0/+27
| |\ \ \ \ | | |/ / /
| | * | | MDEV-27099 Subquery using the ALL keyword on INET6 columns produces a wrong ↵Alexander Barkov2022-08-232-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | result This problem was earlier fixed by MDEV-27101. Adding INET6 tests only.
* | | | | Merge branch '10.6' into 10.7Oleksandr Byelkin2022-08-081-0/+28
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.5' into bb-10.6-releaseOleksandr Byelkin2022-08-031-0/+28
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.4' into 10.5Oleksandr Byelkin2022-08-031-0/+28
| | |\ \ \ | | | |/ /
| | | * | Merge branch '10.3' into 10.4Oleksandr Byelkin2022-08-021-0/+28
| | | |\ \ | | | | |/
| | | | * MDEV-26647 (simple_password_check) Include password validation plugin ↵Oleksandr Byelkin2022-07-271-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | information in the error message if the SQL statement is not satisfied password policy Make the plugin reporting cause of the error.
* | | | | MDEV-29159 Patch for MDEV-28918 introduces more inconsistency than it ↵Alexander Barkov2022-08-0516-465/+1413
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | solves, breaks usability 1. Store assignment failures on incompatible data types now raise errors if: - STRICT_ALL_TABLES or STRICT_TRANS_TABLES sql_mode is used, and - IGNORE is not used Otherwise, only a warning is raised and the statement continues. 2. Changing the error/warning test as follows: -ERROR HY000: Illegal parameter data types inet6 and int for operation 'SET' +ERROR HY000: Cannot cast 'int' as 'inet6' in assignment of `db`.`t`.`col` so in case of a big table it's easier to see which column has the problem. The new error text is also applied to SP variables.
* | | | | Merge 10.6 into 10.7Marko Mäkelä2022-07-272-3/+5
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.5 into 10.6Marko Mäkelä2022-07-271-2/+4
| |\ \ \ \ | | |/ / /