equal
deleted
inserted
replaced
115 |
115 |
116 def execute(self, query, args=None): |
116 def execute(self, query, args=None): |
117 try: |
117 try: |
118 return super(Cursor, self).execute(query, args) |
118 return super(Cursor, self).execute(query, args) |
119 finally: |
119 finally: |
120 log.debug(self._executed) |
120 log.debug(self._executed.decode('utf8')) |
121 |
121 |
122 def callproc(self, procname, args=None): |
122 def callproc(self, procname, args=None): |
123 try: |
123 try: |
124 return super(Cursor, self).callproc(procname, args) |
124 return super(Cursor, self).callproc(procname, args) |
125 finally: |
125 finally: |
126 log.debug(self._executed) |
126 log.debug(self._executed.decode('utf8')) |
127 |
127 |
128 def row_dict(self, row, lstrip=None): |
128 def row_dict(self, row, lstrip=None): |
129 adjustname = lambda a: a |
129 adjustname = lambda a: a |
130 if lstrip: |
130 if lstrip: |
131 adjustname = lambda a: a.lstrip(lstrip) |
131 adjustname = lambda a: a.lstrip(lstrip) |