mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 03:54:59 +08:00
feature (dynamic): make configuration dynamic
This commit is contained in:
@ -195,7 +195,7 @@ func (this Mysql) Ls(path string) ([]os.FileInfo, error) {
|
||||
}
|
||||
|
||||
rows, err := this.db.Query(fmt.Sprintf(
|
||||
"SELECT CONCAT(%s) as filename %sFROM %s.%s %s LIMIT 15000",
|
||||
"SELECT CONCAT(%s) as filename %sFROM %s.%s %s LIMIT 500000",
|
||||
func() string {
|
||||
q := strings.Join(extractNamePlus(sqlFields.Select), ", ' - ', ")
|
||||
if len(sqlFields.Esthetics) != 0 {
|
||||
|
||||
Reference in New Issue
Block a user