Correct quote symbols

This commit is contained in:
Sergey Kurt 2017-03-13 16:28:23 +03:00
parent 2d3983b992
commit b4c9af72e7

View file

@ -342,12 +342,12 @@ func (m *MSSQLDriver) TranslateColumnType(c bdb.Column) bdb.Column {
// RightQuote is the quoting character for the right side of the identifier
func (m *MSSQLDriver) RightQuote() byte {
return '`'
return '\''
}
// LeftQuote is the quoting character for the left side of the identifier
func (m *MSSQLDriver) LeftQuote() byte {
return '`'
return '\''
}
// IndexPlaceholders returns false to indicate MSSQL doesnt support indexed placeholders