summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-05 15:00:30 +0100
committerErik Johnston <erik@matrix.org>2015-05-05 15:00:30 +0100
commit1692dc019d803287047b16beda92fec4f1934622 (patch)
treea2d3f6455d43cca97f92b7b64d3ad0fb07b990d3 /synapse/storage/_base.py
parentCorrectly name transaction (diff)
downloadsynapse-1692dc019d803287047b16beda92fec4f1934622.tar.xz
Don't call 'encode_parameter' no-op
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index c328b5274c..e01c61d08d 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -167,10 +167,6 @@ class LoggingTransaction(object):
         sql = self.database_engine.convert_param_style(sql)
 
         if args and args[0]:
-            args = list(args)
-            args[0] = [
-                self.database_engine.encode_parameter(a) for a in args[0]
-            ]
             try:
                 sql_logger.debug(
                     "[SQL values] {%s} " + ", ".join(("<%r>",) * len(args[0])),