mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:00:38 +01:00
Fix another check constraint and ambigous field problem.
Are there any more options left?, sigh: tablename, NEW, OLD, TEMP
This commit is contained in:
parent
ff5e33af17
commit
383926e046
@ -7308,7 +7308,8 @@ static dsql_fld* resolve_context( dsql_req* request, const dsql_str* qualifier,
|
||||
{
|
||||
table_name = NULL;
|
||||
}
|
||||
else if (!strcmp(table_name, OLD_CONTEXT))
|
||||
else if ((!strcmp(table_name, OLD_CONTEXT)) ||
|
||||
(!strcmp(table_name, TEMP_CONTEXT)))
|
||||
{
|
||||
// Only use the OLD context if it is explicit used. That means the
|
||||
// qualifer should hold the "OLD" alias.
|
||||
|
Loading…
Reference in New Issue
Block a user