summaryrefslogtreecommitdiffstats
path: root/admin/Database
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2013-03-08 09:18:32 +0000
committerramon <ramongomez@us.es>2013-03-08 09:18:32 +0000
commit9ab2ea80c4ca17acb2423a53b1be35d879dfa989 (patch)
tree07388baeeaf50ce810636d9e31c71ef6d21e1446 /admin/Database
parentd92da891a35f3ab0e88645086a30ae1d7903a4e5 (diff)
#582: Solucionar errata para evitar error de SQL al intentar borrar tablas ya eliminadas.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3670 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Database')
-rw-r--r--admin/Database/ogAdmBD-1.0.5pre.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/Database/ogAdmBD-1.0.5pre.sql b/admin/Database/ogAdmBD-1.0.5pre.sql
index 4fe8cc23..17bd257e 100644
--- a/admin/Database/ogAdmBD-1.0.5pre.sql
+++ b/admin/Database/ogAdmBD-1.0.5pre.sql
@@ -101,9 +101,9 @@ UPDATE menus
END;
# Cambios para NetBoot con ficheros dinĂ¡micos (tickets #534 #582).
-DROP TABLE menuboot;
-DROP TABLE itemboot;
-DROP TABLE menuboot_itemboot;
+DROP TABLE IF NOT EXISTS menuboot;
+DROP TABLE IF NOT EXISTS itemboot;
+DROP TABLE IF NOT EXISTS menuboot_itemboot;
ALTER TABLE ordenadores
MODIFY arranque VARCHAR(30) NOT NULL DEFAULT '01';
UPDATE ordenadores SET arranque = '01' WHERE arranque = '1';