mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Fix MySQL and PGSQL *UserProfilesData.GetUserAppData() calls to correctly set the UserId parameter instead of the non-existing Id parameter when writing a record because none yet exists.
SQLite version is already correct for this.
This commit is contained in:
@@ -999,7 +999,7 @@ namespace OpenSim.Data.PGSQL
|
||||
|
||||
using (NpgsqlCommand put = new NpgsqlCommand(query, dbcon))
|
||||
{
|
||||
put.Parameters.Add(m_database.CreateParameter("Id", props.UserId));
|
||||
put.Parameters.Add(m_database.CreateParameter("UserId", props.UserId));
|
||||
put.Parameters.Add(m_database.CreateParameter("TagId", props.TagId));
|
||||
put.Parameters.Add(m_database.CreateParameter("DataKey", props.DataKey.ToString()));
|
||||
put.Parameters.Add(m_database.CreateParameter("DataVal", props.DataVal.ToString()));
|
||||
|
||||
Reference in New Issue
Block a user