Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Refinements to error code / HRESULT mappings. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
4163cb2680a31085d630246a804029d3 |
User & Date: | mistachkin 2018-02-27 14:08:46.616 |
Context
2018-02-27
| ||
15:53 | Further enhancement to the 'data-1.95' test. check-in: 48783a7499 user: mistachkin tags: trunk | |
14:08 | Refinements to error code / HRESULT mappings. check-in: 4163cb2680 user: mistachkin tags: trunk | |
00:44 | Another correction to the 'data-1.95' test: make sure it still works properly when there are pre-registered functions. check-in: b2ebc6c99d user: mistachkin tags: trunk | |
Changes
Changes to System.Data.SQLite/SQLiteException.cs.
︙ | ︙ | |||
240 241 242 243 244 245 246 | { case SQLiteErrorCode.Ok: { return 0; /* S_OK */ } case SQLiteErrorCode.Error: { | | | | | 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 | { case SQLiteErrorCode.Ok: { return 0; /* S_OK */ } case SQLiteErrorCode.Error: { return MakeHResult(0x001F, false); /* ERROR_GEN_FAILURE */ } case SQLiteErrorCode.Internal: { return unchecked((int)0x8000FFFF); /* E_UNEXPECTED */ } case SQLiteErrorCode.Perm: { return MakeHResult(0x0005, false); /* ERROR_ACCESS_DENIED */ } case SQLiteErrorCode.Abort: { return unchecked((int)0x80004004); /* E_ABORT */ } case SQLiteErrorCode.Busy: { return MakeHResult(0x00AA, false); /* ERROR_BUSY */ } case SQLiteErrorCode.Locked: { return MakeHResult(0x00D4, false); /* ERROR_LOCKED */ } case SQLiteErrorCode.NoMem: { return MakeHResult(0x000E, false); /* ERROR_OUTOFMEMORY */ } case SQLiteErrorCode.ReadOnly: { return MakeHResult(0x1779, false); /* ERROR_FILE_READ_ONLY */ } case SQLiteErrorCode.Interrupt: { |
︙ | ︙ |