Author: thomasm
Date: Thu Aug 18 07:50:29 2016
New Revision: 1756733
URL: http://svn.apache.org/viewvc?rev=1756733&view=rev
Log:
OAK-4658 Outer join: name(b) and localname(b) can throw a NPE (formatting)
Modified:
jackrabbit/oak/branches/1.4/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2.txt
Modified:
jackrabbit/oak/branches/1.4/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2.txt
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/branches/1.4/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2.txt?rev=1756733&r1=1756732&r2=1756733&view=diff
==============================================================================
---
jackrabbit/oak/branches/1.4/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2.txt
(original)
+++
jackrabbit/oak/branches/1.4/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2.txt
Thu Aug 18 07:50:29 2016
@@ -30,16 +30,16 @@
commit / + "test": { "a": { "name": "Hello" }, "b": { "name" : "World" }}
# OAK-4658
-select a.[jcr:path] from [nt:base] as a
+select a.[jcr:path] from [nt:base] as a
left outer join [nt:base] as b on ischildnode(b, a)
where name(b) = 'b'
-/test
+/test
# OAK-4658
-select a.[jcr:path] from [nt:base] as a
+select a.[jcr:path] from [nt:base] as a
left outer join [nt:base] as b on ischildnode(b, a)
where localname(b) = 'b'
-/test
+/test
select * from [nt:base]
where [a] = 1 and [b] = 2 and [b] = 3 or [c] = 4