diff options
author | Diva Canto | 2010-07-08 16:21:01 -0700 |
---|---|---|
committer | Diva Canto | 2010-07-08 16:22:48 -0700 |
commit | 28b29aff45df9737dec33301c34c340c610d6bb3 (patch) | |
tree | 16438dab632d3c66b3103324aa4069399726537e /OpenSim/Data/SQLiteLegacy/SQLiteEstateData.cs | |
parent | Handle a specific exception without spewing red ink. (diff) | |
download | opensim-SC-28b29aff45df9737dec33301c34c340c610d6bb3.zip opensim-SC-28b29aff45df9737dec33301c34c340c610d6bb3.tar.gz opensim-SC-28b29aff45df9737dec33301c34c340c610d6bb3.tar.bz2 opensim-SC-28b29aff45df9737dec33301c34c340c610d6bb3.tar.xz |
Hopefully fixes mantis #4852
Diffstat (limited to 'OpenSim/Data/SQLiteLegacy/SQLiteEstateData.cs')
-rw-r--r-- | OpenSim/Data/SQLiteLegacy/SQLiteEstateData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
328 | 328 | ||
329 | public EstateSettings LoadEstateSettings(int estateID) | 329 | public EstateSettings LoadEstateSettings(int estateID) |
330 | { | 330 | { |
331 | string sql = "select estate_settings."+String.Join(",estate_settings.", FieldList)+" from estate_settings where estate_settings.EstateID :EstateID"; | 331 | string sql = "select estate_settings."+String.Join(",estate_settings.", FieldList)+" from estate_settings where estate_settings.EstateID = :EstateID"; |
332 | 332 | ||
333 | SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand(); | 333 | SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand(); |
334 | 334 | ||
@@ -342,7 +342,7 @@ namespace OpenSim.Data.SQLiteLegacy | |||
342 | { | 342 | { |
343 | List<int> result = new List<int>(); | 343 | List<int> result = new List<int>(); |
344 | 344 | ||
345 | string sql = "select EstateID from estate_settings where estate_settings.EstateName :EstateName"; | 345 | string sql = "select EstateID from estate_settings where estate_settings.EstateName = :EstateName"; |
346 | 346 | ||
347 | SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand(); | 347 | SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand(); |
348 | 348 | ||