mirror of
https://github.com/opensim/opensim.git
synced 2026-06-21 13:05:40 +08:00
fix an edge case with migrations in the region store.
Add migration support to gridstore.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user