Thread: SVN Commit by andreas: r4706 - in trunk/pgadmin3: . src/dlg

SVN Commit by andreas: r4706 - in trunk/pgadmin3: . src/dlg

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

Modified:
   trunk/pgadmin3/CHANGELOG.txt
   trunk/pgadmin3/src/dlg/dlgFunction.cpp
Log:
Fix param name quoting for procedures

Modified: trunk/pgadmin3/CHANGELOG.txt
===================================================================
--- trunk/pgadmin3/CHANGELOG.txt    2005-11-09 08:58:21 UTC (rev 4705)
+++ trunk/pgadmin3/CHANGELOG.txt    2005-11-09 10:26:03 UTC (rev 4706)
@@ -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: trunk/pgadmin3/src/dlg/dlgFunction.cpp
===================================================================
--- trunk/pgadmin3/src/dlg/dlgFunction.cpp    2005-11-09 08:58:21 UTC (rev 4705)
+++ trunk/pgadmin3/src/dlg/dlgFunction.cpp    2005-11-09 10:26:03 UTC (rev 4706)
@@ -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
                     {