You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by sd...@apache.org on 2005/02/19 02:04:23 UTC

cvs commit: logging-log4j/src/java/org/apache/log4j/db CustomSQLDBReceiver.java

sdeboy      2005/02/18 17:04:23

  Modified:    src/java/org/apache/log4j/db CustomSQLDBReceiver.java
  Log:
  Where clause now supported in receiver's sql statement
  
  Revision  Changes    Path
  1.3       +1 -0      logging-log4j/src/java/org/apache/log4j/db/CustomSQLDBReceiver.java
  
  Index: CustomSQLDBReceiver.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/db/CustomSQLDBReceiver.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CustomSQLDBReceiver.java	7 Jan 2005 21:32:21 -0000	1.2
  +++ CustomSQLDBReceiver.java	19 Feb 2005 01:04:23 -0000	1.3
  @@ -165,6 +165,7 @@
           throw new IllegalStateException(
             "CustomSQLDBReceiver cannot function without a connection source");
         }
  +      whereExists = (sqlStatement.toUpperCase().indexOf(WHERE_CLAUSE) > -1);
       
         customReceiverJob = new CustomReceiverJob();
           
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org