Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Stop simply characterizing all log messages as errors. From now on, if the errorCode is zero, the message will not be considered an error. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | tkt-e30b820248 |
Files: | files | file ages | folders |
SHA1: |
e6e51e382e3ddebd6fbd1dddb313ceca |
User & Date: | mistachkin 2011-11-14 05:20:55.801 |
Context
2011-11-14
| ||
05:40 | Allow the SQLiteLog class to be used without having an open connection (i.e. and skip going through the SQLite core library to do it). check-in: 374756ec29 user: mistachkin tags: tkt-e30b820248 | |
05:20 | Stop simply characterizing all log messages as errors. From now on, if the errorCode is zero, the message will not be considered an error. check-in: e6e51e382e user: mistachkin tags: tkt-e30b820248 | |
05:12 | Revise and improve diagnostics for opening/closing connections and preparing/finalizing statements. check-in: 40cdd9c8a0 user: mistachkin tags: tkt-e30b820248 | |
Changes
Changes to System.Data.SQLite/SQLiteLog.cs.
︙ | ︙ | |||
364 365 366 367 368 369 370 | { message = message.Trim(); if (message.Length == 0) message = "<empty>"; } | > > | > | | 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 | { message = message.Trim(); if (message.Length == 0) message = "<empty>"; } int errorCode = e.ErrorCode; Trace.WriteLine(String.Format( "SQLite {0} ({1}): {2}", errorCode == 0 ? "message" : "error", errorCode, message)); } } #endif } |