Skip to content

Commit

Permalink
Correct some issues with the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and MelanieT committed Dec 26, 2009
1 parent 0369256 commit b7951d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ public bool Store(T row)
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)
Expand Down

0 comments on commit b7951d5

Please sign in to comment.