You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.243
Former-commit-id: ff34202749e8df2aa83f2578b16260b444f50987
This commit is contained in:
parent
804b15604f
commit
3cc9601fd9
@@ -125,9 +125,9 @@ namespace Mono.Data.Sqlite
|
||||
// Compatibility with versions < 3.5.0
|
||||
int n;
|
||||
|
||||
try {
|
||||
if (UnsafeNativeMethods.use_sqlite3_open_v2) {
|
||||
n = UnsafeNativeMethods.sqlite3_open_v2(ToUTF8(strFilename), out db, (int)flags, IntPtr.Zero);
|
||||
} catch (EntryPointNotFoundException) {
|
||||
} else {
|
||||
Console.WriteLine ("Your sqlite3 version is old - please upgrade to at least v3.5.0!");
|
||||
n = UnsafeNativeMethods.sqlite3_open (ToUTF8 (strFilename), out db);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user