diff options
author | BlueWall | 2011-03-21 22:06:43 -0400 |
---|---|---|
committer | BlueWall | 2011-03-21 22:06:43 -0400 |
commit | e3c327a305dcf795f372b940f34538a19bf92218 (patch) | |
tree | b034355a12c4d87410809aa19bf6015e611e1e22 /OpenSim/Data/MySQL/MySQLEstateData.cs | |
parent | Merge branch 'master' of /home/opensim/src/OpenSim/Core (diff) | |
parent | Thanks Kevin Cozens for a patch that: (diff) | |
download | opensim-SC-e3c327a305dcf795f372b940f34538a19bf92218.zip opensim-SC-e3c327a305dcf795f372b940f34538a19bf92218.tar.gz opensim-SC-e3c327a305dcf795f372b940f34538a19bf92218.tar.bz2 opensim-SC-e3c327a305dcf795f372b940f34538a19bf92218.tar.xz |
Merge branch 'master' of /home/opensim/src/OpenSim/Core
Diffstat (limited to '')
-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); |