Removed redundant methods from sqlite driver

This commit is contained in:
Timothy Warren 2012-04-10 09:45:51 -04:00
parent 9b3a242b04
commit 9d3bddf648
2 changed files with 1 additions and 80 deletions

View File

@ -224,7 +224,7 @@ SQL;
public function trigger_list() public function trigger_list()
{ {
return <<<SQL return <<<SQL
SELECT * SELECT *
FROM "information_schema"."triggers" FROM "information_schema"."triggers"
WHERE "trigger_schema" NOT IN WHERE "trigger_schema" NOT IN
('pg_catalog', 'information_schema') ('pg_catalog', 'information_schema')

View File

@ -86,85 +86,6 @@ SQL;
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/**
* Not applicable to SQLite
*
* @return FALSE
*/
public function get_dbs()
{
return FALSE;
}
// --------------------------------------------------------------------------
/**
* Get list of views for the current database
*
* @return array
*/
public function get_views()
{
$sql = <<<SQL
SELECT "name" FROM "sqlite_master" WHERE "type" = 'view'
SQL;
$res = $this->query($sql);
return db_filter($res->fetchALL(PDO::FETCH_ASSOC), 'name');
}
// --------------------------------------------------------------------------
/**
* Not applicable to SQlite
*
* @return FALSE
*/
public function get_sequences()
{
return FALSE;
}
// --------------------------------------------------------------------------
/**
* Return list of custom functions for the current database
*
* @return array
*/
public function get_functions()
{
// @todo Implement
return FALSE;
}
// --------------------------------------------------------------------------
/**
* Retrun list of stored procedures for the current database
*
* @return array
*/
public function get_procedures()
{
// @todo Implement
return FALSE;
}
// --------------------------------------------------------------------------
/**
* Return list of triggers for the current database
*
* @return array
*/
public function get_triggers()
{
// @todo Implement
return FALSE;
}
// --------------------------------------------------------------------------
/** /**
* List system tables for the current database * List system tables for the current database
* *