In MySQL document, 15.7.1 InnoDB Locking, it indicates that
Gap locks in InnoDB are “purely inhibitive”, which means that their only purpose is to preven