File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -486,8 +486,8 @@ public function getTableList()
486486 {
487487 $ this ->connect ();
488488
489- // Set the query to get the tables statement.
490- return $ this ->setQuery ('SHOW TABLES ' )->loadColumn ();
489+ // Set the query to get the tables statement and not the views .
490+ return $ this ->setQuery ('SHOW FULL TABLES WHERE table_type="BASE TABLE" ' )->loadColumn ();
491491 }
492492
493493 /**
Original file line number Diff line number Diff line change @@ -631,8 +631,8 @@ public function getTableList()
631631 {
632632 $ this ->connect ();
633633
634- // Set the query to get the tables statement.
635- return $ this ->setQuery ('SHOW TABLES ' )->loadColumn ();
634+ // Set the query to get the tables statement and not the views .
635+ return $ this ->setQuery ('SHOW FULL TABLES WHERE table_type="BASE TABLE" ' )->loadColumn ();
636636 }
637637
638638 /**
You can’t perform that action at this time.
0 commit comments