1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +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) public function listSequences($database = null)
{ {
$query = "SHOW TABLES"; $query = 'SHOW TABLES';
if (!is_null($database)) { if (!is_null($database)) {
$query .= " FROM $database"; $query .= ' FROM ' . $database;
} }
$tableNames = $this->conn->fetchColumn($query); $tableNames = $this->conn->fetchColumn($query);