handle innodb "FOR UPDATE" clause