avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From froehl...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/parser BasicSQLParserManager.java BasicDualParserManager.java
Date Sat, 15 Dec 2001 18:50:13 GMT
froehlich    01/12/15 10:50:13

  Modified:    apps/db/src/java/org/apache/avalon/db/basic/parser
                        BasicSQLParserManager.java
                        BasicDualParserManager.java
  Log:
  further work on the SQL parser
  
  Revision  Changes    Path
  1.5       +2 -0      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/parser/BasicSQLParserManager.java
  
  Index: BasicSQLParserManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/parser/BasicSQLParserManager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BasicSQLParserManager.java	2001/12/03 17:37:05	1.4
  +++ BasicSQLParserManager.java	2001/12/15 18:50:13	1.5
  @@ -13,6 +13,7 @@
   import org.apache.avalon.db.actions.Action;
   import org.apache.avalon.db.actions.ActionException;
   import org.apache.avalon.db.basic.handlers.sql.BasicSQLSelectSimpleHandler;
  +import org.apache.avalon.db.basic.handlers.sql.BasicSQLCreateTableHandler;
   
   /**
    * Class BasicSQLParserManager
  @@ -22,6 +23,7 @@
   public class BasicSQLParserManager extends AbstractSQLParser {
   
       protected void getCustomRequestHandlers(AbstractRequestHandler[] handlers) {
  +        handlers[Request.CREATETABLE] = new BasicSQLCreateTableHandler(this,mDatabasePersistor);
           handlers[Request.SELECTSIMPLE] = new BasicSQLSelectSimpleHandler(this,mDatabasePersistor);
       }
   
  
  
  
  1.3       +0 -1      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/parser/BasicDualParserManager.java
  
  Index: BasicDualParserManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/parser/BasicDualParserManager.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BasicDualParserManager.java	2001/12/03 17:37:05	1.2
  +++ BasicDualParserManager.java	2001/12/15 18:50:13	1.3
  @@ -119,7 +119,6 @@
               System.out.println("LXSQL");
               return mBasicLXSQLParserMgr.processRequest(request);
           } else {
  -            System.out.println("SQL");
               return mBasicSQLParserMgr.processRequest(request);
           }
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message