API void
LQT_CheckDatabaseVersion
(db)
t_LQTEXT_Database *db;
Purpose
Checks that the current database is compatible with this version of
the library. Some versions of liblqtext may have a backwards
compatibility mode, which this function will enable.
This routine is called automatically whenever an lq-text database
is opened.Errors
Fatal error if the database is incompatible with the current version
of the lqtext library.Notes
The liblqtext library is capable of maintaining backward
compatibility with earlier versions; for example, Release 1.13
could read a database created with Release 1.12; this feature is
not presently included, however. In practice, it's almost always
possible to index the data again rather than using backwards
compatibility modes, and performance is usually then better.