From e682c883b8674d9f53e55cff497d98b437d4ae93 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sun, 25 Sep 2005 15:15:02 +0000 Subject: [PATCH] Add transaction to improve perf --- html/admin/sql/patch/upgrade6.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/admin/sql/patch/upgrade6.sql b/html/admin/sql/patch/upgrade6.sql index 4ae5a7804..ea425e650 100644 --- a/html/admin/sql/patch/upgrade6.sql +++ b/html/admin/sql/patch/upgrade6.sql @@ -1,7 +1,8 @@ - +begin; --make sure that p_start < p_end ALTER TABLE parm_periode ADD CHECK (p_end >= p_start); insert into tva_rate values (5,'0%',0, 'Pas soumis à la TVA',null); update version set val=7; +commit; \ No newline at end of file