From ac316e984f394db45d123a2d72e6e6de42bf0ea3 Mon Sep 17 00:00:00 2001 From: tuuz Date: Mon, 30 Oct 2023 16:25:56 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8Don=E8=AF=AD=E5=8F=A5?= =?UTF-8?q?=E5=8F=AF=E8=83=BD=E5=9B=A0=E4=B8=BA=E7=AC=A6=E5=8F=B7=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=AF=BC=E8=87=B4ORA-01741:=20illegal=20zero-length?= =?UTF-8?q?=20identifier=E6=95=85=E9=9A=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- builder_oracle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder_oracle.go b/builder_oracle.go index 9929199..8827cbe 100644 --- a/builder_oracle.go +++ b/builder_oracle.go @@ -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, ",")