commit before attempt to change default sql query