mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
dispose of the DbCommand used to execute migrations after we've finished with it rather than within the loop
disposing of it within the loop causes Mono.Data.Sqlite.dll to get upset, and it's the wrong behaviour anyway
This commit is contained in:
@@ -159,8 +159,9 @@ namespace OpenSim.Data
|
||||
UpdateVersion(_type, newversion);
|
||||
}
|
||||
version = newversion;
|
||||
cmd.Dispose();
|
||||
}
|
||||
|
||||
cmd.Dispose();
|
||||
}
|
||||
|
||||
// private int MaxVersion()
|
||||
|
||||
@@ -34,7 +34,7 @@ using Mono.Data.Sqlite;
|
||||
using OpenMetaverse;
|
||||
using OpenSim.Framework;
|
||||
|
||||
namespace OpenSim.Data.SQLite
|
||||
namespace OpenSim.Data.SQLiteNG
|
||||
{
|
||||
/// <summary>
|
||||
/// An asset storage interface for the SQLite database system
|
||||
|
||||
Reference in New Issue
Block a user