diff options
author | Melanie | 2010-01-04 18:47:47 +0000 |
---|---|---|
committer | Melanie | 2010-01-04 20:53:26 +0000 |
commit | e76333555d2016412b17f43039962d32ad8c0609 (patch) | |
tree | 554d6f09b25bde1364ac83c3f2329020e45e86bd /OpenSim/Data/MySQL/MySQLGenericTableHandler.cs | |
parent | When rezzing a no-copy object on a no-rez parcel, the object vanishes from (diff) | |
download | opensim-SC_OLD-e76333555d2016412b17f43039962d32ad8c0609.zip opensim-SC_OLD-e76333555d2016412b17f43039962d32ad8c0609.tar.gz opensim-SC_OLD-e76333555d2016412b17f43039962d32ad8c0609.tar.bz2 opensim-SC_OLD-e76333555d2016412b17f43039962d32ad8c0609.tar.xz |
First stage port of the XInventoryService
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLGenericTableHandler.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLGenericTableHandler.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs index b2bd5f6..fdb98eb 100644 --- a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs +++ b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs | |||
@@ -153,6 +153,11 @@ namespace OpenSim.Data.MySQL | |||
153 | UUID.TryParse(reader[name].ToString(), out uuid); | 153 | UUID.TryParse(reader[name].ToString(), out uuid); |
154 | m_Fields[name].SetValue(row, uuid); | 154 | m_Fields[name].SetValue(row, uuid); |
155 | } | 155 | } |
156 | else if (m_Fields[name].GetValue(row) is int) | ||
157 | { | ||
158 | int v = Convert.ToInt32(reader[name]); | ||
159 | m_Fields[name].SetValue(row, v); | ||
160 | } | ||
156 | else | 161 | else |
157 | { | 162 | { |
158 | m_Fields[name].SetValue(row, reader[name]); | 163 | m_Fields[name].SetValue(row, reader[name]); |