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

SF.net SVN: ledger-smb:[6148] trunk/sql/modules/Settings.sql



Revision: 6148
          http://sourceforge.net/p/ledger-smb/code/6148
Author:   einhverfr
Date:     2013-10-22 14:04:16 +0000 (Tue, 22 Oct 2013)
Log Message:
-----------
oversight in not having the delete function

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

Modified: trunk/sql/modules/Settings.sql
===================================================================
--- trunk/sql/modules/Settings.sql	2013-10-22 13:55:08 UTC (rev 6147)
+++ trunk/sql/modules/Settings.sql	2013-10-22 14:04:16 UTC (rev 6148)
@@ -213,4 +213,12 @@
 END;
 $$;
 
+CREATE OR REPLACE FUNCTION sequence__delete(in_label text)
+RETURNS lsmb_sequence LANGUAGE SQL AS
+$$
+DELETE FROM lsmb_sequence where label = $1;
+
+RETURN NULL;
+$$;
+
 COMMIT;

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


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits