Stop null values from being returned on database queries

prioritization
Melanie 2009-10-12 20:46:19 +01:00
parent fe0940a22f
commit 09cd2ac443
1 changed files with 4 additions and 1 deletions

View File

@ -151,8 +151,11 @@ namespace OpenSim.Data.MySQL
DataTable schemaTable = result.GetSchemaTable();
foreach (DataRow row in schemaTable.Rows)
{
if (row["ColumnName"] != null)
m_ColumnNames.Add(row["ColumnName"].ToString());
}
}
foreach (string s in m_ColumnNames)
{