Skip to content

Commit

Permalink
fix sql len <20
Browse files Browse the repository at this point in the history
  • Loading branch information
fifsky committed Apr 10, 2020
1 parent a4d853b commit 41b5d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func main() {
return
}

if len(p.Table) > 10000 {
if len(p.Table) > 10000 || len(p.Table) < 20 {
w.Write([]byte(fmt.Sprintf("content length must < 10000 byte\n")))
return
}
Expand Down

0 comments on commit 41b5d09

Please sign in to comment.