Yes, your compiler is true. The correction is shown on the following lines.
The if-clause prevents programming errors for LVC-Instances and has no
relevance for OLTP instances.
Therefor it causes no trouble for all instances.
IF ((lgeSource_kb08 <> lsCache_ekb08 ) AND
( lgeSource_kb08 <> lsLocal_ekb08 ) AND
( lgeSource_kb08 <> lsBackup_ekb08) )
OR
((EntryPos.logPageType_gg00 <> ptData_egg00 ) AND
( EntryPos.logPageType_gg00 <> ptLog_egg00 ) )
OR
((log.lgeFile_kb08.fileTfn_gg00 = tfnObjBefore_egg00) AND
( lgeSource_kb08 = lsLocal_ekb08 ) )
OR
((log.lgeFile_kb08.fileTfn_gg00 = tfnObjBefore_egg00) AND
( lgeSource_kb08 = lsBackup_ekb08 ) )
THEN
t.trError_gg00 := e_not_implemented
For those who want to know more:
This condition says that beforeimages (only used in livecache environment)
cannot be read and are not expected to be read from log backup or archive
log.
Between releases 7.1 and 7.2 has the condition changed.
Bye
Uwe
-----Original Message-----
From: Florian Weimer [mailto:[EMAIL PROTECTED]]
Sent: Samstag, 16. M�rz 2002 22:31
To: [EMAIL PROTECTED]
Subject: Bug in sys/src/kb/vkb85:kb85ReadLogEntry
There seems to be a bug in this routine:
IF ((lgeSource_kb08 <> lsCache_ekb08 ) AND
( lgeSource_kb08 <> lsLocal_ekb08 ) AND
( lgeSource_kb08 <> lsBackup_ekb08) )
OR
((EntryPos.logPageType_gg00 <> ptData_egg00 ) AND
( EntryPos.logPageType_gg00 <> ptLog_egg00 ) )
OR
((log.lgeFile_kb08.fileTfn_gg00 = tfnObjBefore_egg00) AND
( lgeSource_kb08 = lsLocal_ekb08 ) AND
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
( lgeSource_kb08 = lsBackup_ekb08 ) AND
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
( EntryPos.logPageType_gg00 <> ptData_egg00 ) )
THEN
Both expressions cannot be true at the same time, so there's clearly
something wrong here (the compiler issues a warning...).
--
Florian Weimer [EMAIL PROTECTED]
University of Stuttgart http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT +49-711-685-5973/fax +49-711-685-5898
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general