From 28ff73129b2d8ba2f5fcb9df985b2696b8a4a483 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 14 Nov 2007 16:29:34 +0000 Subject: bury connect creation deeper down in case this is what .NET hates --- .../Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index 18be64a..cd1c94a 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs @@ -246,6 +246,7 @@ namespace OpenSim.DataStore.MonoSqlite public void StoreTerrain(double[,] ter, LLUUID regionID) { int revision = Util.UnixTimeSinceEpoch(); + SqliteConnection conn = new SqliteConnection(connectionString); MainLog.Instance.Verbose("DATASTORE", "Storing terrain revision r" + revision.ToString()); DataTable terrain = ds.Tables["terrain"]; -- cgit v1.1