📄 txn.so
字号:
m4_comment([$Id: txn.so,v 1.6 2003/10/18 19:16:20 bostic Exp $])m4_ref_title(Upgrading m4_db Applications, Release 4.0: txn_XXX,, upgrade.4.0/mp, upgrade.4.0/env)m4_p([dnlThe C API for the m4_db Transaction subsystem was reworked in the 4.0release as follows:])m4_table_begin(, _center)m4_table_header(Historic functional interface, m4_db 4.X method)m4_table_element(txn_abort, m4_ref(txn_abort))m4_table_element(txn_begin, m4_ref(txn_begin))m4_table_element(txn_checkpoint, m4_ref(txn_checkpoint))m4_table_element(txn_commit, m4_ref(txn_commit))m4_table_element(txn_discard, m4_ref(txn_discard))m4_table_element(txn_id, m4_ref(txn_id))m4_table_element(txn_prepare, m4_ref(txn_prepare))m4_table_element(txn_recover, m4_ref(txn_recover))m4_table_element(txn_stat, m4_ref(txn_stat))m4_table_endm4_p([dnlApplications calling any of these functions should update their callsto use the enclosing m4_ref(DbEnv) or m4_ref(DbTxn) handle's method(easily done as the first argument to the existing call is the correcthandle to use).])m4_p([dnlAs a special case, since applications might potentially have many callsto the txn_abort, txn_begin and txn_commit functions, those functionscontinue to work unchanged in the m4_db 4.0 release.])m4_p([dnlIn addition, the m4_ref(txn_stat) call has been changed in the 4.0release to take a flags argument. To leave their historic behaviorunchanged, applications should add a final argument of 0 to any callsmade to m4_ref(txn_stat).])m4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -