aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL
diff options
context:
space:
mode:
authorJeff Ames2008-05-16 01:22:11 +0000
committerJeff Ames2008-05-16 01:22:11 +0000
commit65c5efe43b68700bad94076d4cd421160203c5de (patch)
tree589b56649ed02f4942671fd6e51c6dc43f682e0d /OpenSim/Region/Storage/OpenSim.DataStore.MSSQL
parentThank you very much, mjm for : (diff)
downloadopensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.zip
opensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.tar.gz
opensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.tar.bz2
opensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.tar.xz
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Storage/OpenSim.DataStore.MSSQL')
-rw-r--r--OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs
index c917e1e..fa0d0b6 100644
--- a/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs
+++ b/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs
@@ -142,7 +142,7 @@ namespace OpenSim.DataStore.MSSQL
142 public void RemoveObject(LLUUID obj, LLUUID regionUUID) 142 public void RemoveObject(LLUUID obj, LLUUID regionUUID)
143 { 143 {
144 m_log.InfoFormat("[DATASTORE]: Removing obj: {0} from region: {1}", obj.UUID, regionUUID); 144 m_log.InfoFormat("[DATASTORE]: Removing obj: {0} from region: {1}", obj.UUID, regionUUID);
145 145
146 DataTable prims = ds.Tables["prims"]; 146 DataTable prims = ds.Tables["prims"];
147 DataTable shapes = ds.Tables["primshapes"]; 147 DataTable shapes = ds.Tables["primshapes"];
148 148
@@ -332,7 +332,7 @@ namespace OpenSim.DataStore.MSSQL
332 /*********************************************************************** 332 /***********************************************************************
333 * 333 *
334 * Database Definition Functions 334 * Database Definition Functions
335 * 335 *
336 * This should be db agnostic as we define them in ADO.NET terms 336 * This should be db agnostic as we define them in ADO.NET terms
337 * 337 *
338 **********************************************************************/ 338 **********************************************************************/
@@ -460,7 +460,7 @@ namespace OpenSim.DataStore.MSSQL
460 } 460 }
461 461
462 /*********************************************************************** 462 /***********************************************************************
463 * 463 *
464 * Convert between ADO.NET <=> OpenSim Objects 464 * Convert between ADO.NET <=> OpenSim Objects
465 * 465 *
466 * These should be database independant 466 * These should be database independant
@@ -650,7 +650,7 @@ namespace OpenSim.DataStore.MSSQL
650 s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]); 650 s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]);
651 651
652 // text TODO: this isn't right] = but I'm not sure the right 652 // text TODO: this isn't right] = but I'm not sure the right
653 // way to specify this as a blob atm 653 // way to specify this as a blob atm
654 byte[] textureEntry = (byte[]) row["Texture"]; 654 byte[] textureEntry = (byte[]) row["Texture"];
655 s.TextureEntry = textureEntry; 655 s.TextureEntry = textureEntry;
656 656
@@ -695,7 +695,7 @@ namespace OpenSim.DataStore.MSSQL
695 // way to specify this as a blob atm 695 // way to specify this as a blob atm
696 696
697 // And I couldn't work out how to save binary data either 697 // And I couldn't work out how to save binary data either
698 // seems that the texture colum is being treated as a string in the Datarow 698 // seems that the texture colum is being treated as a string in the Datarow
699 // if you do a .getType() on it, it returns string, while the other columns return correct type 699 // if you do a .getType() on it, it returns string, while the other columns return correct type
700 // MW[10-08-07] 700 // MW[10-08-07]
701 // Added following xml hack but not really ideal , also ExtraParams isn't currently part of the database 701 // Added following xml hack but not really ideal , also ExtraParams isn't currently part of the database
@@ -738,7 +738,7 @@ namespace OpenSim.DataStore.MSSQL
738 fillShapeRow(shapeRow, prim); 738 fillShapeRow(shapeRow, prim);
739 } 739 }
740 } 740 }
741 741
742 // see IRegionDatastore 742 // see IRegionDatastore
743 public void StorePrimInventory(LLUUID primID, ICollection<TaskInventoryItem> items) 743 public void StorePrimInventory(LLUUID primID, ICollection<TaskInventoryItem> items)
744 { 744 {
@@ -868,7 +868,7 @@ namespace OpenSim.DataStore.MSSQL
868 /// This is a convenience function that collapses 5 repetitive 868 /// This is a convenience function that collapses 5 repetitive
869 /// lines for defining SqlParameters to 2 parameters: 869 /// lines for defining SqlParameters to 2 parameters:
870 /// column name and database type. 870 /// column name and database type.
871 /// 871 ///
872 /// It assumes certain conventions like :param as the param 872 /// It assumes certain conventions like :param as the param
873 /// name to replace in parametrized queries, and that source 873 /// name to replace in parametrized queries, and that source
874 /// version is always current version, both of which are fine 874 /// version is always current version, both of which are fine