diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 15:17:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 15:17:37 +0200 |
commit | d5fcf4c978ee0a8c4c6cc926ff02ab9d944f12b8 (patch) | |
tree | 876b3637bffdfdd72b93a5bbcde798942ba3ac8d /libcommon/common/common.cxx | |
parent | b2c0b8afb22134164926d6668e5116cdac115f7d (diff) |
Rename DB_ID_MYSQL to DATABASE_MYSQL
Diffstat (limited to 'libcommon/common/common.cxx')
-rw-r--r-- | libcommon/common/common.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcommon/common/common.cxx b/libcommon/common/common.cxx index 730b8ce..a2a2e64 100644 --- a/libcommon/common/common.cxx +++ b/libcommon/common/common.cxx @@ -10,7 +10,7 @@ # include <common/config.h> #endif -#if defined(DB_ID_MYSQL) +#if defined(DATABASE_MYSQL) # include <odb/mysql/database.hxx> # include <odb/mysql/connection-factory.hxx> #else @@ -30,14 +30,14 @@ create_database (int& argc, char* argv[], size_t max_connections) cerr << "Usage: " << argv[0] << " [options]" << endl << "Options:" << endl; -#if defined(DB_ID_MYSQL) +#if defined(DATABASE_MYSQL) mysql::database::print_usage (cerr); #endif exit (0); } -#if defined(DB_ID_MYSQL) +#if defined(DATABASE_MYSQL) auto_ptr<mysql::connection_factory> f; if (max_connections != 0) |