Correct some issues with the last commit

mysql-performance
root 2009-12-27 01:32:23 +01:00 committed by Melanie
parent 0369256720
commit b7951d5177
1 changed files with 2 additions and 1 deletions

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)