mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 09:23:03 +01:00
Fixed CORE-3180 - ALTER VIEW with not matched columns in declaration and selection crashs the server
This commit is contained in:
parent
a85fd4cfa8
commit
98bf701126
@ -3881,7 +3881,14 @@ static void define_view(CompiledStatement* statement, NOD_TYPE op)
|
||||
const dsql_str* field_name = (dsql_str*) (*ptr)->nod_arg[1];
|
||||
field_string = field_name->str_data;
|
||||
}
|
||||
ptr++;
|
||||
else
|
||||
{
|
||||
// Generate an error when going out of this loop.
|
||||
++ptr;
|
||||
break;
|
||||
}
|
||||
|
||||
++ptr;
|
||||
}
|
||||
|
||||
// if not an expression, point to the proper base relation field,
|
||||
|
Loading…
Reference in New Issue
Block a user