Subtle bug that occurred selecting after a join

Outer joins add the placeholder '---' that is used as some sort of NULL
value.

However select operations on such relations would always fail, because
relations are supposed to only contain values of class rstring, and
the placeholder was added as a regular string.

As a consequence, automatic casting would always fail, and the select
would always raise an exception.

Added a new test case with this specific case in mind.
This commit is contained in:
Salvo 'LtWorf' Tomaselli
2015-09-10 12:19:51 +02:00
parent f7ac34b761
commit d597076038
4 changed files with 5 additions and 1 deletions

1
test/select_join.query Normal file
View File

@@ -0,0 +1 @@
σ id==3(people ⧓ skills)

2
test/select_join.result Normal file
View File

@@ -0,0 +1,2 @@
id,skill,name,chief,age
3,C++,dean,1,33