From 483377adaedefb12f19b3f843dbabfd7b545bf90 Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 16 Nov 2007 13:39:11 +0000 Subject: More cleaning up when deleting regions from a instance. NOTE: IGridServices.DeregisterRegion() method needs implementing for grid mode. --- .../OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs') diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index e49e225..a9fb869 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs @@ -709,22 +709,9 @@ namespace OpenSim.DataStore.MonoSqlite row["ProfileEnd"] = s.ProfileEnd; row["ProfileCurve"] = s.ProfileCurve; row["ProfileHollow"] = s.ProfileHollow; - // text TODO: this isn't right] = but I'm not sure the right - // way to specify this as a blob atm - // And I couldn't work out how to save binary data either - // seems that the texture colum is being treated as a string in the Datarow - // if you do a .getType() on it, it returns string, while the other columns return correct type - // MW[10-08-07] - // Added following xml hack but not really ideal , also ExtraParams isn't currently part of the database - // am a bit worried about adding it now as some people will have old format databases, so for now including that data in this xml data - // MW[17-08-07] row["Texture"] = s.TextureEntry; row["ExtraParams"] = s.ExtraParams; - // TextureBlock textureBlock = new TextureBlock(s.TextureEntry); - // textureBlock.ExtraParams = s.ExtraParams; - // System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding(); - // row["Texture"] = encoding.GetBytes(textureBlock.ToXMLString()); } private void addPrim(SceneObjectPart prim, LLUUID sceneGroupID, LLUUID regionUUID) -- cgit v1.1