fix an edge case with migrations in the region store.

Add migration support to gridstore.
This commit is contained in:
Sean Dague
2008-06-19 15:03:00 +00:00
parent c2dc1636a6
commit fcd7cf5e4a
3 changed files with 54 additions and 2 deletions

View File

@@ -1670,6 +1670,10 @@ namespace OpenSim.Data.MySQL
private bool TestTables(MySqlConnection conn, Migration m)
{
// we already have migrations, get out of here
if (m.Version > 0)
return false;
MySqlCommand primSelectCmd = new MySqlCommand(m_primSelect, conn);
MySqlDataAdapter pDa = new MySqlDataAdapter(primSelectCmd);
MySqlCommand shapeSelectCmd = new MySqlCommand(m_shapeSelect, conn);