aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL
diff options
context:
space:
mode:
authorSean Dague2008-04-08 23:26:31 +0000
committerSean Dague2008-04-08 23:26:31 +0000
commita6d27e09295cd0160d3439fbfa6598f08c431608 (patch)
treefc416f3da7af6fd14a06d24a1a43e924c458853e /OpenSim/Data/MSSQL
parentadded migration script for SqliteAssets (diff)
downloadopensim-SC_OLD-a6d27e09295cd0160d3439fbfa6598f08c431608.zip
opensim-SC_OLD-a6d27e09295cd0160d3439fbfa6598f08c431608.tar.gz
opensim-SC_OLD-a6d27e09295cd0160d3439fbfa6598f08c431608.tar.bz2
opensim-SC_OLD-a6d27e09295cd0160d3439fbfa6598f08c431608.tar.xz
further refactor and rename of InventoryFolderBase properties
to reflect what they really are.
Diffstat (limited to 'OpenSim/Data/MSSQL')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLInventoryData.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
index f53d9f9..09d4710 100644
--- a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
@@ -370,7 +370,7 @@ namespace OpenSim.Data.MSSQL
370 try 370 try
371 { 371 {
372 InventoryFolderBase folder = new InventoryFolderBase(); 372 InventoryFolderBase folder = new InventoryFolderBase();
373 folder.AgentID = new LLUUID((string) reader["agentID"]); 373 folder.Owner = new LLUUID((string) reader["agentID"]);
374 folder.ParentID = new LLUUID((string) reader["parentFolderID"]); 374 folder.ParentID = new LLUUID((string) reader["parentFolderID"]);
375 folder.ID = new LLUUID((string) reader["folderID"]); 375 folder.ID = new LLUUID((string) reader["folderID"]);
376 folder.Name = (string) reader["folderName"]; 376 folder.Name = (string) reader["folderName"];
@@ -558,7 +558,7 @@ namespace OpenSim.Data.MSSQL
558 558
559 Dictionary<string, string> param = new Dictionary<string, string>(); 559 Dictionary<string, string> param = new Dictionary<string, string>();
560 param["folderID"] = folder.ID.ToString(); 560 param["folderID"] = folder.ID.ToString();
561 param["agentID"] = folder.AgentID.ToString(); 561 param["agentID"] = folder.Owner.ToString();
562 param["parentFolderID"] = folder.ParentID.ToString(); 562 param["parentFolderID"] = folder.ParentID.ToString();
563 param["folderName"] = folder.Name; 563 param["folderName"] = folder.Name;
564 param["type"] = Convert.ToString(folder.Type); 564 param["type"] = Convert.ToString(folder.Type);
@@ -590,7 +590,7 @@ namespace OpenSim.Data.MSSQL
590 "version = @version where " + 590 "version = @version where " +
591 "folderID = @keyFolderID;", database.getConnection()); 591 "folderID = @keyFolderID;", database.getConnection());
592 SqlParameter param1 = new SqlParameter("@folderID", folder.ID.ToString()); 592 SqlParameter param1 = new SqlParameter("@folderID", folder.ID.ToString());
593 SqlParameter param2 = new SqlParameter("@agentID", folder.AgentID.ToString()); 593 SqlParameter param2 = new SqlParameter("@agentID", folder.Owner.ToString());
594 SqlParameter param3 = new SqlParameter("@parentFolderID", folder.ParentID.ToString()); 594 SqlParameter param3 = new SqlParameter("@parentFolderID", folder.ParentID.ToString());
595 SqlParameter param4 = new SqlParameter("@folderName", folder.Name); 595 SqlParameter param4 = new SqlParameter("@folderName", folder.Name);
596 SqlParameter param5 = new SqlParameter("@type", folder.Type); 596 SqlParameter param5 = new SqlParameter("@type", folder.Type);