Is that possible?
try { start tran;
$this->db1->execute(sql1); $this->db2->execute(sql2);
commit tran; } catch (Exception $e) { rollback tran; throw $e; } finally { do_clean_up(); }
Is that possible?
try { start tran;
$this->db1->execute(sql1); $this->db2->execute(sql2);
commit tran; } catch (Exception $e) { rollback tran; throw $e; } finally { do_clean_up(); }