diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-23 14:22:56 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-23 14:22:56 -0400 |
commit | 4fe170332201ac02d303ec6c404ffa8b5beddbb5 (patch) | |
tree | db090e0cefa81034abff6b5590c81be35217b520 /lib/sqlalchemy/engine/base.py | |
parent | bac14cdf477151f5d3bea3450565462a66c17ee2 (diff) | |
download | sqlalchemy-4fe170332201ac02d303ec6c404ffa8b5beddbb5.tar.gz |
tweaks
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r-- | lib/sqlalchemy/engine/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index bdb1a0004..eddd446b2 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -1396,7 +1396,7 @@ class Engine(Connectable, log.Identified): current_shard = conn.info.get("current_shard", None) if current_shard != shard_id: - cursor.execute("use %%s" %% shards[shard_id]) + cursor.execute("use %s" % shards[shard_id]) conn.info["current_shard"] = shard_id .. seealso:: |