diff options
* Optimized usings (the 'LL ate my scripts' commit)
* added some licensing info
Diffstat (limited to 'OpenSim/Region/Storage/LocalStorageBerkeleyDB')
-rw-r--r-- | OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs index 3bc6f25..39ba6e4 100644 --- a/OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs +++ b/OpenSim/Region/Storage/LocalStorageBerkeleyDB/BDBLocalStorage.cs | |||
@@ -29,15 +29,10 @@ | |||
29 | // BDB Support | 29 | // BDB Support |
30 | // Apparently broken on Mono | 30 | // Apparently broken on Mono |
31 | 31 | ||
32 | using System; | 32 | using BerkeleyDb; |
33 | using System.Collections.Generic; | ||
34 | using System.Data; | ||
35 | using libsecondlife; | 33 | using libsecondlife; |
36 | using OpenSim.Framework.Interfaces; | 34 | using OpenSim.Framework.Interfaces; |
37 | using OpenSim.Framework.Types; | 35 | using OpenSim.Framework.Types; |
38 | using BerkeleyDb; | ||
39 | using Kds.Serialization; | ||
40 | using Kds.Serialization.Buffer; | ||
41 | 36 | ||
42 | namespace OpenSim.Region.Storage.LocalStorageBDB | 37 | namespace OpenSim.Region.Storage.LocalStorageBDB |
43 | { | 38 | { |
@@ -52,7 +47,7 @@ namespace OpenSim.Region.Storage.LocalStorageBDB | |||
52 | public BDBLocalStorage() | 47 | public BDBLocalStorage() |
53 | { | 48 | { |
54 | DB = new Db(DbCreateFlags.None); | 49 | DB = new Db(DbCreateFlags.None); |
55 | sim = (DbHash)DB.Open(null, simDbName, null, BerkeleyDb.DbType.Hash, Db.OpenFlags.Create, 0); | 50 | sim = (DbHash)DB.Open(null, simDbName, null, DbType.Hash, Db.OpenFlags.Create, 0); |
56 | //vendorDb = (DbBTree)db.Open(null, VendorDbName, null, DbType.BTree, Db.OpenFlags.Create, 0); | 51 | //vendorDb = (DbBTree)db.Open(null, VendorDbName, null, DbType.BTree, Db.OpenFlags.Create, 0); |
57 | } | 52 | } |
58 | 53 | ||