diff options
author | Kitto Flora | 2011-03-22 20:33:24 +0000 |
---|---|---|
committer | Kitto Flora | 2011-03-22 20:33:24 +0000 |
commit | 764e8c2a4371c24d1a0bd067c0bcbc806562064d (patch) | |
tree | 03dfb1bfe16c420fdbb6a1aa723c9203771d1beb /OpenSim/Data/MySQL/MySQLSimulationData.cs | |
parent | Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff) | |
parent | Add some more fields to Estate settings and make them work. (diff) | |
download | opensim-SC_OLD-764e8c2a4371c24d1a0bd067c0bcbc806562064d.zip opensim-SC_OLD-764e8c2a4371c24d1a0bd067c0bcbc806562064d.tar.gz opensim-SC_OLD-764e8c2a4371c24d1a0bd067c0bcbc806562064d.tar.bz2 opensim-SC_OLD-764e8c2a4371c24d1a0bd067c0bcbc806562064d.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLSimulationData.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs index 02997b3..e14d775 100644 --- a/OpenSim/Data/MySQL/MySQLSimulationData.cs +++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs | |||
@@ -52,6 +52,11 @@ namespace OpenSim.Data.MySQL | |||
52 | private string m_connectionString; | 52 | private string m_connectionString; |
53 | private object m_dbLock = new object(); | 53 | private object m_dbLock = new object(); |
54 | 54 | ||
55 | protected virtual Assembly Assembly | ||
56 | { | ||
57 | get { return GetType().Assembly; } | ||
58 | } | ||
59 | |||
55 | public MySQLSimulationData() | 60 | public MySQLSimulationData() |
56 | { | 61 | { |
57 | } | 62 | } |
@@ -71,8 +76,7 @@ namespace OpenSim.Data.MySQL | |||
71 | 76 | ||
72 | // Apply new Migrations | 77 | // Apply new Migrations |
73 | // | 78 | // |
74 | Assembly assem = GetType().Assembly; | 79 | Migration m = new Migration(dbcon, Assembly, "RegionStore"); |
75 | Migration m = new Migration(dbcon, assem, "RegionStore"); | ||
76 | m.Update(); | 80 | m.Update(); |
77 | 81 | ||
78 | // Clean dropped attachments | 82 | // Clean dropped attachments |