fix to automatically connect before quering the tables, needed for setup->configuration (with ADOdb enabled)

This commit is contained in:
Ralf Becker 2003-10-20 16:36:03 +00:00
parent 0c6b822fea
commit dbfd796382

View File

@ -550,6 +550,8 @@
/**
* Get the id for the next sequence - not implemented!
*
* This seems not to be used anywhere in eGroupWhere !!!
*
* @param string $seq_name name of the sequence
* @return int sequence id
*/
@ -646,6 +648,7 @@
*/
function table_names()
{
$this->connect();
$result = array();
$tables = $this->Link_ID->MetaTables('TABLES');
if (is_array($tables))