8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:43:02 +01:00

Move default GTT type setting to more correct place.

This commit is contained in:
Roman Simakov 2016-10-21 15:01:42 +03:00
parent d23e553c1e
commit 3ea59cff5e
2 changed files with 3 additions and 2 deletions

View File

@ -7239,8 +7239,7 @@ void CreateRelationNode::execute(thread_db* tdbb, DsqlCompilerScratch* dsqlScrat
DYN_UTIL_check_unique_name(tdbb, transaction, name, obj_relation);
if (!relationType.specified)
relationType = rel_global_temp_delete;
fb_assert(relationType.specified);
checkRelationTempScope(tdbb, transaction, name, relationType.value);

View File

@ -2082,6 +2082,8 @@ gtt_table_clause
'(' table_elements($2) ')' gtt_ops($2)
{
$$ = $2;
if (!$$->relationType.specified)
$$->relationType = rel_global_temp_delete;
}
;