System.Data.SQLite
Ticket Change Details
Not logged in
Overview

Artifact ID: da0f19b818d7cba8267fcca6a5d5a4329cd0f052
Ticket: ab3565a7cc007dc085b7bd9ffe753c8314e0e213
Boolean DataReader Cast Error
User & Date: anonymous 2019-11-20 03:43:04
Changes

  1. foundin changed to: "1.0.112"
  2. icomment:
    For Boolean Field, Sqlite Support True/False and 0/1.
    
    If i use True/False,SQLiteDataReader.GetBoolean will throw exception.
    
    I have a solution[maybe work]:
    
    change SQLiteDataReader.cs code on line 419,
    
    add
     if (typ == DbType.Boolean) return affinity;
    for
     case TypeAffinity.Text:
    
  3. login: "anonymous"
  4. mimetype: "text/plain"
  5. private_contact changed to: "e96ec9831614c1cf2ef33ff071c5ed47fa776121"
  6. severity changed to: "Important"
  7. status changed to: "Open"
  8. title changed to: "Boolean DataReader Cast Error"
  9. type changed to: "Code_Defect"