Correct some issues with the last commit

This commit is contained in:
root
2009-12-27 01:32:23 +01:00
parent f5c310d9d4
commit a18f4964cf

View File

@@ -205,7 +205,8 @@ namespace OpenSim.Data.MySQL
foreach (FieldInfo fi in m_Fields.Values)
{
names.Add(fi.Name);
values.Add(fi.GetValue(row).ToString());
values.Add("?" + fi.Name);
cmd.Parameters.AddWithValue(fi.Name, fi.GetValue(row).ToString());
}
if (m_DataField != null)