aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicDataServiceTest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/Tests/BasicDataServiceTest.cs')
-rw-r--r--OpenSim/Data/Tests/BasicDataServiceTest.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Data/Tests/BasicDataServiceTest.cs b/OpenSim/Data/Tests/BasicDataServiceTest.cs
index e91a45d..4c7cf28 100644
--- a/OpenSim/Data/Tests/BasicDataServiceTest.cs
+++ b/OpenSim/Data/Tests/BasicDataServiceTest.cs
@@ -183,9 +183,10 @@ namespace OpenSim.Data.Tests
183 lst += ", " + s; 183 lst += ", " + s;
184 } 184 }
185 185
186 string sCond = stores.Length > 1 ? ("in (" + lst + ")") : ("=" + lst);
186 try 187 try
187 { 188 {
188 ExecuteSql("DELETE FROM `migrations` where name in (" + lst + ");"); 189 ExecuteSql("DELETE FROM migrations where name " + sCond);
189 } 190 }
190 catch 191 catch
191 { 192 {