From a1be7f4be50a645be22eb7d80679530906e8aeba Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 10 Sep 2007 13:34:20 +0000 Subject: added some debugging for tracing where asset code isn't working with sqlite --- OpenSim/Framework/Data.SQLite/SQLiteBase.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Framework/Data.SQLite/SQLiteBase.cs') diff --git a/OpenSim/Framework/Data.SQLite/SQLiteBase.cs b/OpenSim/Framework/Data.SQLite/SQLiteBase.cs index a59804c..06fa3bb 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteBase.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteBase.cs @@ -197,6 +197,8 @@ namespace OpenSim.Framework.Data.SQLite return DbType.UInt64; } else if (type == typeof(System.Double)) { return DbType.Double; + } else if (type == typeof(System.Boolean)) { + return DbType.Boolean; } else if (type == typeof(System.Byte[])) { return DbType.Binary; } else { @@ -220,6 +222,8 @@ namespace OpenSim.Framework.Data.SQLite return "varchar(255)"; } else if (type == typeof(System.Double)) { return "float"; + } else if (type == typeof(System.Boolean)) { + return "integer"; } else if (type == typeof(System.Byte[])) { return "blob"; } else { -- cgit v1.1