diff options
author | Dan Lake | 2011-07-20 15:01:32 -0700 |
---|---|---|
committer | Dan Lake | 2011-07-20 15:01:32 -0700 |
commit | 2c11f7fc38ba14e041ed0e648088d574dadaaffe (patch) | |
tree | d593e3d1130e78ec74a11650d413f451a9a844da /OpenSim/Data/SQLite/SQLiteSimulationData.cs | |
parent | Merge branch 'master' into bulletsim (diff) | |
parent | Removed unused AddPrimShape methods in PhysicsScene caused by merge conflicts (diff) | |
download | opensim-SC-2c11f7fc38ba14e041ed0e648088d574dadaaffe.zip opensim-SC-2c11f7fc38ba14e041ed0e648088d574dadaaffe.tar.gz opensim-SC-2c11f7fc38ba14e041ed0e648088d574dadaaffe.tar.bz2 opensim-SC-2c11f7fc38ba14e041ed0e648088d574dadaaffe.tar.xz |
Merge branch 'master' into bulletsim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteSimulationData.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteSimulationData.cs b/OpenSim/Data/SQLite/SQLiteSimulationData.cs index 377c680..5618772 100644 --- a/OpenSim/Data/SQLite/SQLiteSimulationData.cs +++ b/OpenSim/Data/SQLite/SQLiteSimulationData.cs | |||
@@ -74,6 +74,11 @@ namespace OpenSim.Data.SQLite | |||
74 | 74 | ||
75 | private String m_connectionString; | 75 | private String m_connectionString; |
76 | 76 | ||
77 | protected virtual Assembly Assembly | ||
78 | { | ||
79 | get { return GetType().Assembly; } | ||
80 | } | ||
81 | |||
77 | public SQLiteSimulationData() | 82 | public SQLiteSimulationData() |
78 | { | 83 | { |
79 | } | 84 | } |
@@ -132,8 +137,7 @@ namespace OpenSim.Data.SQLite | |||
132 | SqliteCommand regionSettingsSelectCmd = new SqliteCommand(regionSettingsSelect, m_conn); | 137 | SqliteCommand regionSettingsSelectCmd = new SqliteCommand(regionSettingsSelect, m_conn); |
133 | regionSettingsDa = new SqliteDataAdapter(regionSettingsSelectCmd); | 138 | regionSettingsDa = new SqliteDataAdapter(regionSettingsSelectCmd); |
134 | // This actually does the roll forward assembly stuff | 139 | // This actually does the roll forward assembly stuff |
135 | Assembly assem = GetType().Assembly; | 140 | Migration m = new Migration(m_conn, Assembly, "RegionStore"); |
136 | Migration m = new Migration(m_conn, assem, "RegionStore"); | ||
137 | m.Update(); | 141 | m.Update(); |
138 | 142 | ||
139 | lock (ds) | 143 | lock (ds) |