v1.0.94: шаг3 — guard full_replace с пустым ops
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
</cfquery>
|
||||
<cfset seq = sq.m>
|
||||
|
||||
<!--- full_replace: guard от пустого ops --->
|
||||
<cfif url.mode EQ "full_replace" AND arrayLen(ops) EQ 0>
|
||||
<cfthrow message="full_replace: LLM вернул пустой ops, спецификация НЕ изменена">
|
||||
</cfif>
|
||||
|
||||
<!--- full_replace: явные DELETE для аудита --->
|
||||
<cfif url.mode EQ "full_replace">
|
||||
<cfquery name="curRows" datasource="baza">
|
||||
|
||||
Reference in New Issue
Block a user