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

SF.net SVN: ledger-smb:[3139] trunk/sql/modules/admin.sql



Revision: 3139
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3139&view=rev
Author:   einhverfr
Date:     2011-05-17 22:03:37 +0000 (Tue, 17 May 2011)

Log Message:
-----------
User creation fix, part 2.  Thanks Erik Huelsmann

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

Modified: trunk/sql/modules/admin.sql
===================================================================
--- trunk/sql/modules/admin.sql	2011-05-17 21:35:43 UTC (rev 3138)
+++ trunk/sql/modules/admin.sql	2011-05-17 22:03:37 UTC (rev 3139)
@@ -360,7 +360,7 @@
 
             select * from entity_employee where entity_id = in_entity_id;
             IF NOT FOUND THEN
-                select into entity_employee (entity_id) values (in_entity_id);
+                INSERT into entity_employee (entity_id) values (in_entity_id);
             END IF;
             -- Finally, issue the create user statement
             


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