Fix some artefacts that came from merging the OSGrid code.
parent
e8b46023e4
commit
73e527fffc
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue