diff options
Diffstat (limited to 'OpenSim/Framework/Data.SQLite')
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs index 00b0acb..96dd5ac 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs | |||
@@ -690,8 +690,8 @@ namespace OpenSim.Framework.Data.SQLite | |||
690 | createCol(items, "assetID", typeof (String)); | 690 | createCol(items, "assetID", typeof (String)); |
691 | createCol(items, "parentFolderID", typeof (String)); | 691 | createCol(items, "parentFolderID", typeof (String)); |
692 | 692 | ||
693 | createCol(items, "invType", typeof (String)); | 693 | createCol(items, "invType", typeof (Int32)); |
694 | createCol(items, "assetType", typeof (String)); | 694 | createCol(items, "assetType", typeof (Int32)); |
695 | 695 | ||
696 | createCol(items, "name", typeof (String)); | 696 | createCol(items, "name", typeof (String)); |
697 | createCol(items, "description", typeof (String)); | 697 | createCol(items, "description", typeof (String)); |
@@ -895,8 +895,8 @@ namespace OpenSim.Framework.Data.SQLite | |||
895 | taskItem.asset_id = new LLUUID((String)row["assetID"]); | 895 | taskItem.asset_id = new LLUUID((String)row["assetID"]); |
896 | taskItem.parent_id = new LLUUID((String)row["parentFolderID"]); | 896 | taskItem.parent_id = new LLUUID((String)row["parentFolderID"]); |
897 | 897 | ||
898 | taskItem.inv_type = (String)row["invType"]; | 898 | taskItem.inv_type = Convert.ToInt32(row["invType"]); |
899 | taskItem.type = (String)row["assetType"]; | 899 | taskItem.type = Convert.ToInt32(row["assetType"]); |
900 | 900 | ||
901 | taskItem.name = (String)row["name"]; | 901 | taskItem.name = (String)row["name"]; |
902 | taskItem.desc = (String)row["description"]; | 902 | taskItem.desc = (String)row["description"]; |