mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Revert "Remove quotes from column selection in PGSQLUserProfilesData.SetUserAppData()"
This reverts commit 59c0df962a.
This is necessary to preserve the casing of column names, otherwise pgsql converts everything to lowercase.
TIL, Unlike mysql, a quoted column still refers to the column itself...
This commit is contained in:
@@ -1026,11 +1026,11 @@ namespace OpenSim.Data.PGSQL
|
||||
string query = string.Empty;
|
||||
|
||||
query += "UPDATE userdata SET ";
|
||||
query += "TagId = :TagId, ";
|
||||
query += "DataKey = :DataKey, ";
|
||||
query += "DataVal = :DataVal WHERE ";
|
||||
query += "UserId = :UserId AND ";
|
||||
query += "TagId = :TagId";
|
||||
query += "\"TagId\" = :TagId, ";
|
||||
query += "\"DataKey\" = :DataKey, ";
|
||||
query += "\"DataVal\" = :DataVal WHERE ";
|
||||
query += "\"UserId\" = :UserId AND ";
|
||||
query += "\"TagId\" = :TagId";
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user