a few more changes on mysql

This commit is contained in:
UbitUmarov
2017-05-06 21:43:22 +01:00
parent 4b2ef46de6
commit c57215687f
4 changed files with 61 additions and 49 deletions

View File

@@ -78,6 +78,7 @@ namespace OpenSim.Data.MySQL
conn.Open();
Migration m = new Migration(conn, Assembly, "FSAssetStore");
m.Update();
conn.Close();
}
}
catch (MySqlException e)
@@ -126,8 +127,8 @@ namespace OpenSim.Data.MySQL
m_log.ErrorFormat("[FSASSETS]: Query {0} failed with {1}", cmd.CommandText, e.ToString());
return false;
}
cmd.Connection = null;
conn.Close();
cmd.Connection = null;
}
return true;