mirror of
https://github.com/opensim/opensim.git
synced 2026-06-29 02:25:39 +08:00
Stop null values from being returned on database queries
This commit is contained in:
@@ -151,7 +151,10 @@ namespace OpenSim.Data.MySQL
|
||||
|
||||
DataTable schemaTable = result.GetSchemaTable();
|
||||
foreach (DataRow row in schemaTable.Rows)
|
||||
m_ColumnNames.Add(row["ColumnName"].ToString());
|
||||
{
|
||||
if (row["ColumnName"] != null)
|
||||
m_ColumnNames.Add(row["ColumnName"].ToString());
|
||||
}
|
||||
}
|
||||
|
||||
foreach (string s in m_ColumnNames)
|
||||
|
||||
Reference in New Issue
Block a user