aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLGenericTableHandler.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLGenericTableHandler.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
index 58b95d7..b2bd5f6 100644
--- a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
+++ b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
@@ -205,7 +205,8 @@ namespace OpenSim.Data.MySQL
205 foreach (FieldInfo fi in m_Fields.Values) 205 foreach (FieldInfo fi in m_Fields.Values)
206 { 206 {
207 names.Add(fi.Name); 207 names.Add(fi.Name);
208 values.Add(fi.GetValue(row).ToString()); 208 values.Add("?" + fi.Name);
209 cmd.Parameters.AddWithValue(fi.Name, fi.GetValue(row).ToString());
209 } 210 }
210 211
211 if (m_DataField != null) 212 if (m_DataField != null)