mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 03:23:04 +01:00
Move default GTT type setting to more correct place.
This commit is contained in:
parent
d23e553c1e
commit
3ea59cff5e
@ -7239,8 +7239,7 @@ void CreateRelationNode::execute(thread_db* tdbb, DsqlCompilerScratch* dsqlScrat
|
|||||||
|
|
||||||
DYN_UTIL_check_unique_name(tdbb, transaction, name, obj_relation);
|
DYN_UTIL_check_unique_name(tdbb, transaction, name, obj_relation);
|
||||||
|
|
||||||
if (!relationType.specified)
|
fb_assert(relationType.specified);
|
||||||
relationType = rel_global_temp_delete;
|
|
||||||
|
|
||||||
checkRelationTempScope(tdbb, transaction, name, relationType.value);
|
checkRelationTempScope(tdbb, transaction, name, relationType.value);
|
||||||
|
|
||||||
|
@ -2082,6 +2082,8 @@ gtt_table_clause
|
|||||||
'(' table_elements($2) ')' gtt_ops($2)
|
'(' table_elements($2) ')' gtt_ops($2)
|
||||||
{
|
{
|
||||||
$$ = $2;
|
$$ = $2;
|
||||||
|
if (!$$->relationType.specified)
|
||||||
|
$$->relationType = rel_global_temp_delete;
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user