[teiid-commits] teiid SVN: r4338 - in trunk: engine/src/main/java/org/teiid/query/parser and 1 other directories.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Fri Aug 17 14:20:39 EDT 2012


Author: shawkins
Date: 2012-08-17 14:20:39 -0400 (Fri, 17 Aug 2012)
New Revision: 4338

Modified:
   trunk/build/kits/jboss-as7/docs/teiid/teiid-releasenotes.html
   trunk/engine/src/main/java/org/teiid/query/parser/QueryParser.java
   trunk/test-integration/perf/pom.xml
Log:
TEIID-2148 updating the release notes and a couple of misc. changes

Modified: trunk/build/kits/jboss-as7/docs/teiid/teiid-releasenotes.html
===================================================================
--- trunk/build/kits/jboss-as7/docs/teiid/teiid-releasenotes.html	2012-08-17 17:52:57 UTC (rev 4337)
+++ trunk/build/kits/jboss-as7/docs/teiid/teiid-releasenotes.html	2012-08-17 18:20:39 UTC (rev 4338)
@@ -28,6 +28,8 @@
 
 <ul>
 	<li>TEIID-2150 <b>Positional procedure defaults</b> - a procedure now may be called positionally with just the leading input parameters as long as all trailing parameters are out or defaultable.
+	<li>TEIID-2148 <b>Streaming Improvements</b> - the ws translator invoke/invokeHttp procedures now execpt a stream parameter to indicate that the result should be streamed directly without an intermediate copy being created.  
+	Also intermediate document/blob copies are made concurrently with reading to reduce latency.
 </ul>
 
 <h2><a name="Compatibility">Compatibility Issues</a></h2>

Modified: trunk/engine/src/main/java/org/teiid/query/parser/QueryParser.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/query/parser/QueryParser.java	2012-08-17 17:52:57 UTC (rev 4337)
+++ trunk/engine/src/main/java/org/teiid/query/parser/QueryParser.java	2012-08-17 18:20:39 UTC (rev 4338)
@@ -261,11 +261,12 @@
 			if (truncateStart) {
 				expected.append("... "); //$NON-NLS-1$
 			}
-			for (int j = start; j < expectedTokenSequences[i].length && j < start+maxTokenSequence; j++) {
+			int j = start;
+			for (; j < expectedTokenSequences[i].length && j < start+maxTokenSequence; j++) {
 				expected.append(tokenImage[expectedTokenSequences[i][j]])
 						.append(" "); //$NON-NLS-1$
 			}
-			if (expectedTokenSequences[i][Math.min(maxTokenSequence, expectedTokenSequences[i].length - 1)] != 0) {
+			if (j < expectedTokenSequences[i].length) {
 				expected.append("..."); //$NON-NLS-1$
 			}
 			expected.append(eol).append("    "); //$NON-NLS-1$

Modified: trunk/test-integration/perf/pom.xml
===================================================================
--- trunk/test-integration/perf/pom.xml	2012-08-17 17:52:57 UTC (rev 4337)
+++ trunk/test-integration/perf/pom.xml	2012-08-17 18:20:39 UTC (rev 4338)
@@ -3,7 +3,7 @@
 	<parent>
 		<artifactId>teiid-test-integration</artifactId>
 		<groupId>org.jboss.teiid</groupId>
-		<version>8.0.0.beta1-SNAPSHOT</version>
+		<version>8.2.0.Alpha1-SNAPSHOT</version>
 	</parent>
 	<modelVersion>4.0.0</modelVersion>
 	<artifactId>test-integration-perf</artifactId>



More information about the teiid-commits mailing list