From b6f2b4e1e924965d55e656992a48cc3cd19e64a2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Mar 2011 11:21:46 +0200 Subject: Add schema creation flag to create_database() --- libcommon/common/common.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libcommon/common/common.hxx') diff --git a/libcommon/common/common.hxx b/libcommon/common/common.hxx index 23e9d80..6ace845 100644 --- a/libcommon/common/common.hxx +++ b/libcommon/common/common.hxx @@ -16,7 +16,10 @@ #include LIBCOMMON_EXPORT std::auto_ptr -create_database (int& argc, char* argv[], std::size_t max_connections = 0); +create_database (int& argc, + char* argv[], + bool create_schema = true, + std::size_t max_connections = 0); // This function returns an accurate result only if the result iterator // hasn't been advanced. -- cgit v1.1