Skip to content

Commit

Permalink
style: go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alespour committed Oct 6, 2020
1 parent 4d2955a commit 659cdc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/sql/hdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func hdbAddIfNotExist(table string, query string) string {
var where string
var args []interface{}
parts := strings.SplitN(strings.ToUpper(table), ".", 2) // schema and table name assumed uppercase in HDB by default (see Notes)
if len(parts) == 2 { // fully-qualified table name
if len(parts) == 2 { // fully-qualified table name
where = "WHERE SCHEMA_NAME=ESCAPE_DOUBLE_QUOTES(:SCHEMA_NAME) AND TABLE_NAME=ESCAPE_DOUBLE_QUOTES(:TABLE_NAME)"
args = append(args, len(parts[0]))
args = append(args, parts[0])
Expand Down

0 comments on commit 659cdc9

Please sign in to comment.