diff options
-rw-r--r-- | OpenSim/Data/MySQL/MySQLUserProfilesData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs index 1f616fe..86f2efe 100644 --- a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs +++ b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs | |||
@@ -1022,7 +1022,7 @@ namespace OpenSim.Data.MySQL | |||
1022 | 1022 | ||
1023 | using (MySqlCommand put = new MySqlCommand(query, dbcon)) | 1023 | using (MySqlCommand put = new MySqlCommand(query, dbcon)) |
1024 | { | 1024 | { |
1025 | put.Parameters.AddWithValue("?Id", props.UserId.ToString()); | 1025 | put.Parameters.AddWithValue("?UserId", props.UserId.ToString()); |
1026 | put.Parameters.AddWithValue("?TagId", props.TagId.ToString()); | 1026 | put.Parameters.AddWithValue("?TagId", props.TagId.ToString()); |
1027 | put.Parameters.AddWithValue("?DataKey", props.DataKey.ToString()); | 1027 | put.Parameters.AddWithValue("?DataKey", props.DataKey.ToString()); |
1028 | put.Parameters.AddWithValue("?DataVal", props.DataVal.ToString()); | 1028 | put.Parameters.AddWithValue("?DataVal", props.DataVal.ToString()); |
diff --git a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs index e799eb8..0f4c8c1 100644 --- a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs +++ b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs | |||
@@ -999,7 +999,7 @@ namespace OpenSim.Data.PGSQL | |||
999 | 999 | ||
1000 | using (NpgsqlCommand put = new NpgsqlCommand(query, dbcon)) | 1000 | using (NpgsqlCommand put = new NpgsqlCommand(query, dbcon)) |
1001 | { | 1001 | { |
1002 | put.Parameters.Add(m_database.CreateParameter("Id", props.UserId)); | 1002 | put.Parameters.Add(m_database.CreateParameter("UserId", props.UserId)); |
1003 | put.Parameters.Add(m_database.CreateParameter("TagId", props.TagId)); | 1003 | put.Parameters.Add(m_database.CreateParameter("TagId", props.TagId)); |
1004 | put.Parameters.Add(m_database.CreateParameter("DataKey", props.DataKey.ToString())); | 1004 | put.Parameters.Add(m_database.CreateParameter("DataKey", props.DataKey.ToString())); |
1005 | put.Parameters.Add(m_database.CreateParameter("DataVal", props.DataVal.ToString())); | 1005 | put.Parameters.Add(m_database.CreateParameter("DataVal", props.DataVal.ToString())); |