mirror of
https://github.com/opensim/opensim.git
synced 2026-07-14 03:15:36 +08:00
Applied patch from melanie (thank you) for mantis issue# 338
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user