Unresolved
Details
Assignee
Michael OffnerMichael OffnerReporter
GuardianGuardianPriority
BlockerFix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Guardian
GuardianPriority
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 5 March 2020 at 14:39
Updated 19 May 2021 at 09:49
If query execution fail, Lucee won't throw any error. Won't rolback transaction and so on ...
That happens when in same cfquery are executed 2 queries, and first executed query success.
Example:
<cfquery name="test2" datasource="sage"> CREATE TABLE TestTable2( test_col varchar(1) ) </cfquery>
<cfquery name="q" datasource="sage"> SELECT 1 </cfquery> <!--- Example: 1 ---> <cfquery name="q" datasource="sage"> DELETE FROM TestTable2 insert TestTable2 (test_col) select 'zz'; -- Exception </cfquery> <cfdump var="#q#"> <!--- Example: 2 ---> <cfquery name="q" datasource="sage"> select 1; insert TestTable2 (test_col) select 'zz'; -- Exception </cfquery> <cfdump var="#q#">