mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Add forgotten VIEWs in the performance optimized IS.TABLES query of TMySQLConnection.FetchDbObjects()
This commit is contained in:
@@ -3001,7 +3001,7 @@ begin
|
||||
'NULL AS '+QuoteIdent('Checksum')+', '+
|
||||
'NULL AS '+QuoteIdent('Create_options')+
|
||||
' FROM INFORMATION_SCHEMA.TABLES'+
|
||||
' WHERE TABLE_SCHEMA='+EscapeString(db)+' AND TABLE_TYPE='+EscapeString('BASE TABLE')
|
||||
' WHERE TABLE_SCHEMA='+EscapeString(db)+' AND TABLE_TYPE IN('+EscapeString('BASE TABLE')+', '+EscapeString('VIEW')+')'
|
||||
);
|
||||
end;
|
||||
except
|
||||
|
||||
Reference in New Issue
Block a user