neo4j/neo4j — pull request #1620 by chrisvest (2013-12-04 15:04:35+00:00)
Title: Constraint crash

Do not crash in commit (please not ever, but also this case in particular) when drops and creates of overlapping constraints and indexes happen in the same transaction.

This fixes #1601 DROP INDEX before CREATE CONSTRAINT crashes the database unrecoverably.
The crash was unrecoverable because it happened in commit, and so also crashed the database when we tried to apply the schema commands during recovery.