server/querier.py
changeset 6401 d7f5d873e1b8
parent 6366 1806148d6ce8
parent 6385 9f91d09ee5fa
child 6427 c8a5ac2d1eaa
equal deleted inserted replaced
6400:21468682f688 6401:d7f5d873e1b8
   710             # * we should not reset the pool here, since we don't want the
   710             # * we should not reset the pool here, since we don't want the
   711             #   session to loose its pool during processing
   711             #   session to loose its pool during processing
   712             # * don't rollback if we're in the commit process, will be handled
   712             # * don't rollback if we're in the commit process, will be handled
   713             #   by the session
   713             #   by the session
   714             if session.commit_state is None:
   714             if session.commit_state is None:
   715                 session.rollback(reset_pool=False)
   715                 session.commit_state = 'uncommitable'
   716             raise
   716             raise
   717         # build a description for the results if necessary
   717         # build a description for the results if necessary
   718         descr = ()
   718         descr = ()
   719         if build_descr:
   719         if build_descr:
   720             if rqlst.TYPE == 'select':
   720             if rqlst.TYPE == 'select':