This commit is contained in:
Lunny Xiao 2020-01-19 20:42:03 +08:00
parent dd03f17ffa
commit d3c68587df
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 1 additions and 1 deletions

View File

@ -763,7 +763,7 @@ func (statement *Statement) Join(joinOP string, tablename interface{}, condition
statement.joinArgs = append(statement.joinArgs, subQueryArgs...) statement.joinArgs = append(statement.joinArgs, subQueryArgs...)
default: default:
tbName := statement.Engine.TableName(tablename, true) tbName := statement.Engine.TableName(tablename, true)
fmt.Fprintf(&buf, "%s ON %v", statement.Engine.Quote(tbName), condition) fmt.Fprintf(&buf, "%s ON %v", tbName, condition)
} }
statement.JoinStr = buf.String() statement.JoinStr = buf.String()