Anton Kuznetsov wrote:
----- Original Message ----- From: "Gerry Snyder"
<[EMAIL PROTECTED]>
To: <sqlite-users@sqlite.org>
Sent: Tuesday, November 08, 2005 11:18 PM
Subject: Re: [sqlite] Running Versions 2 and 3 simultaneously -- was:
Re: [sqlite] sqlite 2.0 database
BTW, do you get an error message:
conflicting versions provided for package "sqlite": 3.0, then 2.0 ?
I get errors only if packages loading looks like:
package require sqlite3 3.0
package require sqlite 2.0
And vice versa, I don't get any errors when loading packages like this:
package require sqlite 2.0
package require sqlite3 3.0
Well, use the former order and ignore the warning message.
Can you read the first file with version 2 of the command line program
No. It seems to be the 3-rd version file.
and the final file with version 3 of the command line program?
Yes, because it is the 3-rd version file.
I don't remember the details, but if you load version 2 and then 3,
something goes wrong, like both commands being for version 3 (I know
that what had been the version 2 command got messed up, but I don't
think I tried it on version 3 files).
I don't know whether it is a bug or feature, but I cannot work properly
with both versions of SQLite (2 and 3) loaded in one application.
Why is it so? That is the question.
They can work together, but only if you load version 3 first.
BTW, when I started working with version 3 I could not get [package
require] to work for it and got in the habit of just loading it, but if
you get a warning message about conflicting versions, both must be
getting loaded.
Good luck. I can assure that once you get past this start-up glitch,
running sqlite in tcl is a real pleasure.
Gerry