Thanks Gavin Hird for a fix for an exception when requesting an Estate Ban when using PGSQL.
parent
b5ac0e1ab8
commit
2c5a3ff9f0
|
@ -500,7 +500,7 @@ namespace OpenSim.Data.PGSQL
|
||||||
public List<int> GetEstatesByOwner(UUID ownerID)
|
public List<int> GetEstatesByOwner(UUID ownerID)
|
||||||
{
|
{
|
||||||
List<int> result = new List<int>();
|
List<int> result = new List<int>();
|
||||||
string sql = "select \"estateID\" from estate_settings where \"EstateOwner\" = :EstateOwner";
|
string sql = "select \"EstateID\" from estate_settings where \"EstateOwner\" = :EstateOwner";
|
||||||
using (NpgsqlConnection conn = new NpgsqlConnection(m_connectionString))
|
using (NpgsqlConnection conn = new NpgsqlConnection(m_connectionString))
|
||||||
{
|
{
|
||||||
conn.Open();
|
conn.Open();
|
||||||
|
|
Loading…
Reference in New Issue