diff options
author | Sean Dague | 2007-09-10 13:34:20 +0000 |
---|---|---|
committer | Sean Dague | 2007-09-10 13:34:20 +0000 |
commit | a1be7f4be50a645be22eb7d80679530906e8aeba (patch) | |
tree | e1171b08f6fff26e0f6fbb95a936054e956b8e19 /OpenSim/Framework/Data.SQLite/SQLiteBase.cs | |
parent | mass update of urls in source code to new website (diff) | |
download | opensim-SC_OLD-a1be7f4be50a645be22eb7d80679530906e8aeba.zip opensim-SC_OLD-a1be7f4be50a645be22eb7d80679530906e8aeba.tar.gz opensim-SC_OLD-a1be7f4be50a645be22eb7d80679530906e8aeba.tar.bz2 opensim-SC_OLD-a1be7f4be50a645be22eb7d80679530906e8aeba.tar.xz |
added some debugging for tracing where asset code isn't working with sqlite
Diffstat (limited to 'OpenSim/Framework/Data.SQLite/SQLiteBase.cs')
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteBase.cs | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
197 | return DbType.UInt64; | 197 | return DbType.UInt64; |
198 | } else if (type == typeof(System.Double)) { | 198 | } else if (type == typeof(System.Double)) { |
199 | return DbType.Double; | 199 | return DbType.Double; |
200 | } else if (type == typeof(System.Boolean)) { | ||
201 | return DbType.Boolean; | ||
200 | } else if (type == typeof(System.Byte[])) { | 202 | } else if (type == typeof(System.Byte[])) { |
201 | return DbType.Binary; | 203 | return DbType.Binary; |
202 | } else { | 204 | } else { |
@@ -220,6 +222,8 @@ namespace OpenSim.Framework.Data.SQLite | |||
220 | return "varchar(255)"; | 222 | return "varchar(255)"; |
221 | } else if (type == typeof(System.Double)) { | 223 | } else if (type == typeof(System.Double)) { |
222 | return "float"; | 224 | return "float"; |
225 | } else if (type == typeof(System.Boolean)) { | ||
226 | return "integer"; | ||
223 | } else if (type == typeof(System.Byte[])) { | 227 | } else if (type == typeof(System.Byte[])) { |
224 | return "blob"; | 228 | return "blob"; |
225 | } else { | 229 | } else { |