aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLMigrations.cs7
1 files changed, 0 insertions, 7 deletions
diff --git a/OpenSim/Data/MySQL/MySQLMigrations.cs b/OpenSim/Data/MySQL/MySQLMigrations.cs
index b6f714c..81a0e83 100644
--- a/OpenSim/Data/MySQL/MySQLMigrations.cs
+++ b/OpenSim/Data/MySQL/MySQLMigrations.cs
@@ -66,12 +66,6 @@ namespace OpenSim.Data.MySQL
66 return; 66 return;
67 } 67 }
68 68
69 MySqlConnection c = (MySqlConnection)conn;
70
71 Type tc = c.GetType();
72 MethodInfo miSetCommandTimeout = tc.GetMethod("SetCommandTimeout", BindingFlags.NonPublic | BindingFlags.Instance);
73 MethodInfo miClearCommandTimeout = tc.GetMethod("ClearCommandTimeout", BindingFlags.NonPublic | BindingFlags.Instance);
74 miSetCommandTimeout.Invoke(c, new Object[] { 2147483 }); // INT_MAX / 1000;
75 MySqlScript scr = new MySqlScript((MySqlConnection)conn); 69 MySqlScript scr = new MySqlScript((MySqlConnection)conn);
76 { 70 {
77 foreach (string sql in script) 71 foreach (string sql in script)
@@ -84,7 +78,6 @@ namespace OpenSim.Data.MySQL
84 scr.Execute(); 78 scr.Execute();
85 } 79 }
86 } 80 }
87 miClearCommandTimeout.Invoke(c, new Object[] { });
88 } 81 }
89 } 82 }
90} 83}