Correct some issues with the last commit
parent
f5c310d9d4
commit
a18f4964cf
|
@ -205,7 +205,8 @@ namespace OpenSim.Data.MySQL
|
||||||
foreach (FieldInfo fi in m_Fields.Values)
|
foreach (FieldInfo fi in m_Fields.Values)
|
||||||
{
|
{
|
||||||
names.Add(fi.Name);
|
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)
|
if (m_DataField != null)
|
||||||
|
|
Loading…
Reference in New Issue