From be97326d67365e16175cc599e23348feaf80e0fe Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Oct 2012 16:09:07 +0200 Subject: Ground work for multi-database support All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface. --- odb/schema-catalog-impl.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'odb/schema-catalog-impl.hxx') diff --git a/odb/schema-catalog-impl.hxx b/odb/schema-catalog-impl.hxx index 71d5d89..9b94cf1 100644 --- a/odb/schema-catalog-impl.hxx +++ b/odb/schema-catalog-impl.hxx @@ -35,8 +35,9 @@ namespace odb struct LIBODB_EXPORT schema_catalog_entry { schema_catalog_entry ( + database_id id, const char* name, - bool (*entry) (database&, unsigned short pass, bool drop)); + bool (*create_function) (database&, unsigned short pass, bool drop)); }; } -- cgit v1.1