Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 4 commits
  • 3 files changed
  • 0 commit comments
  • 2 contributors
View
1  src/org/exist/xquery/DynamicFunctionCall.java
@@ -43,6 +43,7 @@ public void dump(ExpressionDumper dumper) {
@Override
public Sequence eval(Sequence contextSequence, Item contextItem)
throws XPathException {
+ context.proceed(this);
final Sequence funcSeq = functionExpr.eval(contextSequence, contextItem);
if (funcSeq.getCardinality() != Cardinality.EXACTLY_ONE)
{throw new XPathException(this, ErrorCodes.XPTY0004,
View
5 src/org/exist/xquery/FunctionCall.java
@@ -271,6 +271,7 @@ public Sequence evalFunction(Sequence contextSequence, Item contextItem, Sequenc
}
public Sequence evalFunction(Sequence contextSequence, Item contextItem, Sequence[] seq, DocumentSet[] contextDocs) throws XPathException {
+ context.proceed(this);
if(context.isProfilingEnabled()) {
context.getProfiler().start(this);
context.getProfiler().message(this, Profiler.DEPENDENCIES, "DEPENDENCIES", Dependency.getDependenciesName(this.getDependencies()));
@@ -327,7 +328,9 @@ public Sequence evalFunction(Sequence contextSequence, Item contextItem, Sequenc
returnSeq = expression.eval(contextSequence, contextItem);
while(returnSeq instanceof DeferredFunctionCall &&
functionDef.getSignature().equals(((DeferredFunctionCall)returnSeq).getSignature())) {
- LOG.trace("Executing function: " + functionDef.getSignature());
+ if (LOG.isTraceEnabled()) {
+ LOG.trace("Executing function: " + functionDef.getSignature());
+ }
returnSeq = ((DeferredFunctionCall) returnSeq).execute();
}
View
1  src/org/exist/xquery/InternalFunctionCall.java
@@ -34,6 +34,7 @@ public InternalFunctionCall(Function f)
public Sequence eval(Sequence contextSequence, Item contextItem) throws XPathException
{
+ context.proceed(this);
final QName functionName = function.getName();
//check access to the method
try {

No commit comments for this range

Something went wrong with that request. Please try again.