noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 01/01: Bug in plpgsql function : upgrade_repo


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/01: Bug in plpgsql function : upgrade_repo
Date: Thu, 24 Jul 2014 19:23:30 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 6b92355496ede5e86ce3a9d3b9301fefe8d39382
Author: Dany De Bontridder <address@hidden>
Date:   Thu Jul 24 21:22:39 2014 +0200

    Bug in plpgsql function : upgrade_repo
---
 html/admin/sql/patch/ac-upgrade14.sql |    2 +-
 sql/upgrade.sql                       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/html/admin/sql/patch/ac-upgrade14.sql 
b/html/admin/sql/patch/ac-upgrade14.sql
index 140f727..2c39589 100644
--- a/html/admin/sql/patch/ac-upgrade14.sql
+++ b/html/admin/sql/patch/ac-upgrade14.sql
@@ -15,7 +15,7 @@ begin
         if is_mono = 1 then
                 update repo_version set val=p_version;
         else
-                update repo_version set val=p_version;
+                update version set val=p_version;
         end if;
 end;
 $function$
diff --git a/sql/upgrade.sql b/sql/upgrade.sql
index 7c433b2..6481d83 100644
--- a/sql/upgrade.sql
+++ b/sql/upgrade.sql
@@ -10,7 +10,7 @@ begin
         if is_mono = 1 then
                 update repo_version set val=p_version;
         else
-                update repo_version set val=p_version;
+                update version set val=p_version;
         end if;
 end;
 $function$



reply via email to

[Prev in Thread] Current Thread [Next in Thread]