From 28b29aff45df9737dec33301c34c340c610d6bb3 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 8 Jul 2010 16:21:01 -0700 Subject: Hopefully fixes mantis #4852 --- OpenSim/Data/SQLite/SQLiteEstateData.cs | 4 ++-- OpenSim/Data/SQLiteLegacy/SQLiteEstateData.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenSim/Data/SQLite/SQLiteEstateData.cs b/OpenSim/Data/SQLite/SQLiteEstateData.cs index 9dd4a2e..fcf041e 100644 --- a/OpenSim/Data/SQLite/SQLiteEstateData.cs +++ b/OpenSim/Data/SQLite/SQLiteEstateData.cs @@ -328,7 +328,7 @@ namespace OpenSim.Data.SQLite public EstateSettings LoadEstateSettings(int estateID) { - string sql = "select estate_settings."+String.Join(",estate_settings.", FieldList)+" from estate_settings where estate_settings.EstateID :EstateID"; + string sql = "select estate_settings."+String.Join(",estate_settings.", FieldList)+" from estate_settings where estate_settings.EstateID = :EstateID"; SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand(); @@ -342,7 +342,7 @@ namespace OpenSim.Data.SQLite { List result = new List(); - string sql = "select EstateID from estate_settings where estate_settings.EstateName :EstateName"; + string sql = "select EstateID from estate_settings where estate_settings.EstateName = :EstateName"; SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand(); diff --git a/OpenSim/Data/SQLiteLegacy/SQLiteEstateData.cs b/OpenSim/Data/SQLiteLegacy/SQLiteEstateData.cs index e135eaa..bf8ee14 100644 --- a/OpenSim/Data/SQLiteLegacy/SQLiteEstateData.cs +++ b/OpenSim/Data/SQLiteLegacy/SQLiteEstateData.cs @@ -328,7 +328,7 @@ namespace OpenSim.Data.SQLiteLegacy public EstateSettings LoadEstateSettings(int estateID) { - string sql = "select estate_settings."+String.Join(",estate_settings.", FieldList)+" from estate_settings where estate_settings.EstateID :EstateID"; + string sql = "select estate_settings."+String.Join(",estate_settings.", FieldList)+" from estate_settings where estate_settings.EstateID = :EstateID"; SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand(); @@ -342,7 +342,7 @@ namespace OpenSim.Data.SQLiteLegacy { List result = new List(); - string sql = "select EstateID from estate_settings where estate_settings.EstateName :EstateName"; + string sql = "select EstateID from estate_settings where estate_settings.EstateName = :EstateName"; SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand(); -- cgit v1.1