diff options
author | Justin Clark-Casey (justincc) | 2010-02-08 21:39:46 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-02-08 21:39:46 +0000 |
commit | aba59088604bbc422af7f670226e1b5c91acab41 (patch) | |
tree | 9896e48143101a20eddf38921ad646702f48146b /OpenSim/Data/MySQL/MySQLLogData.cs | |
parent | add some method doc to IDynamicTextureManager (diff) | |
parent | Adding the Careminster "Configger" tool to OpenSim. The tool will, when launched (diff) | |
download | opensim-SC-aba59088604bbc422af7f670226e1b5c91acab41.zip opensim-SC-aba59088604bbc422af7f670226e1b5c91acab41.tar.gz opensim-SC-aba59088604bbc422af7f670226e1b5c91acab41.tar.bz2 opensim-SC-aba59088604bbc422af7f670226e1b5c91acab41.tar.xz |
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLLogData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLLogData.cs | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/OpenSim/Data/MySQL/MySQLLogData.cs b/OpenSim/Data/MySQL/MySQLLogData.cs index 8f67eeb..304883c 100644 --- a/OpenSim/Data/MySQL/MySQLLogData.cs +++ b/OpenSim/Data/MySQL/MySQLLogData.cs | |||
@@ -79,14 +79,19 @@ namespace OpenSim.Data.MySQL | |||
79 | 79 | ||
80 | // This actually does the roll forward assembly stuff | 80 | // This actually does the roll forward assembly stuff |
81 | Assembly assem = GetType().Assembly; | 81 | Assembly assem = GetType().Assembly; |
82 | Migration m = new Migration(database.Connection, assem, "LogStore"); | ||
83 | 82 | ||
84 | // TODO: After rev 6000, remove this. People should have | 83 | using (MySql.Data.MySqlClient.MySqlConnection dbcon = new MySql.Data.MySqlClient.MySqlConnection(connect)) |
85 | // been rolled onto the new migration code by then. | 84 | { |
86 | TestTables(m); | 85 | dbcon.Open(); |
86 | |||
87 | Migration m = new Migration(dbcon, assem, "LogStore"); | ||
87 | 88 | ||
88 | m.Update(); | 89 | // TODO: After rev 6000, remove this. People should have |
90 | // been rolled onto the new migration code by then. | ||
91 | TestTables(m); | ||
89 | 92 | ||
93 | m.Update(); | ||
94 | } | ||
90 | } | 95 | } |
91 | 96 | ||
92 | /// <summary></summary> | 97 | /// <summary></summary> |
@@ -128,7 +133,6 @@ namespace OpenSim.Data.MySQL | |||
128 | } | 133 | } |
129 | catch | 134 | catch |
130 | { | 135 | { |
131 | database.Reconnect(); | ||
132 | } | 136 | } |
133 | } | 137 | } |
134 | 138 | ||