storage/db: mysql specialization for ListUploads
MySQL requires HAVING to refer to a column from a subquery, but SQLite requires WHERE since the query is not an aggregation. Plumb through the driver name so ListUploads can change its query slightly. Change-Id: I07bb8010824d7e2362e203a68fed7bb968d5fe40 Reviewed-on: https://go-review.googlesource.com/39614 Run-TryBot: Quentin Smith <quentin@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
Showing
Please register or sign in to comment