xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/lib/sql SQLQueryParser.java
Date Tue, 15 Jul 2003 18:12:19 GMT
johng       2003/07/15 11:12:19

  Modified:    java/src/org/apache/xalan/lib/sql SQLQueryParser.java
  Log:
  Fixed NPE bug with inline variables
  
  Revision  Changes    Path
  1.2       +2 -0      xml-xalan/java/src/org/apache/xalan/lib/sql/SQLQueryParser.java
  
  Index: SQLQueryParser.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/lib/sql/SQLQueryParser.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SQLQueryParser.java	19 Jun 2003 18:01:48 -0000	1.1
  +++ SQLQueryParser.java	15 Jul 2003 18:12:19 -0000	1.2
  @@ -341,6 +341,8 @@
       StringBuffer    tok = new StringBuffer();
       boolean         firstword = true;
   
  +    if (m_Parameters == null) m_Parameters = new Vector();
  +
       if (m_ParsedQuery == null) m_ParsedQuery = new StringBuffer();
   
       for ( int idx = 0 ; idx < m_OrigQuery.length() ; idx++ )
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message