Try a 'LOCK TABLE changes' substitute with 'ib_set_tx_param'; clenup