Browse Source

Fix mysql sql for batch delete

pull/2218/head
byunghwa.yun 4 years ago
parent
commit
2b28a818f1
  1. 2
      weed/filer/mysql/mysql_sql_gen.go

2
weed/filer/mysql/mysql_sql_gen.go

@ -38,7 +38,7 @@ func (gen *SqlGenMysql) GetSqlDelete(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 {

Loading…
Cancel
Save