filerS3Options.allowDeleteBucketNotEmpty=cmdFiler.Flag.Bool("s3.allowDeleteBucketNotEmpty",true,"allow recursive deleting all entries along with bucket")
filerS3Options.allowDeleteBucketNotEmpty=cmdFiler.Flag.Bool("s3.allowDeleteBucketNotEmpty",true,"allow recursive deleting all entries along with bucket")
filerS3Options.allowListRecursive=cmdFiler.Flag.Bool("s3.allowListRecursive",false,"allows recursive listing of directories by prefix on the side of the filer store with SQL")
filerS3Options.localSocket=cmdFiler.Flag.String("s3.localSocket","","default to /tmp/seaweedfs-s3-<port>.sock")
filerS3Options.localSocket=cmdFiler.Flag.String("s3.localSocket","","default to /tmp/seaweedfs-s3-<port>.sock")
s3StandaloneOptions.allowDeleteBucketNotEmpty=cmdS3.Flag.Bool("allowDeleteBucketNotEmpty",true,"allow recursive deleting all entries along with bucket")
s3StandaloneOptions.allowDeleteBucketNotEmpty=cmdS3.Flag.Bool("allowDeleteBucketNotEmpty",true,"allow recursive deleting all entries along with bucket")
s3StandaloneOptions.allowListRecursive=cmdS3.Flag.Bool("allowListRecursive",false,"allows recursive listing of directories by prefix on the side of the filer store with SQL")
s3Options.allowDeleteBucketNotEmpty=cmdServer.Flag.Bool("s3.allowDeleteBucketNotEmpty",true,"allow recursive deleting all entries along with bucket")
s3Options.allowDeleteBucketNotEmpty=cmdServer.Flag.Bool("s3.allowDeleteBucketNotEmpty",true,"allow recursive deleting all entries along with bucket")
s3Options.allowListRecursive=cmdServer.Flag.Bool("s3.allowListRecursive",false,"allows recursive listing of directories by prefix on the side of the filer store with SQL")
s3Options.localSocket=cmdServer.Flag.String("s3.localSocket","","default to /tmp/seaweedfs-s3-<port>.sock")
s3Options.localSocket=cmdServer.Flag.String("s3.localSocket","","default to /tmp/seaweedfs-s3-<port>.sock")
iamOptions.port=cmdServer.Flag.Int("iam.port",8111,"iam server http listen port")
iamOptions.port=cmdServer.Flag.Int("iam.port",8111,"iam server http listen port")
returnfmt.Sprintf("SELECT `name`, `meta` FROM `%s` WHERE `dirhash` = ? AND `name` >= ? AND `directory` = ? AND `name` LIKE ? ORDER BY `name` ASC LIMIT ?",tableName)
returnfmt.Sprintf("SELECT `name`, `meta` FROM `%s` WHERE `dirhash` = ? AND `name` >= ? AND `directory` = ? AND `name` LIKE ? ORDER BY `name` ASC LIMIT ?",tableName)
returnfmt.Sprintf("SELECT `name`, `meta` FROM `%s` WHERE `dirhash` > ? AND `name` > ? AND `directory` LIKE ? AND `name` LIKE ? ORDER BY `directory,name` ASC LIMIT ?",tableName)
returnfmt.Sprintf(`SELECT NAME, meta FROM "%s" WHERE dirhash>$1 AND name>$2 AND directory like $3 AND name like $4 ORDER BY DIRECTORY,NAME ASC LIMIT $5`,tableName)