mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:43:03 +01:00
Fixed the others two problems of CORE-2176
This commit is contained in:
parent
a5caf68342
commit
720a49c89e
@ -5375,6 +5375,7 @@ jrd_nod* CMP_pass2(thread_db* tdbb, CompilerScratch* csb, jrd_nod* const node, j
|
|||||||
case nod_current_time:
|
case nod_current_time:
|
||||||
case nod_current_timestamp:
|
case nod_current_timestamp:
|
||||||
case nod_current_date:
|
case nod_current_date:
|
||||||
|
case nod_derived_expr:
|
||||||
#ifdef SCROLLABLE_CURSORS
|
#ifdef SCROLLABLE_CURSORS
|
||||||
case nod_seek:
|
case nod_seek:
|
||||||
#endif
|
#endif
|
||||||
|
@ -2846,6 +2846,7 @@ static bool expression_possible_unknown(const jrd_nod* node)
|
|||||||
case nod_substr:
|
case nod_substr:
|
||||||
case nod_trim:
|
case nod_trim:
|
||||||
case nod_sys_function:
|
case nod_sys_function:
|
||||||
|
case nod_derived_expr:
|
||||||
|
|
||||||
case nod_like:
|
case nod_like:
|
||||||
case nod_between:
|
case nod_between:
|
||||||
@ -2858,6 +2859,7 @@ static bool expression_possible_unknown(const jrd_nod* node)
|
|||||||
case nod_gtr:
|
case nod_gtr:
|
||||||
case nod_lss:
|
case nod_lss:
|
||||||
case nod_leq:
|
case nod_leq:
|
||||||
|
|
||||||
{
|
{
|
||||||
const jrd_nod* const* ptr = node->nod_arg;
|
const jrd_nod* const* ptr = node->nod_arg;
|
||||||
// Check all sub-nodes of this node.
|
// Check all sub-nodes of this node.
|
||||||
@ -3033,6 +3035,7 @@ static bool expression_contains_stream(CompilerScratch* csb,
|
|||||||
case nod_substr:
|
case nod_substr:
|
||||||
case nod_trim:
|
case nod_trim:
|
||||||
case nod_sys_function:
|
case nod_sys_function:
|
||||||
|
case nod_derived_expr:
|
||||||
|
|
||||||
case nod_like:
|
case nod_like:
|
||||||
case nod_between:
|
case nod_between:
|
||||||
@ -3050,6 +3053,7 @@ static bool expression_contains_stream(CompilerScratch* csb,
|
|||||||
case nod_gtr:
|
case nod_gtr:
|
||||||
case nod_lss:
|
case nod_lss:
|
||||||
case nod_leq:
|
case nod_leq:
|
||||||
|
|
||||||
{
|
{
|
||||||
const jrd_nod* const* ptr = node->nod_arg;
|
const jrd_nod* const* ptr = node->nod_arg;
|
||||||
// Check all sub-nodes of this node.
|
// Check all sub-nodes of this node.
|
||||||
@ -5984,6 +5988,7 @@ static void get_expression_streams(const jrd_nod* node,
|
|||||||
case nod_substr:
|
case nod_substr:
|
||||||
case nod_trim:
|
case nod_trim:
|
||||||
case nod_sys_function:
|
case nod_sys_function:
|
||||||
|
case nod_derived_expr:
|
||||||
|
|
||||||
case nod_like:
|
case nod_like:
|
||||||
case nod_between:
|
case nod_between:
|
||||||
@ -6001,6 +6006,7 @@ static void get_expression_streams(const jrd_nod* node,
|
|||||||
case nod_gtr:
|
case nod_gtr:
|
||||||
case nod_lss:
|
case nod_lss:
|
||||||
case nod_leq:
|
case nod_leq:
|
||||||
|
|
||||||
{
|
{
|
||||||
const jrd_nod* const* ptr = node->nod_arg;
|
const jrd_nod* const* ptr = node->nod_arg;
|
||||||
// Check all sub-nodes of this node.
|
// Check all sub-nodes of this node.
|
||||||
@ -6149,6 +6155,7 @@ static jrd_nod* get_unmapped_node(thread_db* tdbb, jrd_nod* node,
|
|||||||
case nod_substr:
|
case nod_substr:
|
||||||
case nod_trim:
|
case nod_trim:
|
||||||
case nod_sys_function:
|
case nod_sys_function:
|
||||||
|
case nod_derived_expr:
|
||||||
{
|
{
|
||||||
// Check all sub-nodes of this node.
|
// Check all sub-nodes of this node.
|
||||||
jrd_nod** ptr = node->nod_arg;
|
jrd_nod** ptr = node->nod_arg;
|
||||||
|
Loading…
Reference in New Issue
Block a user