mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Various minor changes in the data tests
This commit is contained in:
@@ -183,9 +183,10 @@ namespace OpenSim.Data.Tests
|
||||
lst += ", " + s;
|
||||
}
|
||||
|
||||
string sCond = stores.Length > 1 ? ("in (" + lst + ")") : ("=" + lst);
|
||||
try
|
||||
{
|
||||
ExecuteSql("DELETE FROM `migrations` where name in (" + lst + ");");
|
||||
ExecuteSql("DELETE FROM migrations where name " + sCond);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user