mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-06-03 01:00:04 +02:00
Fix mysql sql for batch delete
This commit is contained in:
parent
10464f47d0
commit
2b28a818f1
|
@ -38,7 +38,7 @@ func (gen *SqlGenMysql) GetSqlDelete(tableName string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (gen *SqlGenMysql) GetSqlDeleteFolderChildren(tableName string) string {
|
func (gen *SqlGenMysql) GetSqlDeleteFolderChildren(tableName string) string {
|
||||||
return fmt.Sprintf("DELETE FROM `%s` WHERE dirhash=? AND directory=? LIMIT ?", tableName)
|
return fmt.Sprintf("DELETE FROM `%s` WHERE dirhash=? AND directory=?", tableName)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (gen *SqlGenMysql) GetSqlListExclusive(tableName string) string {
|
func (gen *SqlGenMysql) GetSqlListExclusive(tableName string) string {
|
||||||
|
|
Loading…
Reference in a new issue