FIX: subquery could not not have a where clause

This commit is contained in:
Jonas Pöhler committed 2021-07-29 17:09:24 +02:00
1 parent 4aef0ad459
commit 4cebb367de
3 files changed
+26 -3

No files matched your search

@@ -22,6 +22,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@@ -411,7 +412,7 @@ public class CQueryPredicates {
* Return the bind values for the where expression.
*/
public List<Object> getWhereExprBindValues() {
return where.getBindValues();
return where == null ? Collections.emptyList() : where.getBindValues();
}
/**