Add things to shut tests up

This commit is contained in:
Patrick O'brien 2016-09-10 03:35:32 +10:00
parent 419f2760c7
commit f14301de7b
2 changed files with 17 additions and 2 deletions
strmangle

View file

@ -47,7 +47,7 @@ func SchemaTable(driver string, schema string, table string) string {
}
// IdentQuote attempts to quote simple identifiers in SQL tatements
func IdentQuote(s string) string {
func IdentQuote(lq byte, rq byte, s string) string {
if strings.ToLower(s) == "null" {
return s
}
@ -79,7 +79,7 @@ func IdentQuote(s string) string {
}
// IdentQuoteSlice applies IdentQuote to a slice.
func IdentQuoteSlice(s []string) []string {
func IdentQuoteSlice(lq byte, rq byte, s []string) []string {
if len(s) == 0 {
return s
}