From 96921c402c4341976aed8052446af7119a08aa20 Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Sun, 30 Nov 2008 22:27:22 +0000 Subject: [PATCH] Try to fix Mantis#2727. SQLite seems to be able to store bigger numbers in an INTEGER column (using 6 bytes), but the mapping was wrong. Question: Should we move localIDs to int instead of uint to save some bytes? --- OpenSim/Data/SQLite/SQLiteRegionData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index c436205387..b4b5ebb58b 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs @@ -783,7 +783,7 @@ namespace OpenSim.Data.SQLite createCol(prims, "UUID", typeof (String)); createCol(prims, "RegionUUID", typeof (String)); - createCol(prims, "ParentID", typeof (Int32)); + createCol(prims, "ParentID", typeof (UInt32)); createCol(prims, "CreationDate", typeof (Int32)); createCol(prims, "Name", typeof (String)); createCol(prims, "SceneGroupID", typeof (String));