diff options
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index 4be6ce1..cd72f58 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | |||
@@ -324,11 +324,11 @@ namespace OpenSim.DataStore.MonoSqliteStorage | |||
324 | 324 | ||
325 | DataRow shapeRow = shapes.Rows.Find(prim.UUID); | 325 | DataRow shapeRow = shapes.Rows.Find(prim.UUID); |
326 | if (shapeRow == null) { | 326 | if (shapeRow == null) { |
327 | shapeRow = prims.NewRow(); | 327 | shapeRow = shapes.NewRow(); |
328 | fillShapeRow(shapeRow, prim); | 328 | fillShapeRow(shapeRow, prim); |
329 | prims.Rows.Add(shapeRow); | 329 | shapes.Rows.Add(shapeRow); |
330 | } else { | 330 | } else { |
331 | fillPrimRow(shapeRow, prim); | 331 | fillShapeRow(shapeRow, prim); |
332 | } | 332 | } |
333 | } | 333 | } |
334 | 334 | ||