aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLMigrations.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLMigrations.cs')
-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 }