[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: sqlite3 is sqlite 2?

Ryan Kelly

3/14/2010 8:10:00 PM

On Fri, 2010-03-12 at 06:48 +0100, Laszlo Nagy wrote:
> gandalf@ubuntu:~$ python
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sqlite3
> >>> sqlite3.version
> '2.4.1'
>
> Is it possible to install a real sqlite version 3 somehow? I really need
> it because I have to use savepoint/rollback to. That is only supported
> from sqlite 3.6.8. Is it enough if I upgrade to Ubuntu Karmic? I know
> that is not a question about Python itself.

That's the sqlite *bindings* version:

>>> sqlite3.version
'2.4.1'
>>> sqlite3.sqlite_version
'3.6.16'
>>>

So this is "pysqlite" version 2.4.1, which wraps sqlite version 3.6.16.

Cheers,

Ryan


--
Ryan Kelly
http://www... | This message is digitally signed. Please visit
ryan@rfk.id.au | http://www.../ramblings/gpg/ for details