Skip to content

Commit

Permalink
1.修复on语句可能因为符号问题导致ORA-01741: illegal zero-length identifier故障
Browse files Browse the repository at this point in the history
  • Loading branch information
tobycroft committed Oct 30, 2023
1 parent 2637721 commit ac316e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder_oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func (b *BuilderOracle) BuildReplace(update, where string) (select_sql, on_sql,
on_sql += " and"
}
warr = append(warr, ws)
on_sql += " t.\"" + ws + "\"=" + "d.\"" + ws + "\""
on_sql += " t." + b.AddFieldQuotesOracle(ws) + "=" + "d." + b.AddFieldQuotesOracle(ws) + ""
}

data1 := strings.Split(update, ",")
Expand Down

0 comments on commit ac316e9

Please sign in to comment.