Skip to content

Commit fc3868d

Browse files
committed
Revert "feat: implement basic transaction support with override tag"
This reverts commit 775334a.
1 parent 186b730 commit fc3868d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

testing/Project/Sources/Classes/TestFunction.4dm

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,6 @@ Function run()
3030
End use
3131
End if
3232

33-
// Check if test should run with transaction isolation (default: yes)
34-
var $useTransaction : Boolean
35-
$useTransaction:=Not:C34(This:C1470.tags.indexOf("notransaction")>=0)
36-
37-
// Start transaction for database isolation if enabled
38-
If ($useTransaction)
39-
START TRANSACTION:C239
40-
End if
41-
4233
// Set up error handler to capture runtime errors
4334
var $previousErrorHandler : Text
4435
$previousErrorHandler:=Method called on error:C704
@@ -53,11 +44,6 @@ Function run()
5344
ON ERR CALL:C155("")
5445
End if
5546

56-
// Roll back transaction to restore database state if transaction was used
57-
If ($useTransaction)
58-
CANCEL TRANSACTION:C241
59-
End if
60-
6147
// Capture any runtime errors that occurred
6248
If (Storage:C1525.testErrors#Null:C1517) && (Storage:C1525.testErrors.length>0)
6349
var $error : Object

0 commit comments

Comments
 (0)