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

SF.net SVN: ledger-smb:[3560] trunk/sql



Revision: 3560
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3560&view=rev
Author:   einhverfr
Date:     2011-07-21 23:15:22 +0000 (Thu, 21 Jul 2011)

Log Message:
-----------
Fixing settings function

Modified Paths:
--------------
    trunk/sql/modules/Settings.sql

Added Paths:
-----------
    trunk/sql/3560-settings.sql

Removed Paths:
-------------
    trunk/sql/upgrade/settings.sql

Copied: trunk/sql/3560-settings.sql (from rev 3559, trunk/sql/upgrade/settings.sql)
===================================================================
--- trunk/sql/3560-settings.sql	                        (rev 0)
+++ trunk/sql/3560-settings.sql	2011-07-21 23:15:22 UTC (rev 3560)
@@ -0,0 +1,3 @@
+
+DROP FUNCTION setting_set(varchar, varchar);
+DROP FUNCTION setting_get(varchar);

Modified: trunk/sql/modules/Settings.sql
===================================================================
--- trunk/sql/modules/Settings.sql	2011-07-21 23:05:25 UTC (rev 3559)
+++ trunk/sql/modules/Settings.sql	2011-07-21 23:15:22 UTC (rev 3560)
@@ -15,7 +15,7 @@
              INSERT INTO defaults (setting_key, value) 
                   VALUES (in_setting_key, in_value);
         END IF;
-	RETURNS TRUE;
+	RETURN TRUE;
 END;
 $$ language plpgsql;
 

Deleted: trunk/sql/upgrade/settings.sql
===================================================================
--- trunk/sql/upgrade/settings.sql	2011-07-21 23:05:25 UTC (rev 3559)
+++ trunk/sql/upgrade/settings.sql	2011-07-21 23:15:22 UTC (rev 3560)
@@ -1,3 +0,0 @@
-
-DROP FUNCTION setting_set(varchar, varchar);
-DROP FUNCTION setting_get(varchar);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.