Applied patch from melanie (thank you) for mantis issue# 338

ThreadPoolClientBranch
MW 2008-01-13 22:47:10 +00:00
parent 30714c044e
commit 62157b6dde
1 changed files with 2 additions and 2 deletions

View File

@ -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;