8
0
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:
arnobrinkman 2005-01-06 18:17:10 +00:00
parent ff5e33af17
commit 383926e046

View File

@ -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.