Add forgotten VIEWs in the performance optimized IS.TABLES query of TMySQLConnection.FetchDbObjects()

This commit is contained in:
Ansgar Becker
2013-11-27 17:17:50 +00:00
parent 6aaf971802
commit e00259f0be

View File

@@ -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