Re: Unable to access sqlite db

Markus Hoenicka <[email protected]>
Newsgroups gmane.text.refdb.devel
Message-ID <[email protected]>
Hi David,

David Nebauer <[email protected]> was heard to say:

> Here is proof that there is nothing wrong with database 'experimental':
>
>
---------------------------------------------------------------------------------------------
> # pwd
> /var/lib/refdb/db
> # sqlite experimental
> SQLite version 2.8.16
> Enter ".help" for instructions
> sqlite> SELECT meta_app,meta_type,meta_dbversion from t_meta;
> refdb|risx|1

Here is the proof that there *is* something wrong :^)

I've added support for multiple UR and L1-L4 fields per dataset. This required a
change in the reference database schema which is not backwards-compatible. See
these entries in refdbd.h:

#define DB_VERSION 2 /* version tag of reference databases created with this
version */
#define MIN_DB_VERSION 2 /* minimum version tag of reference databases readable
*/

Your old databases are version 1, the current CVS version requires version 2.
You'll simply have to re-create your databases using your current RefDB
version. Sorry about the inconvenience.

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.