2009-06-18 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Thu, 18 Jun 2009 08:48:16 +0000 (08:48 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Thu, 18 Jun 2009 08:48:16 +0000 (08:48 -0000)
commit649e0eb7527e6f29c6af52c5cc24ad7953867b75
treeca4ff78e30f253fdefc14dcf6e0d9b625c8326ab
parent8553b393d0dfa734a40ccc4e01f90bb9471dd25b
2009-06-18  Marek Habersack  <mhabersack@novell.com>

* UnsafeNativeMethods.cs: added import of the old sqlite3_open
function to make code compatible with sqlite3 versions older than
3.5.0

* SQLite3.cs: added a workaround for systems which come with
sqlite3 older than 3.5.0 (which added new call sqlite3_open_v2,
used in this version of Mono.Data.Sqlite). If this function is not
found in the native shared library, the old sqlite3_open is used
as fallback.

svn path=/trunk/mcs/; revision=136384
mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/ChangeLog
mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLite3.cs
mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs