def lockCommits(db):
    if db.version > sqllib.DBversion(16,1):
        logMe(1, "WARNING: commitlock noop", db.version)
        return True # noop, can't do it reliably without the CommitLock table
    cu = db.cursor()
    # on MySQL this will timout after lock_timeout seconds. MySQL's
    # server config has to be set to a reasonable value
    cu.execute("update CommitLock set lockName = lockName")
    return True

# this should only check for the proper schema version. This function
# is called usually from the multithreaded setup, so schema operations
# should be avoided here
dataset/ETHPy150Open sassoftware/conary/conary/server/schema.py/lockCommits/operator `<` -> `>`