diff options
Applied patch from melanie (thank you) for mantis issue# 338
Diffstat (limited to 'OpenSim/Framework/Data.MySQL')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLDataStore.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
1421 | da.InsertCommand = createInsertCommand("primitems", m_itemsTable); | 1421 | da.InsertCommand = createInsertCommand("primitems", m_itemsTable); |
1422 | da.InsertCommand.Connection = conn; | 1422 | da.InsertCommand.Connection = conn; |
1423 | 1423 | ||
1424 | da.UpdateCommand = createUpdateCommand("primitems", "itemID = :itemID", m_itemsTable); | 1424 | da.UpdateCommand = createUpdateCommand("primitems", "itemID = ?itemID", m_itemsTable); |
1425 | da.UpdateCommand.Connection = conn; | 1425 | da.UpdateCommand.Connection = conn; |
1426 | 1426 | ||
1427 | MySqlCommand delete = new MySqlCommand("delete from primitems where itemID = :itemID"); | 1427 | MySqlCommand delete = new MySqlCommand("delete from primitems where itemID = ?itemID"); |
1428 | delete.Parameters.Add(createMySqlParameter("itemID", typeof (String))); | 1428 | delete.Parameters.Add(createMySqlParameter("itemID", typeof (String))); |
1429 | delete.Connection = conn; | 1429 | delete.Connection = conn; |
1430 | da.DeleteCommand = delete; | 1430 | da.DeleteCommand = delete; |