sqlite3 is sqlite 2?
Ryan Kelly
ryan at rfk.id.au
Sun Mar 14 16:10:10 EDT 2010
On Fri, 2010-03-12 at 06:48 +0100, Laszlo Nagy wrote:
> gandalf at 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.rfk.id.au | This message is digitally signed. Please visit
ryan at rfk.id.au | http://www.rfk.id.au/ramblings/gpg/ for details
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/python-list/attachments/20100315/744ac20d/attachment-0001.sig>
More information about the Python-list
mailing list