aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Migration.cs
diff options
context:
space:
mode:
authorMelanie2010-04-27 00:27:05 +0100
committerMelanie2010-04-27 00:27:05 +0100
commitbbffe16f138a7a11e43cd403df07ed8aa934fab3 (patch)
treed9de049741233cd4fe8c8d6675acc31c483fa845 /OpenSim/Data/Migration.cs
parentAdd a parameter to prim inventory update to prevent event firing (diff)
parentAdd a parameter to prim inventory update to prevent event firing (diff)
downloadopensim-SC-bbffe16f138a7a11e43cd403df07ed8aa934fab3.zip
opensim-SC-bbffe16f138a7a11e43cd403df07ed8aa934fab3.tar.gz
opensim-SC-bbffe16f138a7a11e43cd403df07ed8aa934fab3.tar.bz2
opensim-SC-bbffe16f138a7a11e43cd403df07ed8aa934fab3.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Data/Migration.cs')
-rw-r--r--OpenSim/Data/Migration.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs
index 4622e23..0fb9e78 100644
--- a/OpenSim/Data/Migration.cs
+++ b/OpenSim/Data/Migration.cs
@@ -146,6 +146,8 @@ namespace OpenSim.Data
146 { 146 {
147 m_log.DebugFormat("[MIGRATIONS] Cmd was {0}", cmd.CommandText); 147 m_log.DebugFormat("[MIGRATIONS] Cmd was {0}", cmd.CommandText);
148 m_log.DebugFormat("[MIGRATIONS]: An error has occurred in the migration {0}.\n This may mean you could see errors trying to run OpenSim. If you see database related errors, you will need to fix the issue manually. Continuing.", e.Message); 148 m_log.DebugFormat("[MIGRATIONS]: An error has occurred in the migration {0}.\n This may mean you could see errors trying to run OpenSim. If you see database related errors, you will need to fix the issue manually. Continuing.", e.Message);
149 cmd.CommandText = "ROLLBACK;";
150 cmd.ExecuteNonQuery();
149 } 151 }
150 152
151 if (version == 0) 153 if (version == 0)
@@ -157,8 +159,9 @@ namespace OpenSim.Data
157 UpdateVersion(_type, newversion); 159 UpdateVersion(_type, newversion);
158 } 160 }
159 version = newversion; 161 version = newversion;
160 cmd.Dispose();
161 } 162 }
163
164 cmd.Dispose();
162 } 165 }
163 166
164 // private int MaxVersion() 167 // private int MaxVersion()