This commit is contained in:
Lunny Xiao 2015-07-28 10:03:32 +08:00
parent a4765bce78
commit b6a31aa9a3
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,7 @@ func (statement *Statement) convertIdSql(sqlStr string) string {
}
colstrs := statement.JoinColumns(cols)
sqls := splitNNoCase(sqlStr, "from", 2)
sqls := splitNNoCase(sqlStr, " from ", 2)
if len(sqls) != 2 {
return ""
}