dot-needsAutoCommit function

Internal function to determine if the connection needs auto commit