diff options
author | John Hurliman | 2009-10-19 15:19:37 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-19 15:19:37 -0700 |
commit | bd03cbd8156e2044eed89ba2774bab43b9931aa1 (patch) | |
tree | c6dc15d4028b2d103b89296ac68b84482b77f5e8 /OpenSim/Data/MSSQL/MSSQLAuthenticationData.cs | |
parent | * Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). This... (diff) | |
parent | Minor formatting cleanup. (diff) | |
download | opensim-SC-bd03cbd8156e2044eed89ba2774bab43b9931aa1.zip opensim-SC-bd03cbd8156e2044eed89ba2774bab43b9931aa1.tar.gz opensim-SC-bd03cbd8156e2044eed89ba2774bab43b9931aa1.tar.bz2 opensim-SC-bd03cbd8156e2044eed89ba2774bab43b9931aa1.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into prioritization
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLAuthenticationData.cs')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLAuthenticationData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLAuthenticationData.cs b/OpenSim/Data/MSSQL/MSSQLAuthenticationData.cs index 9a17e47..801610a 100644 --- a/OpenSim/Data/MSSQL/MSSQLAuthenticationData.cs +++ b/OpenSim/Data/MSSQL/MSSQLAuthenticationData.cs | |||
@@ -119,7 +119,7 @@ namespace OpenSim.Data.MSSQL | |||
119 | updateBuilder.AppendFormat("{0} = @{0}",field); | 119 | updateBuilder.AppendFormat("{0} = @{0}",field); |
120 | 120 | ||
121 | first = false; | 121 | first = false; |
122 | cmd.Parameters.Add(m_database.CreateParameter("@" + field, data.Data[field])); | 122 | cmd.Parameters.Add(m_database.CreateParameter("@" + field, data.Data[field])); |
123 | } | 123 | } |
124 | 124 | ||
125 | updateBuilder.Append(" where UUID = @principalID"); | 125 | updateBuilder.Append(" where UUID = @principalID"); |
@@ -135,7 +135,7 @@ namespace OpenSim.Data.MSSQL | |||
135 | 135 | ||
136 | insertBuilder.AppendFormat("insert into {0} (UUID, ", m_Realm); | 136 | insertBuilder.AppendFormat("insert into {0} (UUID, ", m_Realm); |
137 | insertBuilder.Append(String.Join(", ", fields)); | 137 | insertBuilder.Append(String.Join(", ", fields)); |
138 | insertBuilder.Append(") values ( @principalID, @"); | 138 | insertBuilder.Append(") values (@principalID, @"); |
139 | insertBuilder.Append(String.Join(", @", fields)); | 139 | insertBuilder.Append(String.Join(", @", fields)); |
140 | insertBuilder.Append(")"); | 140 | insertBuilder.Append(")"); |
141 | 141 | ||