1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Merge branch '10.1' into 10.2

This commit is contained in:
Sergei Golubchik
2018-03-25 13:02:52 +02:00
76 changed files with 1546 additions and 590 deletions

View File

@ -0,0 +1,12 @@
show create table information_schema.disks;
Table Create Table
DISKS CREATE TEMPORARY TABLE `DISKS` (
`Disk` varchar(4096) NOT NULL DEFAULT '',
`Path` varchar(4096) NOT NULL DEFAULT '',
`Total` int(32) NOT NULL DEFAULT 0,
`Used` int(32) NOT NULL DEFAULT 0,
`Available` int(32) NOT NULL DEFAULT 0
) ENGINE=MEMORY DEFAULT CHARSET=utf8
select sum(Total) > sum(Available), sum(Total)>sum(Used) from information_schema.disks;
sum(Total) > sum(Available) sum(Total)>sum(Used)
1 1

View File

@ -0,0 +1,2 @@
show create table information_schema.disks;
select sum(Total) > sum(Available), sum(Total)>sum(Used) from information_schema.disks;

View File

@ -0,0 +1 @@
--plugin-load-add=$DISKS_SO

View File

@ -0,0 +1,10 @@
package My::Suite::Disks;
@ISA = qw(My::Suite);
return "No Disks plugin" unless $ENV{DISKS_SO};
sub is_default { 1 }
bless { };