1
0
mirror of synced 2024-12-15 07:36:03 +03:00

Cleanup in DB2 Platform and SchemaManager

This commit is contained in:
Benjamin Eberlei 2010-05-01 04:31:10 +02:00
parent 604ed962e5
commit 9277dba383
2 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,7 @@ use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Schema\Index; use Doctrine\DBAL\Schema\Index;
use Doctrine\DBAL\Schema\TableDiff; use Doctrine\DBAL\Schema\TableDiff;
class Db2Platform extends AbstractPlatform class DB2Platform extends AbstractPlatform
{ {
/** /**
* Gets the SQL snippet used to declare a VARCHAR column type. * Gets the SQL snippet used to declare a VARCHAR column type.

View File

@ -42,7 +42,6 @@ class DB2SchemaManager extends AbstractSchemaManager
*/ */
public function listTableNames() public function listTableNames()
{ {
$sql = $this->_platform->getListTablesSQL(); $sql = $this->_platform->getListTablesSQL();
$sql .= " AND CREATOR = UPPER('".$this->_conn->getUsername()."')"; $sql .= " AND CREATOR = UPPER('".$this->_conn->getUsername()."')";