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...
sedebug
parent
24695dc05b
commit
f9d2121bcf
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue