diff options
author | Justin Clarke Casey | 2008-01-11 14:55:27 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-01-11 14:55:27 +0000 |
commit | 1e981a7c1cbf6abf1e60cf2ddc3ce9074d6543a6 (patch) | |
tree | 7de3586c0d4c7be06c2a6087ec8d8496cfb2f5d8 /OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs | |
parent | * quick fix to fix if webLoginKey is null in DB, return random key (I guess L... (diff) | |
download | opensim-SC-1e981a7c1cbf6abf1e60cf2ddc3ce9074d6543a6.zip opensim-SC-1e981a7c1cbf6abf1e60cf2ddc3ce9074d6543a6.tar.gz opensim-SC-1e981a7c1cbf6abf1e60cf2ddc3ce9074d6543a6.tar.bz2 opensim-SC-1e981a7c1cbf6abf1e60cf2ddc3ce9074d6543a6.tar.xz |
Switch prim items type representation to use int rather than strings.
Diffstat (limited to '')
-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"]; |