APSW 3.7.10-r1 Released

12 views
Skip to first unread message

Roger Binns

unread,
Jan 30, 2012, 2:16:43 AM1/30/12
to python...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

APSW 3.7.10-r1 is now available. The home page is at
http://code.google.com/p/apsw/ which includes full documentation, source
and binary distributions for Windows (Python 2.3 onwards including Python 3).

APSW is a wrapper around SQLite that provides all SQLite API functionality
in Python. It is not DBAPI compliant as it provides SQLite semantics.
pysqlite provides DBAPI semantics. You can see the two approaches
contrasted at http://apidoc.apsw.googlecode.com/hg/pysqlite.html

Changelist is below and a clickable version at
http://apidoc.apsw.googlecode.com/hg/changes.html

The default sector size returned in VFS routines is 4,096 to match
SQLite�s new default.

Several links to SQLite tickets and documentation were updated (APSW issue
122).

The async vfs is disabled due to a bug in its code that leads to random
memory reads when dealing with filenames.

Added SQLITE_CONFIG_GETPCACHE2, SQLITE_CONFIG_GETPCACHE2,
SQLITE_FCNTL_POWERSAFE_OVERWRITE, SQLITE_FCNTL_VFSNAME and
SQLITE_IOCAP_POWERSAFE_OVERWRITE constants.

Fix shell dumping when SQLite doesn�t strip trailing comments from view
declarations

Added a URIFilename class to encapsulate how SQLite provides URI
parameters to VFS routines (APSW issue 124).

Compatibility break: Depending on flags your VFS xOpen method may get a
URIFilename or a string for the filename. You can still pass either to the
VFSFile.

Compatibility break: The Virtual File System (VFS) code used to always run
strings you provided through VFS.xFullPathname(). This isn�t possible with
URI pathnames so that code has been removed. If you construct filenames
for VFS.xOpen() directly (ie bypassing the SQLite database open call) then
you must call VFS.xFullPathname() yourself first to ensure relative
pathnames are turned into absolute pathnames. The SQLite API guarantees
that filenames passed to VFS.xOpen() are exactly what was returned from
VFS.xFullPathname().

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk8mQ9sACgkQmOOfHg372QSbZwCg3+3A899Rsb99o+f91vIM1T6M
/z8AnRfmDI38/t2ajm0RNh2LcvoJN5+y
=cL8U
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages