Better debug message for AUTOINCREMENT exception.