Permalink
Browse files

Some fixes

  • Loading branch information...
1 parent d48c9d7 commit 7f2b9a4c7ec89072ae6e940f3686b498cf3d34fe @beberlei beberlei committed May 1, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 examples/sharding/composer.json
  2. +1 −1 lib/Doctrine/Shards/DBAL/SQLAzure/SQLAzureShardManager.php
@@ -1,6 +1,6 @@
{
"require": {
"doctrine/dbal": "*",
- "doctrine/shards": "0.2"
+ "doctrine/shards": "0.3"
}
}
@@ -236,7 +236,7 @@ public function splitFederation($splitDistributionValue)
$sql = "ALTER FEDERATION " . $this->getFederationName() . " " .
"SPLIT AT (" . $this->getDistributionKey() . " = " .
- $this->conn->quote($splitDistributionValue, $type->getBindingType());
+ $this->conn->quote($splitDistributionValue, $type->getBindingType()) . ")";
$this->conn->exec($sql);
}
}

0 comments on commit 7f2b9a4

Please sign in to comment.