Remove a few undocumented database-specific methods

This commit is contained in:
Timothy Warren 2014-02-07 14:16:39 -05:00
parent 9b80d946a9
commit f640de4e81
1 changed files with 1 additions and 33 deletions

View File

@ -88,38 +88,6 @@ class SQLite extends DB_PDO {
// that is of any importance.
return array('sqlite_master');
}
// --------------------------------------------------------------------------
/**
* Load a database for the current connection
*
* @param string $db
* @param string $name
*/
public function load_database($db, $name)
{
$sql = 'ATTACH DATABASE "'.$db.'" AS "'.$name.'"';
$this->query($sql);
}
// --------------------------------------------------------------------------
/**
* Unload a database from the current connection
*
* @param string $name
*/
public function unload_database($name)
{
$sql = 'DETACH DATABASE ":name"';
$this->prepare_query($sql, array(
':name' => $name,
));
$this->statement->execute();
}
// --------------------------------------------------------------------------
@ -136,4 +104,4 @@ class SQLite extends DB_PDO {
return NULL;
}
}
//End of sqlite_driver.php
//End of sqlite_driver.php