summaryrefslogtreecommitdiff
path: root/storage/maria/ma_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_check.c')
-rw-r--r--storage/maria/ma_check.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/maria/ma_check.c b/storage/maria/ma_check.c
index fed888b1901..c097c6d1e2e 100644
--- a/storage/maria/ma_check.c
+++ b/storage/maria/ma_check.c
@@ -414,6 +414,12 @@ int maria_chk_size(HA_CHECK *param, register MARIA_HA *info)
char buff[22],buff2[22];
DBUG_ENTER("maria_chk_size");
+ if (info->s3)
+ {
+ /* We cannot check file sizes for S3 */
+ DBUG_RETURN(0);
+ }
+
if (!(param->testflag & T_SILENT))
puts("- check file-size");