diff options
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLDataStore.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLDataStore.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLDataStore.cs b/OpenSim/Data/MySQL/MySQLDataStore.cs index 01cd605..ff1b583 100644 --- a/OpenSim/Data/MySQL/MySQLDataStore.cs +++ b/OpenSim/Data/MySQL/MySQLDataStore.cs | |||
@@ -1670,6 +1670,10 @@ namespace OpenSim.Data.MySQL | |||
1670 | 1670 | ||
1671 | private bool TestTables(MySqlConnection conn, Migration m) | 1671 | private bool TestTables(MySqlConnection conn, Migration m) |
1672 | { | 1672 | { |
1673 | // we already have migrations, get out of here | ||
1674 | if (m.Version > 0) | ||
1675 | return false; | ||
1676 | |||
1673 | MySqlCommand primSelectCmd = new MySqlCommand(m_primSelect, conn); | 1677 | MySqlCommand primSelectCmd = new MySqlCommand(m_primSelect, conn); |
1674 | MySqlDataAdapter pDa = new MySqlDataAdapter(primSelectCmd); | 1678 | MySqlDataAdapter pDa = new MySqlDataAdapter(primSelectCmd); |
1675 | MySqlCommand shapeSelectCmd = new MySqlCommand(m_shapeSelect, conn); | 1679 | MySqlCommand shapeSelectCmd = new MySqlCommand(m_shapeSelect, conn); |