diff options
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLEstateData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLEstateData.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLEstateData.cs b/OpenSim/Data/MySQL/MySQLEstateData.cs index c42c687..de72a6a 100644 --- a/OpenSim/Data/MySQL/MySQLEstateData.cs +++ b/OpenSim/Data/MySQL/MySQLEstateData.cs | |||
@@ -54,6 +54,11 @@ namespace OpenSim.Data.MySQL | |||
54 | private Dictionary<string, FieldInfo> m_FieldMap = | 54 | private Dictionary<string, FieldInfo> m_FieldMap = |
55 | new Dictionary<string, FieldInfo>(); | 55 | new Dictionary<string, FieldInfo>(); |
56 | 56 | ||
57 | protected virtual Assembly Assembly | ||
58 | { | ||
59 | get { return GetType().Assembly; } | ||
60 | } | ||
61 | |||
57 | public MySQLEstateStore() | 62 | public MySQLEstateStore() |
58 | { | 63 | { |
59 | } | 64 | } |
@@ -82,8 +87,7 @@ namespace OpenSim.Data.MySQL | |||
82 | { | 87 | { |
83 | dbcon.Open(); | 88 | dbcon.Open(); |
84 | 89 | ||
85 | Assembly assem = GetType().Assembly; | 90 | Migration m = new Migration(dbcon, Assembly, "EstateStore"); |
86 | Migration m = new Migration(dbcon, assem, "EstateStore"); | ||
87 | m.Update(); | 91 | m.Update(); |
88 | 92 | ||
89 | Type t = typeof(EstateSettings); | 93 | Type t = typeof(EstateSettings); |