diff options
author | Homer Horwitz | 2008-11-30 22:27:22 +0000 |
---|---|---|
committer | Homer Horwitz | 2008-11-30 22:27:22 +0000 |
commit | 96921c402c4341976aed8052446af7119a08aa20 (patch) | |
tree | 2d86316050d76eee6c0210aebdf6d61fea3917ad | |
parent | Mantis #2716 Null when linking across objects across two regions. (diff) | |
download | opensim-SC-96921c402c4341976aed8052446af7119a08aa20.zip opensim-SC-96921c402c4341976aed8052446af7119a08aa20.tar.gz opensim-SC-96921c402c4341976aed8052446af7119a08aa20.tar.bz2 opensim-SC-96921c402c4341976aed8052446af7119a08aa20.tar.xz |
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?
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index c436205..b4b5ebb 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -783,7 +783,7 @@ namespace OpenSim.Data.SQLite | |||
783 | 783 | ||
784 | createCol(prims, "UUID", typeof (String)); | 784 | createCol(prims, "UUID", typeof (String)); |
785 | createCol(prims, "RegionUUID", typeof (String)); | 785 | createCol(prims, "RegionUUID", typeof (String)); |
786 | createCol(prims, "ParentID", typeof (Int32)); | 786 | createCol(prims, "ParentID", typeof (UInt32)); |
787 | createCol(prims, "CreationDate", typeof (Int32)); | 787 | createCol(prims, "CreationDate", typeof (Int32)); |
788 | createCol(prims, "Name", typeof (String)); | 788 | createCol(prims, "Name", typeof (String)); |
789 | createCol(prims, "SceneGroupID", typeof (String)); | 789 | createCol(prims, "SceneGroupID", typeof (String)); |