Fix some artefacts that came from merging the OSGrid code.

LSLKeyTest
Melanie Thielker 2016-03-22 20:01:22 +01:00
parent e8b46023e4
commit 73e527fffc
1 changed files with 2 additions and 1 deletions

View File

@ -75,6 +75,7 @@ namespace OpenSim.Data.MySQL
{ {
using (MySqlConnection conn = new MySqlConnection(m_ConnectionString)) using (MySqlConnection conn = new MySqlConnection(m_ConnectionString))
{ {
conn.Open();
Migration m = new Migration(conn, Assembly, "FSAssetStore"); Migration m = new Migration(conn, Assembly, "FSAssetStore");
m.Update(); m.Update();
} }
@ -150,7 +151,7 @@ namespace OpenSim.Data.MySQL
using (MySqlCommand cmd = conn.CreateCommand()) using (MySqlCommand cmd = conn.CreateCommand())
{ {
cmd.CommandText = String.Format("select id, name, description, type, hash, create_time, asset_flags from {0} where id = ?id", m_Table); cmd.CommandText = String.Format("select id, name, description, type, hash, create_time, asset_flags, access_time from {0} where id = ?id", m_Table);
cmd.Parameters.AddWithValue("?id", id); cmd.Parameters.AddWithValue("?id", id);
using (IDataReader reader = cmd.ExecuteReader()) using (IDataReader reader = cmd.ExecuteReader())