mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Export VIEWs with alternative version of SELECT code. Follow up to r3941, see issue #2546.
This commit is contained in:
@ -1227,6 +1227,8 @@ begin
|
||||
Struc := Struc + Quoter.QuoteIdent(DBObj.Name);
|
||||
Output(Struc, True, True, True, True, True);
|
||||
Struc := DBObj.CreateCode;
|
||||
if DBObj.ViewSelectCode <> '' then
|
||||
Struc := DBObj.ViewSelectCode;
|
||||
if ToDb then
|
||||
Insert(Quoter.QuoteIdent(FinalDbName)+'.', Struc, Pos('VIEW', Struc) + 5 );
|
||||
end;
|
||||
|
Reference in New Issue
Block a user