diff options
author | Sean Dague | 2009-04-22 19:23:38 +0000 |
---|---|---|
committer | Sean Dague | 2009-04-22 19:23:38 +0000 |
commit | e0160e56409720045b09b250fd40424fea4fd42a (patch) | |
tree | d7e8e728d51850454943ec649894597aae8a1fa8 /OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs | |
parent | add cleardb to estate tests (diff) | |
download | opensim-SC_OLD-e0160e56409720045b09b250fd40424fea4fd42a.zip opensim-SC_OLD-e0160e56409720045b09b250fd40424fea4fd42a.tar.gz opensim-SC_OLD-e0160e56409720045b09b250fd40424fea4fd42a.tar.bz2 opensim-SC_OLD-e0160e56409720045b09b250fd40424fea4fd42a.tar.xz |
add if exists to the drop table
Diffstat (limited to 'OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs')
-rw-r--r-- | OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs b/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs index e3f9413..b8fac69 100644 --- a/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs +++ b/OpenSim/Data/MySQL/Tests/MySQLRegionTest.cs | |||
@@ -80,21 +80,21 @@ namespace OpenSim.Data.MySQL.Tests | |||
80 | { | 80 | { |
81 | if (manager != null) | 81 | if (manager != null) |
82 | { | 82 | { |
83 | manager.ExecuteSql("drop table migrations"); | 83 | manager.ExecuteSql("drop table if exists migrations"); |
84 | manager.ExecuteSql("drop table prims"); | 84 | manager.ExecuteSql("drop table if exists prims"); |
85 | manager.ExecuteSql("drop table primshapes"); | 85 | manager.ExecuteSql("drop table if exists primshapes"); |
86 | manager.ExecuteSql("drop table primitems"); | 86 | manager.ExecuteSql("drop table if exists primitems"); |
87 | manager.ExecuteSql("drop table terrain"); | 87 | manager.ExecuteSql("drop table if exists terrain"); |
88 | manager.ExecuteSql("drop table land"); | 88 | manager.ExecuteSql("drop table if exists land"); |
89 | manager.ExecuteSql("drop table landaccesslist"); | 89 | manager.ExecuteSql("drop table if exists landaccesslist"); |
90 | manager.ExecuteSql("drop table regionban"); | 90 | manager.ExecuteSql("drop table if exists regionban"); |
91 | manager.ExecuteSql("drop table regionsettings"); | 91 | manager.ExecuteSql("drop table if exists regionsettings"); |
92 | manager.ExecuteSql("drop table estate_managers"); | 92 | manager.ExecuteSql("drop table if exists estate_managers"); |
93 | manager.ExecuteSql("drop table estate_groups"); | 93 | manager.ExecuteSql("drop table if exists estate_groups"); |
94 | manager.ExecuteSql("drop table estate_users"); | 94 | manager.ExecuteSql("drop table if exists estate_users"); |
95 | manager.ExecuteSql("drop table estateban"); | 95 | manager.ExecuteSql("drop table if exists estateban"); |
96 | manager.ExecuteSql("drop table estate_settings"); | 96 | manager.ExecuteSql("drop table if exists estate_settings"); |
97 | manager.ExecuteSql("drop table estate_map"); | 97 | manager.ExecuteSql("drop table if exists estate_map"); |
98 | } | 98 | } |
99 | } | 99 | } |
100 | } | 100 | } |