Skip to content

Commit

Permalink
Merge pull request #3594 from morozov/remove-unused
Browse files Browse the repository at this point in the history
Removed some unused code bits
  • Loading branch information
morozov committed Jun 13, 2019
2 parents 207a33d + 87e51c9 commit 441804e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
7 changes: 0 additions & 7 deletions lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ class OCI8Statement implements IteratorAggregate, Statement
/** @var OCI8Connection */
protected $_conn;

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

/** @var int[] */
protected static $fetchModeMap = [
FetchMode::MIXED => OCI_BOTH,
Expand Down
12 changes: 0 additions & 12 deletions lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -1842,18 +1842,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.
*
* @deprecated
*
* @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

0 comments on commit 441804e

Please sign in to comment.