From d9ba7c8339955eccabf20d19e7b28e57491c2c28 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 18 Jul 2008 15:13:19 +0000 Subject: [PATCH] put the entire thing inside a transaction. This probably doesn't help much, but it might. --- OpenSim/Data/SQLite/Resources/006_RegionStore.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenSim/Data/SQLite/Resources/006_RegionStore.sql b/OpenSim/Data/SQLite/Resources/006_RegionStore.sql index 8449fbbd7a..60b348a1d1 100644 --- a/OpenSim/Data/SQLite/Resources/006_RegionStore.sql +++ b/OpenSim/Data/SQLite/Resources/006_RegionStore.sql @@ -1,3 +1,5 @@ +BEGIN TRANSACTION; + drop table if exists `estate_groups`; CREATE TABLE `estate_groups` ( `EstateID` int(10) NOT NULL, @@ -101,3 +103,5 @@ CREATE INDEX `estate_managers_estate_id` on `estate_managers`(`EstateID`); CREATE INDEX `estate_map_estate_id` on `estate_map`(`EstateID`); CREATE UNIQUE INDEX `estate_map_region_id` on `estate_map`(`RegionID`); CREATE INDEX `estate_users_estate_id` on `estate_users`(`EstateID`); + +COMMIT; \ No newline at end of file