equal
deleted
inserted
replaced
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': |