From f4c0e45bac1a5663b3fee4ee9653f3ae381958ec Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 14 Feb 2008 12:26:42 +0000 Subject: * Fixed #564, errors in friend sql [Provided by openlifegrid.com] --- OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs b/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs index 4792487..402a88f 100644 --- a/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs +++ b/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs @@ -179,8 +179,8 @@ namespace OpenSim.Framework.Data.MSSQL { IDbCommand adder = database.Query( - "INSERT INTO `" + m_userFriendsTableName + "` " + - "(`ownerID`,`friendID`,`friendPerms`,`datetimestamp`) " + + "INSERT INTO " + m_userFriendsTableName + " " + + "(ownerID,friendID,friendPerms,datetimestamp) " + "VALUES " + "(@ownerID,@friendID,@friendPerms,@datetimestamp)", param); @@ -189,8 +189,8 @@ namespace OpenSim.Framework.Data.MSSQL adder = database.Query( - "INSERT INTO `" + m_userFriendsTableName + "` " + - "(`ownerID`,`friendID`,`friendPerms`,`datetimestamp`) " + + "INSERT INTO " + m_userFriendsTableName + " " + + "(ownerID,friendID,friendPerms,datetimestamp) " + "VALUES " + "(@friendID,@ownerID,@friendPerms,@datetimestamp)", param); -- cgit v1.1