Subject | Re: [firebird-support] Checksum of a Database |
---|---|
Author | David Johnson |
Post date | 2005-07-15T05:08:12Z |
A CRC is probably a better choice than a checksum. Two erors in a
checksum may cancel each other out. That is unlikely with a CRC.
Try http://www.createwindow.com/programming/crc32/crcfile.htm
checksum may cancel each other out. That is unlikely with a CRC.
Try http://www.createwindow.com/programming/crc32/crcfile.htm
On Fri, 2005-07-15 at 09:59 +0530, R. S. Patil wrote:
> Dear Friends,
>
> To ensure that there is no change in database between
> subsequent official turnoffs and turn ons my client
> is demanding "checksum of the database" to be
> implemented.
>
> Can somebody suggest me a way to achieve this ?
> I am using Delphi 5->IBO->FB 1.5,xx on Linux RH9.
>
> The details are as follows.
>
> Its a financial institute working hrs are 10 AM to 5:30 PM.
> Server is shutdown when all the users are logged off
> and after day end process is completed. The Manager of
> branch leaves after day end process is completed but
> workers may keep on working late nights. The Manager
> has doubt that there are some incidences where backup
> before have been restored and some corrective actions
> have been performed and day end process has been done
> in his absence. He would like to have a program which will
> store a checksum of the database after day end stored
> on some removable media which he will carry with him
> and on next day the day begin process will only be
> fired if the checksum tallies with it.
>
> He dont mind rather prefers to have a separate
> program on removable media to do this.
>
> Thanks and Best Regards
>
> R. S. Patil
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>
>