aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMW2008-01-13 22:47:10 +0000
committerMW2008-01-13 22:47:10 +0000
commit62157b6dde034323fae7943f058039950f441e76 (patch)
tree720842636afcf7378385ff45228e1aa3f5d31cde
parent* HeightField handling update in ODE. Should improve the terrain pits. So f... (diff)
downloadopensim-SC_OLD-62157b6dde034323fae7943f058039950f441e76.zip
opensim-SC_OLD-62157b6dde034323fae7943f058039950f441e76.tar.gz
opensim-SC_OLD-62157b6dde034323fae7943f058039950f441e76.tar.bz2
opensim-SC_OLD-62157b6dde034323fae7943f058039950f441e76.tar.xz
Applied patch from melanie (thank you) for mantis issue# 338
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLDataStore.cs4
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;