PGSQL fixed a missing cast to uuid in XInventoryData

Signed-off-by: Melanie Thielker <melanie@t-data.com>
melanie
Geir Nøklebye 2017-01-04 21:32:09 +01:00 committed by Melanie Thielker
parent ed641b22b3
commit af93822465
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ namespace OpenSim.Data.PGSQL
*/ */
cmd.CommandText = String.Format(@"select bit_or(""inventoryCurrentPermissions"") as ""inventoryCurrentPermissions"" cmd.CommandText = String.Format(@"select bit_or(""inventoryCurrentPermissions"") as ""inventoryCurrentPermissions""
from inventoryitems from inventoryitems
where ""avatarID"" = :PrincipalID where ""avatarID""::uuid = :PrincipalID
and ""assetID"" = :AssetID and ""assetID"" = :AssetID
group by ""assetID"" "); group by ""assetID"" ");