diff options
author | UbitUmarov | 2018-01-12 18:07:37 +0000 |
---|---|---|
committer | UbitUmarov | 2018-01-12 18:07:37 +0000 |
commit | fa78a6fd907f6d69a2d9d7b2e856fb02fbd2d8f6 (patch) | |
tree | 6ee206d36480c4883e4f9b852ac9a902bdb90ccd /OpenSim/Data/SQLite/SQLiteUserProfilesData.cs | |
parent | testing update libomv CSj2k dll to .net4.6, remove unused Axiom dll (diff) | |
download | opensim-SC-fa78a6fd907f6d69a2d9d7b2e856fb02fbd2d8f6.zip opensim-SC-fa78a6fd907f6d69a2d9d7b2e856fb02fbd2d8f6.tar.gz opensim-SC-fa78a6fd907f6d69a2d9d7b2e856fb02fbd2d8f6.tar.bz2 opensim-SC-fa78a6fd907f6d69a2d9d7b2e856fb02fbd2d8f6.tar.xz |
fix some odd sql queries ap not in use
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteUserProfilesData.cs')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserProfilesData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs b/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs index 13aac79..2f22d54 100644 --- a/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserProfilesData.cs | |||
@@ -926,7 +926,7 @@ namespace OpenSim.Data.SQLite | |||
926 | { | 926 | { |
927 | using (SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand()) | 927 | using (SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand()) |
928 | { | 928 | { |
929 | cmd.CommandText = query; | 929 | cmd.CommandText = string.Format(query, "\"classifieds\""); |
930 | cmd.Parameters.AddWithValue(":Id", avatarId.ToString()); | 930 | cmd.Parameters.AddWithValue(":Id", avatarId.ToString()); |
931 | 931 | ||
932 | using (reader = cmd.ExecuteReader(CommandBehavior.SingleRow)) | 932 | using (reader = cmd.ExecuteReader(CommandBehavior.SingleRow)) |
@@ -940,7 +940,7 @@ namespace OpenSim.Data.SQLite | |||
940 | 940 | ||
941 | using (SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand()) | 941 | using (SqliteCommand cmd = (SqliteCommand)m_connection.CreateCommand()) |
942 | { | 942 | { |
943 | cmd.CommandText = query; | 943 | cmd.CommandText = string.Format(query, "\"userpicks\""); |
944 | cmd.Parameters.AddWithValue(":Id", avatarId.ToString()); | 944 | cmd.Parameters.AddWithValue(":Id", avatarId.ToString()); |
945 | 945 | ||
946 | using (reader = cmd.ExecuteReader(CommandBehavior.SingleRow)) | 946 | using (reader = cmd.ExecuteReader(CommandBehavior.SingleRow)) |