aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs')
-rw-r--r--OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs
index 91edf5e..0a48126 100644
--- a/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs
+++ b/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs
@@ -634,9 +634,13 @@ namespace OpenSim.DataStore.MSSQL
634 s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]); 634 s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]);
635 s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]); 635 s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]);
636 s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]); 636 s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]);
637
637 // text TODO: this isn't right] = but I'm not sure the right 638 // text TODO: this isn't right] = but I'm not sure the right
638 // way to specify this as a blob atm 639 // way to specify this as a blob atm
639 s.TextureEntry = (byte[])row["Texture"]; 640 byte[] textureEntry = (byte[])row["Texture"];
641 s.TextureEntry = textureEntry;
642
643
640 s.ExtraParams = (byte[])row["ExtraParams"]; 644 s.ExtraParams = (byte[])row["ExtraParams"];
641 // System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding(); 645 // System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding();
642 // string texture = encoding.GetString((Byte[])row["Texture"]); 646 // string texture = encoding.GetString((Byte[])row["Texture"]);