Merge lp:~zorba-coders/zorba/bug-943788 into lp:zorba

Proposed by Matthias Brantner
Status: Superseded
Proposed branch: lp:~zorba-coders/zorba/bug-943788
Merge into: lp:zorba
Diff against target: 52 lines (+5/-2)
5 files modified
ChangeLog (+1/-0)
modules/org/expath/ns/file.xq.src/file.cpp (+1/-1)
src/store/naive/atomic_items.cpp (+1/-0)
test/rbkt/ExpQueryResults/zorba/file/streamability2.xml.res (+2/-0)
test/rbkt/Queries/zorba/file/streamability2.spec (+0/-1)
To merge this branch: bzr merge lp:~zorba-coders/zorba/bug-943788
Reviewer Review Type Date Requested Status
Matthias Brantner Approve
Till Westmann Pending
Review via email: mp+95309@code.launchpad.net

This proposal has been superseded by a proposal from 2012-03-01.

Commit message

fix for bug #943788 (streamable string is not seekable)

Description of the change

fix for bug #943788 (streamable string is not seekable)

To post a comment you must log in.
Revision history for this message
Matthias Brantner (matthias-brantner) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/bug-943788 into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 (message):
  Validation queue job bug-943788-2012-03-01T04-09-09.503Z is finished. The
  final status was:

  1 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

lp:~zorba-coders/zorba/bug-943788 updated
10687. By Matthias Brantner

adapted old streamability2 test which makes streamability4 obsolete

10688. By Matthias Brantner

fix bug #945241 (StaticCollectionManager::declaredIndexes() and temporary indexes)

10689. By Matthias Brantner

fixed comment syntax

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ChangeLog'
2--- ChangeLog 2012-02-29 17:15:09 +0000
3+++ ChangeLog 2012-03-01 15:40:43 +0000
4@@ -51,6 +51,7 @@
5 * Fixed bug #917981 (disallow declaring same module twice).
6 * Added API method StaticContext::getNamespaceBindings() (see bug #905035)
7 * Deprecated StaticContext:getNamespaceURIByPrefix()
8+ * Fixed bug #943788 (streamable string is not seekable)
9 * Fixed bug 921624 (slow queries with bogus example.com schema URIs)
10 * Fixed bug #918211 (xqueryx fulltext w3c conformance generation)
11 * Fixed bug #918157 (Add XQFTTS to validation queue)
12
13=== modified file 'modules/org/expath/ns/file.xq.src/file.cpp'
14--- modules/org/expath/ns/file.xq.src/file.cpp 2012-02-28 20:45:43 +0000
15+++ modules/org/expath/ns/file.xq.src/file.cpp 2012-03-01 15:40:43 +0000
16@@ -215,7 +215,7 @@
17 }
18 lFile->openInputStream(*lInStream.get(), false, true);
19 lResult = theModule->getItemFactory()->createStreamableString(
20- *lInStream.release(), &FileModule::streamReleaser
21+ *lInStream.release(), &FileModule::streamReleaser, true
22 );
23 return ItemSequence_t(new SingletonItemSequence(lResult));
24
25
26=== modified file 'src/store/naive/atomic_items.cpp'
27--- src/store/naive/atomic_items.cpp 2012-02-29 17:15:09 +0000
28+++ src/store/naive/atomic_items.cpp 2012-03-01 15:40:43 +0000
29@@ -1787,6 +1787,7 @@
30 std::streambuf * pbuf;
31 pbuf = theIstream.rdbuf();
32 pbuf->pubseekoff(0, std::ios::beg);
33+ theIstream.clear();
34 }
35 theIsConsumed = true;
36 return theIstream;
37
38=== added file 'test/rbkt/ExpQueryResults/zorba/file/streamability2.xml.res'
39--- test/rbkt/ExpQueryResults/zorba/file/streamability2.xml.res 1970-01-01 00:00:00 +0000
40+++ test/rbkt/ExpQueryResults/zorba/file/streamability2.xml.res 2012-03-01 15:40:43 +0000
41@@ -0,0 +1,2 @@
42+sample
43+ sample
44
45=== modified file 'test/rbkt/Queries/zorba/file/streamability2.spec'
46--- test/rbkt/Queries/zorba/file/streamability2.spec 2011-07-12 23:32:16 +0000
47+++ test/rbkt/Queries/zorba/file/streamability2.spec 2012-03-01 15:40:43 +0000
48@@ -1,4 +1,3 @@
49 Args:
50 -x
51 rbktPath:=xs:string($RBKT_SRC_DIR)
52-Error: http://www.zorba-xquery.com/errors:ZSTR0055

Subscribers

People subscribed via source and target branches