aboutsummaryrefslogtreecommitdiff
path: root/odb/schema-catalog-impl.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-08 16:09:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-08 16:09:07 +0200
commitbe97326d67365e16175cc599e23348feaf80e0fe (patch)
treeb38678104546ebd549824096683bd00f3f2be299 /odb/schema-catalog-impl.hxx
parent0b583b575ec00c544759cbf8d6481d35c34c5f63 (diff)
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.
Diffstat (limited to 'odb/schema-catalog-impl.hxx')
-rw-r--r--odb/schema-catalog-impl.hxx3
1 files changed, 2 insertions, 1 deletions
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));
};
}