From 62157b6dde034323fae7943f058039950f441e76 Mon Sep 17 00:00:00 2001 From: MW Date: Sun, 13 Jan 2008 22:47:10 +0000 Subject: Applied patch from melanie (thank you) for mantis issue# 338 --- OpenSim/Framework/Data.MySQL/MySQLDataStore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/Data.MySQL') diff --git a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs index 6d33a36..8055448 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs @@ -1421,10 +1421,10 @@ namespace OpenSim.Framework.Data.MySQL da.InsertCommand = createInsertCommand("primitems", m_itemsTable); da.InsertCommand.Connection = conn; - da.UpdateCommand = createUpdateCommand("primitems", "itemID = :itemID", m_itemsTable); + da.UpdateCommand = createUpdateCommand("primitems", "itemID = ?itemID", m_itemsTable); da.UpdateCommand.Connection = conn; - MySqlCommand delete = new MySqlCommand("delete from primitems where itemID = :itemID"); + MySqlCommand delete = new MySqlCommand("delete from primitems where itemID = ?itemID"); delete.Parameters.Add(createMySqlParameter("itemID", typeof (String))); delete.Connection = conn; da.DeleteCommand = delete; -- cgit v1.1