aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicDataServiceTest.cs
diff options
context:
space:
mode:
authorAlexRa2010-05-23 11:31:19 +0300
committerAlexRa2010-05-23 11:48:22 +0300
commit89b7c64b6f491c4f703bb8fe28987ee5e3d5c50f (patch)
tree11b003fc0d6ede85acbe50f47bf95b36c6076614 /OpenSim/Data/Tests/BasicDataServiceTest.cs
parentFurther corrections to MS SQL stores (now passes all tests) (diff)
downloadopensim-SC-89b7c64b6f491c4f703bb8fe28987ee5e3d5c50f.zip
opensim-SC-89b7c64b6f491c4f703bb8fe28987ee5e3d5c50f.tar.gz
opensim-SC-89b7c64b6f491c4f703bb8fe28987ee5e3d5c50f.tar.bz2
opensim-SC-89b7c64b6f491c4f703bb8fe28987ee5e3d5c50f.tar.xz
Various minor changes in the data tests
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 {