Fix random typo

This commit is contained in:
Aaron L 2017-06-04 11:19:03 -07:00
parent 7e5374eb22
commit 833fd04c6b

View file

@ -93,7 +93,7 @@ func SchemaTable(lq, rq string, driver string, schema string, table string) stri
return fmt.Sprintf(`%s%s%s`, lq, table, rq) return fmt.Sprintf(`%s%s%s`, lq, table, rq)
} }
// IdentQuote attempts to quote simple identifiers in SQL tatements // IdentQuote attempts to quote simple identifiers in SQL statements
func IdentQuote(lq byte, rq byte, s string) string { func IdentQuote(lq byte, rq byte, s string) string {
if strings.ToLower(s) == "null" || s == "?" { if strings.ToLower(s) == "null" || s == "?" {
return s return s