diff options
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateInventoryData.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateInventoryData.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateInventoryData.cs b/OpenSim/Data/NHibernate/NHibernateInventoryData.cs index 228e0b6..902ecfb 100644 --- a/OpenSim/Data/NHibernate/NHibernateInventoryData.cs +++ b/OpenSim/Data/NHibernate/NHibernateInventoryData.cs | |||
@@ -75,8 +75,8 @@ namespace OpenSim.Data.NHibernate | |||
75 | cfg.AddAssembly("OpenSim.Data.NHibernate"); | 75 | cfg.AddAssembly("OpenSim.Data.NHibernate"); |
76 | 76 | ||
77 | HbmSerializer.Default.Validate = true; | 77 | HbmSerializer.Default.Validate = true; |
78 | using ( MemoryStream stream = | 78 | using (MemoryStream stream = |
79 | HbmSerializer.Default.Serialize(Assembly.GetExecutingAssembly())) | 79 | HbmSerializer.Default.Serialize(Assembly.GetExecutingAssembly())) |
80 | cfg.AddInputStream(stream); | 80 | cfg.AddInputStream(stream); |
81 | 81 | ||
82 | // If uncommented this will auto create tables, but it | 82 | // If uncommented this will auto create tables, but it |
@@ -90,7 +90,6 @@ namespace OpenSim.Data.NHibernate | |||
90 | InitDB(); | 90 | InitDB(); |
91 | } | 91 | } |
92 | 92 | ||
93 | |||
94 | private void InitDB() | 93 | private void InitDB() |
95 | { | 94 | { |
96 | string regex = @"no such table: Inventory"; | 95 | string regex = @"no such table: Inventory"; |
@@ -117,7 +116,6 @@ namespace OpenSim.Data.NHibernate | |||
117 | } | 116 | } |
118 | } | 117 | } |
119 | 118 | ||
120 | |||
121 | /***************************************************************** | 119 | /***************************************************************** |
122 | * | 120 | * |
123 | * Basic CRUD operations on Data | 121 | * Basic CRUD operations on Data |