8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:43:02 +01:00

This should fix crashes surfaced by my yesterday's commit

This commit is contained in:
Dmitry Yemanov 2022-04-03 10:12:35 +03:00
parent 2e8bfcb1b0
commit d2adb6e3d2

View File

@ -260,7 +260,7 @@ bool ExprNode::dsqlMatch(DsqlCompilerScratch* dsqlScratch, const ExprNode* other
bool ExprNode::sameAs(const ExprNode* other, bool ignoreStreams) const
{
if (other->getType() != getType())
if (!other || other->getType() != getType())
return false;
NodeRefsHolder thisHolder;