diff options
author | Melanie | 2011-01-18 01:31:14 +0000 |
---|---|---|
committer | Melanie | 2011-01-18 01:31:14 +0000 |
commit | 06e225bc0b881ca38f73b2598263c90c4bd129f2 (patch) | |
tree | 15842650589abe20ac75937e967762b7ca3d79da /OpenSim/Data/MySQL | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC-06e225bc0b881ca38f73b2598263c90c4bd129f2.zip opensim-SC-06e225bc0b881ca38f73b2598263c90c4bd129f2.tar.gz opensim-SC-06e225bc0b881ca38f73b2598263c90c4bd129f2.tar.bz2 opensim-SC-06e225bc0b881ca38f73b2598263c90c4bd129f2.tar.xz |
Also fix MySQLXInventoryData
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLXInventoryData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLXInventoryData.cs b/OpenSim/Data/MySQL/MySQLXInventoryData.cs index 3c73095..287c4dd 100644 --- a/OpenSim/Data/MySQL/MySQLXInventoryData.cs +++ b/OpenSim/Data/MySQL/MySQLXInventoryData.cs | |||
@@ -130,7 +130,7 @@ namespace OpenSim.Data.MySQL | |||
130 | { | 130 | { |
131 | using (MySqlCommand cmd = new MySqlCommand()) | 131 | using (MySqlCommand cmd = new MySqlCommand()) |
132 | { | 132 | { |
133 | cmd.CommandText = String.Format("select * from inventoryitems where avatarId = ?uuid and assetType = ?type and flags = 1", m_Realm); | 133 | cmd.CommandText = String.Format("select * from inventoryitems where avatarId = ?uuid and assetType = ?type and flags & 1", m_Realm); |
134 | 134 | ||
135 | cmd.Parameters.AddWithValue("?uuid", principalID.ToString()); | 135 | cmd.Parameters.AddWithValue("?uuid", principalID.ToString()); |
136 | cmd.Parameters.AddWithValue("?type", (int)AssetType.Gesture); | 136 | cmd.Parameters.AddWithValue("?type", (int)AssetType.Gesture); |