Thread: SVN Commit by andreas: r4707 - in branches/REL-1_4_0_PATCHES/pgadmin3: . src/dlg

SVN Commit by andreas: r4707 - in branches/REL-1_4_0_PATCHES/pgadmin3: . src/dlg

From
svn@pgadmin.org
Date:
Author: andreas
Date: 2005-11-09 10:27:10 +0000 (Wed, 09 Nov 2005)
New Revision: 4707

Modified:
   branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt
   branches/REL-1_4_0_PATCHES/pgadmin3/src/dlg/dlgFunction.cpp
Log:
Fix param name quoting for procedures

Modified: branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt
===================================================================
--- branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt    2005-11-09 10:26:03 UTC (rev 4706)
+++ branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt    2005-11-09 10:27:10 UTC (rev 4707)
@@ -17,6 +17,7 @@
 </ul>
 <br>
 <ul>
+    <li>2005-11-09 AP  1.4.1  Fix param name quoting for procedures (r: Alex Tyagloff)
     <li>2005-11-04 AP  1.4.0  Fix SET role (r:Florian Pflug), fix role help
     <li>2005-11-04 DP  1.4.0  Fix role inheritance option when creating roles, per Mike Allen
     <li>2005-11-03 DP  1.4.0  Minor fix to the pgAgent command line parser, per Harald Armin Massa

Modified: branches/REL-1_4_0_PATCHES/pgadmin3/src/dlg/dlgFunction.cpp
===================================================================
--- branches/REL-1_4_0_PATCHES/pgadmin3/src/dlg/dlgFunction.cpp    2005-11-09 10:26:03 UTC (rev 4706)
+++ branches/REL-1_4_0_PATCHES/pgadmin3/src/dlg/dlgFunction.cpp    2005-11-09 10:27:10 UTC (rev 4707)
@@ -536,9 +536,9 @@
                     {
                         int i=GetDirection(colName);
                         wxString dir=rdbDirection->GetString(i);
-                        colName = colName.Mid(dir.Length());
+                        colName = colName.Mid(dir.Length()+1);

-                        args += dir + qtIdent(colName) + wxT(" ");
+                        args += dir + wxT(" ") + qtIdent(colName) + wxT(" ");
                     }
                     else
                     {