File tree Expand file tree Collapse file tree
Orm/Xtensive.Orm.MySql/Sql.Drivers.MySql/v5_0 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Copyright (C) 2003-2010 Xtensive LLC.
2- // All rights reserved .
3- // For conditions of distribution and use, see license .
1+ // Copyright (C) 2011-2022 Xtensive LLC.
2+ // This code is distributed under MIT license terms .
3+ // See the License.txt file in the project root for more information .
44// Created by: Malisa Ncube
55// Created: 2011.02.25
66
@@ -20,7 +20,7 @@ protected string GetExtractTablesQuery()
2020 t.table_name,
2121 t.table_type
2222 FROM information_schema.tables t
23- WHERE t.table_schema {SCHEMA_FILTER}" ;
23+ WHERE t.table_schema {SCHEMA_FILTER} AND t.table_type = 'BASE TABLE' " ;
2424 }
2525
2626 protected string GetExtractTableColumnsQuery ( )
@@ -46,6 +46,7 @@ FROM information_schema.columns c LEFT OUTER JOIN information_schema.tables t O
4646 WHERE c.table_schema {SCHEMA_FILTER}
4747 AND t.table_schema {SCHEMA_FILTER}
4848 AND c.table_name {TABLE_FILTER}
49+ AND t.table_type = 'BASE TABLE'
4950 ORDER BY
5051 c.table_schema,
5152 c.table_name,
You can’t perform that action at this time.
0 commit comments