修复经营分析副本库 ANSI 会话设置 #50
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "hotfix/WuYongJie-operations-replica-ansi-session"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
做了什么
ANSI_NULLS和ANSI_WARNINGS。UpstreamReadOnlyQuery仍只接受单条SELECT/WITH,不开放多语句或写操作。原因
rpt.Bulk_Price_Limit是异构/跨库只读视图。生产 FreeTDS 连接未开启必要 ANSI 选项时,SQL Server 返回 20018,导致商品价格首份快照进入安全冷却。范围
modules/EcommerceFinance/Services/UpstreamOdbcConnection.phptests/Unit/EcommerceFinance/UpstreamOdbcConnectionTest.phpoperations_replica、supplier-payables.product-prices.list验证
git diff --check通过;完整 diff 无敏感内容。风险与回滚
只新增 SQL Server 标准会话选项。若出现驱动兼容问题,回滚本 PR 合并提交即可;不会回写上游数据。
WIP: 修复经营分析副本库 ANSI 会话设置to 修复经营分析副本库 ANSI 会话设置