mantis 8212 do use defined sqlite connection

0.9.0-post-fixes
UbitUmarov 2017-07-22 23:33:03 +01:00
parent 3ae210d36f
commit 04eeb0e5cb
1 changed files with 1 additions and 7 deletions

View File

@ -308,15 +308,9 @@ namespace OpenSim.Data.SQLite
cmd.CommandText = "update inventoryfolders set version=version+1 where folderID = ?folderID";
cmd.Parameters.Add(new SqliteParameter(":folderID", folderID));
try
{
cmd.ExecuteNonQuery();
}
catch (Exception)
{
if(ExecuteNonQuery(cmd, m_Connection) == 0)
return false;
}
}
return true;
}