mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-14533 Provide information_schema tables using which hardware
information can be obtained. DISKS plugin implementation added to the tree.
This commit is contained in:
11
mysql-test/suite/plugins/t/disks.test
Normal file
11
mysql-test/suite/plugins/t/disks.test
Normal file
@ -0,0 +1,11 @@
|
||||
--source include/not_windows.inc
|
||||
|
||||
if (!$DISKS_SO) {
|
||||
skip No DISKS plugin;
|
||||
}
|
||||
|
||||
install plugin DISKS soname 'disks';
|
||||
show create table information_schema.disks;
|
||||
select sum(Total) > sum(Available), sum(Total)>sum(Used) from information_schema.disks;
|
||||
|
||||
uninstall plugin DISKS;
|
Reference in New Issue
Block a user