diff options
Diffstat (limited to 'test/testdb-mysql.cpp')
-rw-r--r-- | test/testdb-mysql.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/testdb-mysql.cpp b/test/testdb-mysql.cpp index 4b6c62e..17bc241 100644 --- a/test/testdb-mysql.cpp +++ b/test/testdb-mysql.cpp @@ -6,10 +6,10 @@ namespace MyGrate { namespace Testing { - const auto SERVER {MyGrate::getenv("MYGRATE_MYSQL_SERVER", "localhost")}; - const auto USER {MyGrate::getenv("MYGRATE_MYSQL_USER", ::getenv("LOGNAME"))}; - const auto PASSWORD {::getenv("MYGRATE_MYSQL_PASSWORD")}; - const auto PORT {(unsigned short)std::atoi(MyGrate::getenv("MYGRATE_MYSQL_PORT", "3306"))}; + const char * const MySQLDB::SERVER {MyGrate::getenv("MYGRATE_MYSQL_SERVER", "localhost")}; + const char * const MySQLDB::USER {MyGrate::getenv("MYGRATE_MYSQL_USER", ::getenv("LOGNAME"))}; + const char * const MySQLDB::PASSWORD {::getenv("MYGRATE_MYSQL_PASSWORD")}; + const unsigned short MySQLDB::PORT {(unsigned short)std::atoi(MyGrate::getenv("MYGRATE_MYSQL_PORT", "3306"))}; std::size_t MySQLDB::mocknum; MySQLDB::MySQLDB() : |