System.Data.SQLite
Check-in [10eda27cb2]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed LONGTEXT and LONGCHAR that were being incorrectly typed
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | sourceforge
Files: files | file ages | folders
SHA1: 10eda27cb222b674d705827ac456e44b35e329b5
User & Date: rmsimpson 2005-11-18 15:58:28
Context
2005-11-21
16:27
1.0.23 check-in: c23f124343 user: rmsimpson tags: sourceforge
2005-11-18
15:58
Fixed LONGTEXT and LONGCHAR that were being incorrectly typed check-in: 10eda27cb2 user: rmsimpson tags: sourceforge
15:37
Modified coersion code to allow more flexibility and fix inherent bugs check-in: 1f1116559d user: rmsimpson tags: sourceforge
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to System.Data.SQLite/SQLiteConvert.cs.

   499    499       }
   500    500       #endregion
   501    501   
   502    502       private static SQLiteTypeNames[] _typeNames = {
   503    503         new SQLiteTypeNames("COUNTER", DbType.Int64),
   504    504         new SQLiteTypeNames("AUTOINCREMENT", DbType.Int64),
   505    505         new SQLiteTypeNames("IDENTITY", DbType.Int64),
          506  +      new SQLiteTypeNames("LONGTEXT", DbType.String),
          507  +      new SQLiteTypeNames("LONGCHAR", DbType.String),
   506    508         new SQLiteTypeNames("LONG", DbType.Int64),
   507    509         new SQLiteTypeNames("TINYINT", DbType.Byte),
   508    510         new SQLiteTypeNames("INTEGER", DbType.Int64),
   509    511         new SQLiteTypeNames("INT", DbType.Int32),
   510    512         new SQLiteTypeNames("VARCHAR", DbType.String),
   511    513         new SQLiteTypeNames("NVARCHAR", DbType.String),
   512    514         new SQLiteTypeNames("CHAR", DbType.String),
................................................................................
   530    532         new SQLiteTypeNames("IMAGE", DbType.Binary),
   531    533         new SQLiteTypeNames("GENERAL", DbType.Binary),
   532    534         new SQLiteTypeNames("OLEOBJECT", DbType.Binary),
   533    535         new SQLiteTypeNames("GUID", DbType.Guid),
   534    536         new SQLiteTypeNames("UNIQUEIDENTIFIER", DbType.Guid),
   535    537         new SQLiteTypeNames("MEMO", DbType.String),
   536    538         new SQLiteTypeNames("NOTE", DbType.String),
   537         -      new SQLiteTypeNames("LONGTEXT", DbType.String),
   538         -      new SQLiteTypeNames("LONGCHAR", DbType.String),
   539    539         new SQLiteTypeNames("SMALLINT", DbType.Int16),
   540    540         new SQLiteTypeNames("BIGINT", DbType.Int64),
   541    541       };
   542    542     }
   543    543   }