Skip to content

Commit

Permalink
fix QuoteField for SqlServerDialect
Browse files Browse the repository at this point in the history
from blank to dbl-quote
  • Loading branch information
Pierre authored and James Cooper committed May 16, 2014
1 parent 354af19 commit d69be84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ func (m SqlServerDialect) InsertAutoIncr(exec SqlExecutor, insertSql string, par
}

func (d SqlServerDialect) QuoteField(f string) string {
return f
return `"` + f + `"`
}

func (d SqlServerDialect) QuotedTableForQuery(schema string, table string) string {
Expand Down

0 comments on commit d69be84

Please sign in to comment.