aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorMelanie2010-05-19 03:48:03 +0100
committerMelanie2010-05-19 03:48:03 +0100
commit0c209a469b54a52ac7d54a7bddd2bdcf02a80522 (patch)
treee754e42ce0b602794e4f5dcf42ee56215f0d6f12 /OpenSim/Data/MySQL
parentFix the migration message to say "Continuing" again. Remove line feed, which (diff)
downloadopensim-SC_OLD-0c209a469b54a52ac7d54a7bddd2bdcf02a80522.zip
opensim-SC_OLD-0c209a469b54a52ac7d54a7bddd2bdcf02a80522.tar.gz
opensim-SC_OLD-0c209a469b54a52ac7d54a7bddd2bdcf02a80522.tar.bz2
opensim-SC_OLD-0c209a469b54a52ac7d54a7bddd2bdcf02a80522.tar.xz
Clean up output a bit
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLMigrations.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Data/MySQL/MySQLMigrations.cs b/OpenSim/Data/MySQL/MySQLMigrations.cs
index 959b5d0..81a0e83 100644
--- a/OpenSim/Data/MySQL/MySQLMigrations.cs
+++ b/OpenSim/Data/MySQL/MySQLMigrations.cs
@@ -43,8 +43,6 @@ namespace OpenSim.Data.MySQL
43 /// </summary> 43 /// </summary>
44 public class MySqlMigration : Migration 44 public class MySqlMigration : Migration
45 { 45 {
46 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
47
48 public MySqlMigration() 46 public MySqlMigration()
49 : base() 47 : base()
50 { 48 {
@@ -75,9 +73,7 @@ namespace OpenSim.Data.MySQL
75 scr.Query = sql; 73 scr.Query = sql;
76 scr.Error += delegate(object sender, MySqlScriptErrorEventArgs args) 74 scr.Error += delegate(object sender, MySqlScriptErrorEventArgs args)
77 { 75 {
78 m_log.ErrorFormat("[MySQL MIGRATION]: Error {0}", args.Exception.Message); 76 throw new Exception(sql);
79 m_log.ErrorFormat("[MySQL MIGRATION]: In SQL: {0}", args.StatementText);
80 throw args.Exception;
81 }; 77 };
82 scr.Execute(); 78 scr.Execute();
83 } 79 }