Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Make sure the exception thrown by the InitializeBackup method always contains a meaningful error message. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
aec2437c243d3ebf7c21ad85f845f6eb |
User & Date: | mistachkin 2013-07-04 03:00:35.062 |
Context
2013-07-04
| ||
06:00 | Add SQLiteConnection.BindFunction method to facilitate adding custom functions on a per-connection basis. check-in: 1fa0ac70f3 user: mistachkin tags: trunk | |
03:00 | Make sure the exception thrown by the InitializeBackup method always contains a meaningful error message. check-in: aec2437c24 user: mistachkin tags: trunk | |
2013-07-03
| ||
19:55 | Add another managed virtual table test. check-in: de1fd3c700 user: mistachkin tags: trunk | |
Changes
Changes to System.Data.SQLite/SQLite3.cs.
︙ | ︙ | |||
2062 2063 2064 2065 2066 2067 2068 | } finally /* NOTE: Thread.Abort() protection. */ { IntPtr backup = UnsafeNativeMethods.sqlite3_backup_init( destHandle, zDestName, sourceHandle, zSourceName); if (backup == IntPtr.Zero) | > > > > | > > > | 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 | } finally /* NOTE: Thread.Abort() protection. */ { IntPtr backup = UnsafeNativeMethods.sqlite3_backup_init( destHandle, zDestName, sourceHandle, zSourceName); if (backup == IntPtr.Zero) { SQLiteErrorCode resultCode = ResultCode(); if (resultCode != SQLiteErrorCode.Ok) throw new SQLiteException(resultCode, GetLastError()); else throw new SQLiteException("failed to initialize backup"); } backupHandle = new SQLiteBackupHandle(destHandle, backup); } return new SQLiteBackup( this, backupHandle, destHandle, zDestName, sourceHandle, zSourceName); |
︙ | ︙ |