diff options
author | UbitUmarov | 2017-07-22 23:33:03 +0100 |
---|---|---|
committer | UbitUmarov | 2017-07-22 23:33:03 +0100 |
commit | 04eeb0e5cb52f2ae16036626ae337df18054d565 (patch) | |
tree | c6de59b17244b12ba2a50e8757af79a584ce933c /OpenSim/Data/SQLite | |
parent | ubOde: let small spheres still be spheres (diff) | |
download | opensim-SC_OLD-04eeb0e5cb52f2ae16036626ae337df18054d565.zip opensim-SC_OLD-04eeb0e5cb52f2ae16036626ae337df18054d565.tar.gz opensim-SC_OLD-04eeb0e5cb52f2ae16036626ae337df18054d565.tar.bz2 opensim-SC_OLD-04eeb0e5cb52f2ae16036626ae337df18054d565.tar.xz |
mantis 8212 do use defined sqlite connection
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteXInventoryData.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteXInventoryData.cs b/OpenSim/Data/SQLite/SQLiteXInventoryData.cs index 7f44a65..7cce5e4 100644 --- a/OpenSim/Data/SQLite/SQLiteXInventoryData.cs +++ b/OpenSim/Data/SQLite/SQLiteXInventoryData.cs | |||
@@ -308,14 +308,8 @@ namespace OpenSim.Data.SQLite | |||
308 | cmd.CommandText = "update inventoryfolders set version=version+1 where folderID = ?folderID"; | 308 | cmd.CommandText = "update inventoryfolders set version=version+1 where folderID = ?folderID"; |
309 | cmd.Parameters.Add(new SqliteParameter(":folderID", folderID)); | 309 | cmd.Parameters.Add(new SqliteParameter(":folderID", folderID)); |
310 | 310 | ||
311 | try | 311 | if(ExecuteNonQuery(cmd, m_Connection) == 0) |
312 | { | ||
313 | cmd.ExecuteNonQuery(); | ||
314 | } | ||
315 | catch (Exception) | ||
316 | { | ||
317 | return false; | 312 | return false; |
318 | } | ||
319 | } | 313 | } |
320 | 314 | ||
321 | return true; | 315 | return true; |