diff options
author | Melanie | 2009-10-15 21:14:13 +0100 |
---|---|---|
committer | Melanie | 2009-10-15 21:14:13 +0100 |
commit | 6deef7d0f3e9657bdc7bc4c41011dba15fea944b (patch) | |
tree | ffa84d5963afbb5390b132278c95df20b21681d5 /OpenSim/Data/MySQL/MySQLRegionData.cs | |
parent | Merge branch 'master' into vehicles (diff) | |
parent | Merge branch 'htb-throttle' of ssh://opensimulator.org/var/git/opensim into h... (diff) | |
download | opensim-SC-6deef7d0f3e9657bdc7bc4c41011dba15fea944b.zip opensim-SC-6deef7d0f3e9657bdc7bc4c41011dba15fea944b.tar.gz opensim-SC-6deef7d0f3e9657bdc7bc4c41011dba15fea944b.tar.bz2 opensim-SC-6deef7d0f3e9657bdc7bc4c41011dba15fea944b.tar.xz |
Merge branch 'master' into vehicles
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLRegionData.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs index 3b561d1..f514076 100644 --- a/OpenSim/Data/MySQL/MySQLRegionData.cs +++ b/OpenSim/Data/MySQL/MySQLRegionData.cs | |||
@@ -151,7 +151,10 @@ namespace OpenSim.Data.MySQL | |||
151 | 151 | ||
152 | DataTable schemaTable = result.GetSchemaTable(); | 152 | DataTable schemaTable = result.GetSchemaTable(); |
153 | foreach (DataRow row in schemaTable.Rows) | 153 | foreach (DataRow row in schemaTable.Rows) |
154 | m_ColumnNames.Add(row["ColumnName"].ToString()); | 154 | { |
155 | if (row["ColumnName"] != null) | ||
156 | m_ColumnNames.Add(row["ColumnName"].ToString()); | ||
157 | } | ||
155 | } | 158 | } |
156 | 159 | ||
157 | foreach (string s in m_ColumnNames) | 160 | foreach (string s in m_ColumnNames) |