froehlich 01/11/14 07:57:07 Modified: apps/db/src/java/org/apache/avalon/db/basic/actions BasicSelect.java Log: working on where statement Revision Changes Path 1.22 +1 -3 jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/actions/BasicSelect.java Index: BasicSelect.java =================================================================== RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/actions/BasicSelect.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- BasicSelect.java 2001/11/14 15:54:18 1.21 +++ BasicSelect.java 2001/11/14 15:57:07 1.22 @@ -116,7 +116,6 @@ } public boolean testRow(BasicRow row) throws ActionException { - //Just for debug if(!mWhereBuffer.toString().equals("")) { RhinoHelper rh = new RhinoHelper(); Matched rc = new Matched(); @@ -124,7 +123,7 @@ rh.addBean("my",this); rh.addBean("rc",rc); getLogger().debug("mWhereBuffer.toString()" + mWhereBuffer.toString()); - rh.executeAction("if (" + mWhereBuffer.toString() + ") { rc.itDidMatch(); } "); + rh.executeAction("if (" + mWhereBuffer.toString() + ") { rc.itDidMatch(true); } "); return rc.didItMatch(); } else { return true; @@ -140,7 +139,6 @@ return boolval; } } - private boolean checkSelectStructure(Element rootElement) { NodeList subRootNodes = mRootElement.getChildNodes();
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>