summaryrefslogtreecommitdiff
path: root/plugin/disks/mysql-test
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-29446 Change SHOW CREATE TABLE to display default collationAlexander Barkov2022-09-121-1/+1
|
* MDEV-28592 disks plugin - getmntinfo (BSD) & getmntent (AIX)Daniel Black2022-08-312-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-18918 SQL mode EMPTY_STRING_IS_NULL breaks RBR upon CREATE TABLE .. SELECTAlexander Barkov2022-01-251-5/+5
| | | | | | | | | Removing DEFAULT from INFORMATION_SCHEMA columns. DEFAULT in read-only tables is rather meaningless. Upgrade should go smoothly. Also fixes: MDEV-20254 Problems with EMPTY_STRING_IS_NULL and I_S tables
* Merge branch '10.1' into 10.2Vicențiu Ciorbaru2020-06-111-3/+3
|\
| * MDEV-22834: Disks plugin - change datatype to bigintVicențiu Ciorbaru2020-06-101-3/+3
| | | | | | | | | | | | On large hard disks (> 2TB), the plugin won't function correctly, always showing 2 TB of available space due to integer overflow. Upgrade table fields to bigint to resolve this problem.
* | Merge 10.1 into 10.2Eugene Kosov2019-06-232-0/+47
|\ \ | |/
| * MDEV-18328: Make DISKS plugin check some privilege to access ↵Oleksandr Byelkin2019-06-192-0/+40
| | | | | | | | | | | | information_schema.DISKS table Check FILE privelege.
* | Merge branch '10.1' into 10.2Sergei Golubchik2018-03-251-3/+3
|/
* MDEV-14533 Provide information_schema tables using which hardwareAlexey Botchkov2018-03-242-11/+0
| | | | | | | 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.