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

SF.net SVN: ledger-smb: [127] trunk



Revision: 127
          http://svn.sourceforge.net/ledger-smb/?rev=127&view=rev
Author:   einhverfr
Date:     2006-09-20 22:25:51 -0700 (Wed, 20 Sep 2006)

Log Message:
-----------

Fixed custom table functions not being added.
Fixed parts short trigger not being creted
Pg option in new user creation is now checked by default.

Modified Paths:
--------------
    trunk/bin/mozilla/admin.pl
    trunk/sql/Pg-functions.sql

Modified: trunk/bin/mozilla/admin.pl
===================================================================
--- trunk/bin/mozilla/admin.pl	2006-09-21 03:57:28 UTC (rev 126)
+++ trunk/bin/mozilla/admin.pl	2006-09-21 05:25:51 UTC (rev 127)
@@ -594,7 +594,7 @@
 					<table>
 						<tr>|;
 
-		$checked = "";
+		$checked = "checked";
 
 		if ($myconfig->{dbdriver} eq $item) {
 

Modified: trunk/sql/Pg-functions.sql
===================================================================
--- trunk/sql/Pg-functions.sql	2006-09-21 03:57:28 UTC (rev 126)
+++ trunk/sql/Pg-functions.sql	2006-09-21 05:25:51 UTC (rev 127)
@@ -249,15 +249,13 @@
 
 RETURN v_cost;
 END;
-' language 'plpgsql';
+' language plpgsql;
 -- end function
 --
-CREATE OR REPLACE FUNCTION trigger_parts_short() RETURNS TRIGGER
-AS
-'
 
 CREATE OR REPLACE FUNCTION trigger_parts_short() RETURNS TRIGGER
 AS
+'
 BEGIN
   IF NEW.onhand >= NEW.rop THEN
     NOTIFY parts_short;


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