mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-31 14:07:16 +00:00
TableList() returns now a list for mysql
This commit is contained in:
parent
a6b5ea3ce6
commit
0caec4d9be
|
@ -97,7 +97,7 @@ class SeedDMS_Core_DatabaseAccess {
|
|||
function TableList() { /* {{{ */
|
||||
switch($this->_driver) {
|
||||
case 'mysql':
|
||||
$sql = "select TABLE_NAME as name from information_schema.tables where TABLE_SCHEMA='seeddms' and TABLE_TYPE='BASE TABLE'";
|
||||
$sql = "select TABLE_NAME as name from information_schema.tables where TABLE_SCHEMA='".$this->_database."' and TABLE_TYPE='BASE TABLE'";
|
||||
break;
|
||||
case 'sqlite':
|
||||
$sql = "select tbl_name as name from sqlite_master where type='table'";
|
||||
|
|
Loading…
Reference in New Issue
Block a user