Kaydet (Commit) e80a9242 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS rowsetdel (1.2.12); FILE MERGED

2006/01/20 10:07:46 fs 1.2.12.1: #i55731# DB test previously relied on an implementation detail of the RowSet service, which now changed (as is well-defined at the API)
üst a79f1cf1
...@@ -88,7 +88,11 @@ Const sTestString = "Automatical Test" ...@@ -88,7 +88,11 @@ Const sTestString = "Automatical Test"
nCurrentAction = cDBDelete nCurrentAction = cDBDelete
sCurrentMessage = cMessageDatabaseDelete sCurrentMessage = cMessageDatabaseDelete
oRowSet.deleteRow() oRowSet.deleteRow()
bResult = (nRowCount - oRowSet.RowCount = 1) bResult = (nRowCount - oRowSet.RowCount = 0)
if ( bResult ) Then
oRowSet.next()
bResult = (nRowCount - oRowSet.RowCount = 1)
End If
LogState (bResult, "Database "+ cMessageDatabaseDelete, FileChannel) LogState (bResult, "Database "+ cMessageDatabaseDelete, FileChannel)
LogState (bResult, "Database "+ cMessageDatabaseDelete, MainFileChannel) LogState (bResult, "Database "+ cMessageDatabaseDelete, MainFileChannel)
SetStatus (FilterType, cDBDelete, bResult) SetStatus (FilterType, cDBDelete, bResult)
...@@ -127,4 +131,4 @@ Const sTestString = "Automatical Test" ...@@ -127,4 +131,4 @@ Const sTestString = "Automatical Test"
End If End If
Exit Sub ' With error Exit Sub ' With error
End Sub End Sub
</script:module> </script:module>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment