mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Revert r4357 (add database name in GetCreateViewCode), to fix issue #3329 (view export includes superfluous database name). Issue #3098 is still fixed, by the later r4479 (get view columns from IS.COLUMNS).
This commit is contained in:
@@ -1812,7 +1812,7 @@ begin
|
||||
Result := Result + 'ALGORITHM='+Uppercase(Algorithm)+' ';
|
||||
if Definer <> '' then
|
||||
Result := Result + 'DEFINER='+QuoteIdent(Definer, True, '@')+' ';
|
||||
Result := Result + 'VIEW '+Obj.QuotedDbAndTableName+' AS '+AlternativeSelectCode+' ';
|
||||
Result := Result + 'VIEW '+Obj.QuotedName+' AS '+AlternativeSelectCode+' ';
|
||||
// WITH .. CHECK OPTION is already contained in the source
|
||||
end;
|
||||
rx.Free;
|
||||
|
||||
Reference in New Issue
Block a user