1
0
mirror of synced 2025-01-18 22:41:43 +03:00
This commit is contained in:
zYne 2007-06-28 12:00:49 +00:00
parent b4ad603841
commit f4842edd98

View File

@ -47,9 +47,9 @@ class Doctrine_Import_Mysql extends Doctrine_Import
*/
public function listSequences($database = null)
{
$query = "SHOW TABLES";
$query = 'SHOW TABLES';
if (!is_null($database)) {
$query .= " FROM $database";
$query .= ' FROM ' . $database;
}
$tableNames = $this->conn->fetchColumn($query);