xen-org/xen-api — pull request #1052 by jeromemaloberti (2013-03-01 13:00:37+00:00)
Title: CA-89978: Fix restoration of database from temporary restore file.

- Delete the temporary restore file after using it to populate the
database - if we don't do this then xapi will use the restore file
again the next time it starts up.

- Perform the initial database flush to the global list of database
connections in all cases; don't flush to the restore database file
if it's being used.