Avoid misusing of minipro_begin_transaction / minipro_end_transaction