get autocommit