aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL/MSSQLSimulationData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLSimulationData.cs')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLSimulationData.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLSimulationData.cs b/OpenSim/Data/MSSQL/MSSQLSimulationData.cs
index ae105d5..e4bfc28 100644
--- a/OpenSim/Data/MSSQL/MSSQLSimulationData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLSimulationData.cs
@@ -1126,7 +1126,7 @@ VALUES
1126 prim.LinkNum = Convert.ToInt32(primRow["LinkNumber"]); 1126 prim.LinkNum = Convert.ToInt32(primRow["LinkNumber"]);
1127 1127
1128 if (!(primRow["MediaURL"] is System.DBNull)) 1128 if (!(primRow["MediaURL"] is System.DBNull))
1129 prim.MediaUrl = (string)primRow["MediaURL"]; 1129 prim.MediaUrl = (string)primRow["MediaURL"];
1130 1130
1131 return prim; 1131 return prim;
1132 } 1132 }
@@ -1180,7 +1180,7 @@ VALUES
1180 { 1180 {
1181 } 1181 }
1182 1182
1183 if (!(shapeRow["Media"] is System.DBNull)) 1183 if (!(shapeRow["Media"] is System.DBNull))
1184 baseShape.Media = PrimitiveBaseShape.MediaList.FromXml((string)shapeRow["Media"]); 1184 baseShape.Media = PrimitiveBaseShape.MediaList.FromXml((string)shapeRow["Media"]);
1185 1185
1186 return baseShape; 1186 return baseShape;
@@ -1511,7 +1511,7 @@ VALUES
1511 parameters.Add(_Database.CreateParameter("PassTouches", 1)); 1511 parameters.Add(_Database.CreateParameter("PassTouches", 1));
1512 else 1512 else
1513 parameters.Add(_Database.CreateParameter("PassTouches", 0)); 1513 parameters.Add(_Database.CreateParameter("PassTouches", 0));
1514 parameters.Add(_Database.CreateParameter("LinkNumber", prim.LinkNum)); 1514 parameters.Add(_Database.CreateParameter("LinkNumber", prim.LinkNum));
1515 parameters.Add(_Database.CreateParameter("MediaURL", prim.MediaUrl)); 1515 parameters.Add(_Database.CreateParameter("MediaURL", prim.MediaUrl));
1516 1516
1517 return parameters.ToArray(); 1517 return parameters.ToArray();