diff options
author | Justin Clarke Casey | 2008-07-02 16:20:54 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-07-02 16:20:54 +0000 |
commit | 9052c43319ab69f57b80e363d965780be625b0e2 (patch) | |
tree | 3e17e9c0908be54ecb01ddff824d6c1a32020e88 /OpenSim/Data/MSSQL/MSSQLManager.cs | |
parent | Mantis#1647. Thank you kindly, Sempuki for a patch that: (diff) | |
download | opensim-SC_OLD-9052c43319ab69f57b80e363d965780be625b0e2.zip opensim-SC_OLD-9052c43319ab69f57b80e363d965780be625b0e2.tar.gz opensim-SC_OLD-9052c43319ab69f57b80e363d965780be625b0e2.tar.bz2 opensim-SC_OLD-9052c43319ab69f57b80e363d965780be625b0e2.tar.xz |
* Drop InvType from the assets table since it is no longer used
* Migration should be automatic on sqlite and mysql
* Migration is not automatic on mssql, you will need to drop the invType column manually
* Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLManager.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLManager.cs b/OpenSim/Data/MSSQL/MSSQLManager.cs index bea02fe..e421c5d 100644 --- a/OpenSim/Data/MSSQL/MSSQLManager.cs +++ b/OpenSim/Data/MSSQL/MSSQLManager.cs | |||
@@ -405,7 +405,6 @@ namespace OpenSim.Data.MSSQL | |||
405 | asset.Data = (byte[])reader["data"]; | 405 | asset.Data = (byte[])reader["data"]; |
406 | asset.Description = (string)reader["description"]; | 406 | asset.Description = (string)reader["description"]; |
407 | asset.FullID = new LLUUID((string)reader["id"]); | 407 | asset.FullID = new LLUUID((string)reader["id"]); |
408 | asset.InvType = Convert.ToSByte(reader["invType"]); | ||
409 | asset.Local = Convert.ToBoolean(reader["local"]); // ((sbyte)reader["local"]) != 0 ? true : false; | 408 | asset.Local = Convert.ToBoolean(reader["local"]); // ((sbyte)reader["local"]) != 0 ? true : false; |
410 | asset.Name = (string)reader["name"]; | 409 | asset.Name = (string)reader["name"]; |
411 | asset.Type = Convert.ToSByte(reader["assetType"]); | 410 | asset.Type = Convert.ToSByte(reader["assetType"]); |