aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs
diff options
context:
space:
mode:
authorSean Dague2009-04-22 19:23:38 +0000
committerSean Dague2009-04-22 19:23:38 +0000
commite0160e56409720045b09b250fd40424fea4fd42a (patch)
treed7e8e728d51850454943ec649894597aae8a1fa8 /OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs
parentadd cleardb to estate tests (diff)
downloadopensim-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/MySQLEstateTest.cs')
-rw-r--r--OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs30
1 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs b/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs
index 8659aa2..148d910 100644
--- a/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs
+++ b/OpenSim/Data/MySQL/Tests/MySQLEstateTest.cs
@@ -83,21 +83,21 @@ namespace OpenSim.Data.MySQL.Tests
83 // if a new table is added, it has to be dropped here 83 // if a new table is added, it has to be dropped here
84 if (manager != null) 84 if (manager != null)
85 { 85 {
86 manager.ExecuteSql("drop table migrations"); 86 manager.ExecuteSql("drop table if exists migrations");
87 manager.ExecuteSql("drop table prims"); 87 manager.ExecuteSql("drop table if exists prims");
88 manager.ExecuteSql("drop table primshapes"); 88 manager.ExecuteSql("drop table if exists primshapes");
89 manager.ExecuteSql("drop table primitems"); 89 manager.ExecuteSql("drop table if exists primitems");
90 manager.ExecuteSql("drop table terrain"); 90 manager.ExecuteSql("drop table if exists terrain");
91 manager.ExecuteSql("drop table land"); 91 manager.ExecuteSql("drop table if exists land");
92 manager.ExecuteSql("drop table landaccesslist"); 92 manager.ExecuteSql("drop table if exists landaccesslist");
93 manager.ExecuteSql("drop table regionban"); 93 manager.ExecuteSql("drop table if exists regionban");
94 manager.ExecuteSql("drop table regionsettings"); 94 manager.ExecuteSql("drop table if exists regionsettings");
95 manager.ExecuteSql("drop table estate_managers"); 95 manager.ExecuteSql("drop table if exists estate_managers");
96 manager.ExecuteSql("drop table estate_groups"); 96 manager.ExecuteSql("drop table if exists estate_groups");
97 manager.ExecuteSql("drop table estate_users"); 97 manager.ExecuteSql("drop table if exists estate_users");
98 manager.ExecuteSql("drop table estateban"); 98 manager.ExecuteSql("drop table if exists estateban");
99 manager.ExecuteSql("drop table estate_settings"); 99 manager.ExecuteSql("drop table if exists estate_settings");
100 manager.ExecuteSql("drop table estate_map"); 100 manager.ExecuteSql("drop table if exists estate_map");
101 } 101 }
102 } 102 }
103 } 103 }