cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting DatabaseAuthenticatorAction.java
Date Wed, 21 May 2003 17:53:54 GMT
tcurdt      2003/05/21 10:53:54

  Modified:    src/blocks/databases/java/org/apache/cocoon/acting
                        DatabaseAuthenticatorAction.java
  Log:
  fixed bug #20126, thanks to leo leonid
  
  Revision  Changes    Path
  1.4       +6 -1      cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/DatabaseAuthenticatorAction.java
  
  Index: DatabaseAuthenticatorAction.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/DatabaseAuthenticatorAction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DatabaseAuthenticatorAction.java	1 May 2003 16:03:38 -0000	1.3
  +++ DatabaseAuthenticatorAction.java	21 May 2003 17:53:54 -0000	1.4
  @@ -220,6 +220,11 @@
               for (int i = 0; i < columns.length; i++) {
                   String dbcol = columns[i].getAttribute("dbcol");
                   boolean nullable = false;
  +
  +                if (i > 0) {
  +                    queryBuffer.append (", ");
  +                }
  +
                   queryBuffer.append(dbcol);
   
                   String requestParameter = columns[i].getAttribute("request-param", null);
  
  
  

Mime
View raw message