From 4dfc9bdd0ba151e1aaa21ebb00887985833ebe7a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Thu, 1 May 2008 00:40:47 +0000 Subject: * Whoops, SQLite land data malfunction. Fixed. --- OpenSim/Data/SQLite/SQLiteRegionData.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index 01c63ef..b6463f3 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs @@ -976,7 +976,7 @@ namespace OpenSim.Data.SQLite { Helpers.TryParse((string)row["AuthbuyerID"], out authBuyerID); } - catch (InvalidCastException) + catch (InvalidCastException e) { // Database table was created before we got here and now has null values :P try @@ -1165,6 +1165,7 @@ namespace OpenSim.Data.SQLite row["UserLookAtX"] = land.userLookAt.X; row["UserLookAtY"] = land.userLookAt.Y; row["UserLookAtZ"] = land.userLookAt.Z; + row["AuthbuyerID"] = Util.ToRawUuidString(land.authBuyerID); } private void fillLandAccessRow(DataRow row, ParcelManager.ParcelAccessEntry entry, LLUUID parcelID) -- cgit v1.1