720 |
|
property OnProgressEvent: TOnProgressEvent read FOnProgressEvent write FOnProgressEvent; {Progress Bar Support} |
721 |
|
end; |
722 |
|
|
723 |
< |
TJnlEntryType = (jeTransStart, jeTransCommit, jeTransCommitRet, jeTransRollback, |
724 |
< |
jeTransRollbackRet, jeTransEnd, jeQuery,jeUnknown); |
723 |
> |
TJnlEntryType = (jeTransStart, jeTransCommit, jeTransCommitFail, jeTransCommitRet, jeTransRollback, |
724 |
> |
jeTransRollbackFail, jeTransRollbackRet, jeTransEnd, jeQuery,jeUnknown); |
725 |
|
|
726 |
|
TJnlEntry = record |
727 |
|
JnlEntryType: TJnlEntryType; |
2815 |
|
lsGotSessionID: |
2816 |
|
begin |
2817 |
|
TransactionID := StrToInt(TokenText); |
2818 |
< |
if JnlEntryType in [jeTransCommit, jeTransRollback] then |
2818 |
> |
if JnlEntryType in [jeTransCommit, jeTransCommitFail, jeTransRollback, jeTransRollbackFail] then |
2819 |
|
begin |
2820 |
|
if assigned(FOnNextJournalEntry) then |
2821 |
|
OnNextJournalEntry(JnlEntry); |
2841 |
|
end; |
2842 |
|
|
2843 |
|
jeTransCommitRet, |
2844 |
+ |
jeTransCommitFail, |
2845 |
+ |
jeTransRollbackFail, |
2846 |
|
jeTransRollbackRet: |
2847 |
|
begin |
2848 |
|
OldTransactionID := StrToInt(TokenText); |
2899 |
|
Result := jeTransEnd; |
2900 |
|
'Q': |
2901 |
|
Result := jeQuery; |
2902 |
+ |
'F': |
2903 |
+ |
Result := jeTransCommitFail; |
2904 |
+ |
'f': |
2905 |
+ |
Result := jeTransRollbackFail; |
2906 |
|
end; |
2907 |
|
end; |
2908 |
|
|
2913 |
|
Result := 'Transaction Start'; |
2914 |
|
jeTransCommit: |
2915 |
|
Result := 'Commit'; |
2916 |
+ |
jeTransCommitFail: |
2917 |
+ |
Result := 'Commit (Failed)'; |
2918 |
|
jeTransCommitRet: |
2919 |
|
Result := 'Commit Retaining'; |
2920 |
|
jeTransRollback: |
2921 |
|
Result := 'Rollback'; |
2922 |
+ |
jeTransRollbackFail: |
2923 |
+ |
Result := 'Rollback (Failed)'; |
2924 |
|
jeTransRollbackRet: |
2925 |
|
Result := 'Rollback Retaining'; |
2926 |
|
jeTransEnd: |