From f4842edd98b6622854e6e6e7b36728d9f6395bb9 Mon Sep 17 00:00:00 2001 From: zYne Date: Thu, 28 Jun 2007 12:00:49 +0000 Subject: [PATCH] --- lib/Doctrine/Import/Mysql.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/Import/Mysql.php b/lib/Doctrine/Import/Mysql.php index 7d4d7ed25..cd7139859 100644 --- a/lib/Doctrine/Import/Mysql.php +++ b/lib/Doctrine/Import/Mysql.php @@ -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);