diff options
author | Jeff Ames | 2009-11-23 11:26:06 +0900 |
---|---|---|
committer | Jeff Ames | 2009-11-23 11:26:06 +0900 |
commit | 9f5c2acd128828d220bf7e47bd4fe13d7a2a910b (patch) | |
tree | bb1a273746c4b2a466dd705537a2457f0474faa2 /OpenSim/Data/MySQL/MySQLGenericTableHandler.cs | |
parent | * Added missing lock to m_forcelist when AddForce is called. When a user dr... (diff) | |
download | opensim-SC_OLD-9f5c2acd128828d220bf7e47bd4fe13d7a2a910b.zip opensim-SC_OLD-9f5c2acd128828d220bf7e47bd4fe13d7a2a910b.tar.gz opensim-SC_OLD-9f5c2acd128828d220bf7e47bd4fe13d7a2a910b.tar.bz2 opensim-SC_OLD-9f5c2acd128828d220bf7e47bd4fe13d7a2a910b.tar.xz |
Formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLGenericTableHandler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs index 4e27e26..2f5937d 100644 --- a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs +++ b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs | |||
@@ -135,7 +135,7 @@ namespace OpenSim.Data.MySQL | |||
135 | 135 | ||
136 | List<T> result = new List<T>(); | 136 | List<T> result = new List<T>(); |
137 | 137 | ||
138 | while(reader.Read()) | 138 | while (reader.Read()) |
139 | { | 139 | { |
140 | T row = new T(); | 140 | T row = new T(); |
141 | 141 | ||
@@ -146,7 +146,7 @@ namespace OpenSim.Data.MySQL | |||
146 | int v = Convert.ToInt32(reader[name]); | 146 | int v = Convert.ToInt32(reader[name]); |
147 | m_Fields[name].SetValue(row, v != 0 ? true : false); | 147 | m_Fields[name].SetValue(row, v != 0 ? true : false); |
148 | } | 148 | } |
149 | else if(m_Fields[name].GetValue(row) is UUID) | 149 | else if (m_Fields[name].GetValue(row) is UUID) |
150 | { | 150 | { |
151 | UUID uuid = UUID.Zero; | 151 | UUID uuid = UUID.Zero; |
152 | 152 | ||