summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorDaniel Black <daniel@mariadb.org>2022-08-31 15:24:06 +1000
committerDaniel Black <daniel@mariadb.org>2022-08-31 15:24:06 +1000
commitc487eeed10d2a34d19141c5c3a98fbb38dd26f51 (patch)
tree8f66285622e76a80c25ee3707aba76728305ae5b /plugin
parent129616c70a69f5e0fe2f10bdd0e2785594305e44 (diff)
downloadmariadb-git-c487eeed10d2a34d19141c5c3a98fbb38dd26f51.tar.gz
MDEV-28592 disks plugin (postfix - remove tabs)
Diffstat (limited to 'plugin')
-rw-r--r--plugin/disks/information_schema_disks.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugin/disks/information_schema_disks.cc b/plugin/disks/information_schema_disks.cc
index bba5c850415..414af59098f 100644
--- a/plugin/disks/information_schema_disks.cc
+++ b/plugin/disks/information_schema_disks.cc
@@ -106,7 +106,7 @@ static int disks_table_add_row_stat(
#else
if (info.f_flags & MNT_RDONLY)
#endif
- return 0;
+ return 0;
pTable->field[0]->store(zDisk, strlen(zDisk), system_charset_info);
pTable->field[1]->store(zPath, strlen(zPath), system_charset_info);
@@ -212,15 +212,15 @@ static int disks_fill_table(THD* pThd, TABLE_LIST* pTables, Item* pCond)
)
{
struct stat f;
- const char *path, *point;
+ const char *path, *point;
#ifdef HAVE_SETMNTENT
- path= pEnt->mnt_dir;
- point= pEnt->mnt_fsname;
+ path= pEnt->mnt_dir;
+ point= pEnt->mnt_fsname;
#else
- path= pEnt->mnt_mountp;
- point= pEnt->mnt_special;
+ path= pEnt->mnt_mountp;
+ point= pEnt->mnt_special;
#endif
- // Try to keep to real storage by excluding
+ // Try to keep to real storage by excluding
// read only mounts, and mount points that aren't directories
if (hasmntopt(pEnt, MNTOPT_RO) != NULL)
continue;