revert tools.basesql.proxy.cursor()