标题: 怎样添加Oops操作呢 [打印本页] 作者: happyliangkeshu 时间: 2016-9-25 21:12 标题: 怎样添加Oops操作呢 allegro skill 中有一个例子,但是我看了还是不太会
mark = axlDBTransactionStart()
...#1 do stuff ...
axlDBTransactionMark(mark)
...#2 do stuff ...
axlDBTransactionMark(mark)
...#3 do stuff ...
;; do an oops of the last two changes
axlDBTransactionOops( mark ) ; oops out #3
axlDBTransactionOops( mark ) ; oops out #2
axlDBTransactionOops( topList); commit only #1