]> xenbits.xensource.com Git - xcp/xen-api.git/commit
Rewrite the database upgrade upgrade_vm_records to use the type-safe Db.* API rather...
authorDavid Scott <dave.scott@eu.citrix.com>
Wed, 26 Jan 2011 17:39:06 +0000 (17:39 +0000)
committerDavid Scott <dave.scott@eu.citrix.com>
Wed, 26 Jan 2011 17:39:06 +0000 (17:39 +0000)
commitab61a8a4f7acffc040e891935d7f78b244b86e37
treee13cbf200725b135cbbb21116ff9b803ad77c8d3
parentf185b0363eedb559a4f3f41b58d20ce018aa293d
Rewrite the database upgrade upgrade_vm_records to use the type-safe Db.* API rather than the unsafe low-level database API. Move this xapi-specific stuff out of the database layer and put it further up the stack.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
ocaml/database/database_test.ml
ocaml/database/db_cache_impl.ml
ocaml/database/db_hiupgrade.ml [deleted file]
ocaml/database/db_upgrade.ml
ocaml/xapi/OMakefile
ocaml/xapi/xapi.ml
ocaml/xapi/xapi_db_upgrade.ml [new file with mode: 0644]