Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed some unused code bits #3594

Merged
merged 1 commit into from
Jun 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ class OCI8Statement implements IteratorAggregate, Statement
/** @var OCI8Connection */
protected $_conn;

/** @var string */
protected static $_PARAM = ':param';

/** @var int[] */
protected static $fetchModeMap = [
FetchMode::MIXED => OCI_BOTH,
Expand Down
10 changes: 0 additions & 10 deletions lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -1843,16 +1843,6 @@ protected function getRenameIndexSQL(string $oldIndexName, Index $index, string
];
}

/**
* Common code for alter table statement generation that updates the changed Index and Foreign Key definitions.
*
* @return string[]
*/
protected function _getAlterTableIndexForeignKeySQL(TableDiff $diff) : array
{
return array_merge($this->getPreAlterTableIndexForeignKeySQL($diff), $this->getPostAlterTableIndexForeignKeySQL($diff));
}

/**
* Gets declaration of a number of fields in bulk.
*
Expand Down
3 changes: 0 additions & 3 deletions lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Doctrine\DBAL\Sharding\Exception\MissingDistributionType;
use Doctrine\DBAL\Sharding\ShardingException;
use Doctrine\DBAL\Sharding\ShardManager;
use Doctrine\DBAL\Types\Type;
use RuntimeException;
use function sprintf;

Expand Down Expand Up @@ -192,8 +191,6 @@ public function queryAll(string $sql, array $params = [], array $types = []) : a
*/
public function splitFederation($splitDistributionValue) : void
{
$type = Type::getType($this->distributionType);

$sql = 'ALTER FEDERATION ' . $this->getFederationName() . ' ' .
'SPLIT AT (' . $this->getDistributionKey() . ' = ' .
$this->conn->quote($splitDistributionValue) . ')';
Expand Down