diff options
author | Jeff Ames | 2008-05-16 01:22:11 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-16 01:22:11 +0000 |
commit | 65c5efe43b68700bad94076d4cd421160203c5de (patch) | |
tree | 589b56649ed02f4942671fd6e51c6dc43f682e0d /OpenSim/Data/MSSQL/MSSQLGridData.cs | |
parent | Thank you very much, mjm for : (diff) | |
download | opensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.zip opensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.tar.gz opensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.tar.bz2 opensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.tar.xz |
Formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLGridData.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLGridData.cs b/OpenSim/Data/MSSQL/MSSQLGridData.cs index cf81bee..0bdd460 100644 --- a/OpenSim/Data/MSSQL/MSSQLGridData.cs +++ b/OpenSim/Data/MSSQL/MSSQLGridData.cs | |||
@@ -79,7 +79,7 @@ namespace OpenSim.Data.MSSQL | |||
79 | private void TestTables() | 79 | private void TestTables() |
80 | { | 80 | { |
81 | IDbCommand cmd = database.Query("SELECT TOP 1 * FROM "+m_regionsTableName, new Dictionary<string, string>()); | 81 | IDbCommand cmd = database.Query("SELECT TOP 1 * FROM "+m_regionsTableName, new Dictionary<string, string>()); |
82 | 82 | ||
83 | try | 83 | try |
84 | { | 84 | { |
85 | cmd.ExecuteNonQuery(); | 85 | cmd.ExecuteNonQuery(); |
@@ -88,7 +88,7 @@ namespace OpenSim.Data.MSSQL | |||
88 | catch (Exception) | 88 | catch (Exception) |
89 | { | 89 | { |
90 | m_log.Info("[GRID DB]: MSSQL Database doesn't exist... creating"); | 90 | m_log.Info("[GRID DB]: MSSQL Database doesn't exist... creating"); |
91 | database.ExecuteResourceSql("Mssql-regions.sql"); | 91 | database.ExecuteResourceSql("Mssql-regions.sql"); |
92 | } | 92 | } |
93 | } | 93 | } |
94 | 94 | ||
@@ -161,7 +161,7 @@ namespace OpenSim.Data.MSSQL | |||
161 | } | 161 | } |
162 | return null; | 162 | return null; |
163 | } | 163 | } |
164 | 164 | ||
165 | /// <summary> | 165 | /// <summary> |
166 | /// Returns a sim profile from its UUID | 166 | /// Returns a sim profile from its UUID |
167 | /// </summary> | 167 | /// </summary> |
@@ -255,17 +255,17 @@ namespace OpenSim.Data.MSSQL | |||
255 | { | 255 | { |
256 | //Insert new region | 256 | //Insert new region |
257 | string sql = | 257 | string sql = |
258 | "UPDATE " + m_regionsTableName + @" SET | 258 | "UPDATE " + m_regionsTableName + @" SET |
259 | [regionHandle]=@regionHandle, [regionName]=@regionName, | 259 | [regionHandle]=@regionHandle, [regionName]=@regionName, |
260 | [regionRecvKey]=@regionRecvKey, [regionSecret]=@regionSecret, [regionSendKey]=@regionSendKey, | 260 | [regionRecvKey]=@regionRecvKey, [regionSecret]=@regionSecret, [regionSendKey]=@regionSendKey, |
261 | [regionDataURI]=@regionDataURI, [serverIP]=@serverIP, [serverPort]=@serverPort, [serverURI]=@serverURI, | 261 | [regionDataURI]=@regionDataURI, [serverIP]=@serverIP, [serverPort]=@serverPort, [serverURI]=@serverURI, |
262 | [locX]=@locX, [locY]=@locY, [locZ]=@locZ, [eastOverrideHandle]=@eastOverrideHandle, | 262 | [locX]=@locX, [locY]=@locY, [locZ]=@locZ, [eastOverrideHandle]=@eastOverrideHandle, |
263 | [westOverrideHandle]=@westOverrideHandle, [southOverrideHandle]=@southOverrideHandle, | 263 | [westOverrideHandle]=@westOverrideHandle, [southOverrideHandle]=@southOverrideHandle, |
264 | [northOverrideHandle]=@northOverrideHandle, [regionAssetURI]=@regionAssetURI, | 264 | [northOverrideHandle]=@northOverrideHandle, [regionAssetURI]=@regionAssetURI, |
265 | [regionAssetRecvKey]=@regionAssetRecvKey, [regionAssetSendKey]=@regionAssetSendKey, | 265 | [regionAssetRecvKey]=@regionAssetRecvKey, [regionAssetSendKey]=@regionAssetSendKey, |
266 | [regionUserURI]=@regionUserURI, [regionUserRecvKey]=@regionUserRecvKey, [regionUserSendKey]=@regionUserSendKey, | 266 | [regionUserURI]=@regionUserURI, [regionUserRecvKey]=@regionUserRecvKey, [regionUserSendKey]=@regionUserSendKey, |
267 | [regionMapTexture]=@regionMapTexture, [serverHttpPort]=@serverHttpPort, | 267 | [regionMapTexture]=@regionMapTexture, [serverHttpPort]=@serverHttpPort, |
268 | [serverRemotingPort]=@serverRemotingPort, [owner_uuid]=@owner_uuid | 268 | [serverRemotingPort]=@serverRemotingPort, [owner_uuid]=@owner_uuid |
269 | where [uuid]=@uuid"; | 269 | where [uuid]=@uuid"; |
270 | 270 | ||
271 | Dictionary<string, string> parameters = new Dictionary<string, string>(); | 271 | Dictionary<string, string> parameters = new Dictionary<string, string>(); |