mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Bug #408: Fix compilation when mysql flag is set to 'no'
This commit is contained in:
parent
27977b913d
commit
7aacd86c3c
@ -126,7 +126,7 @@ public:
|
||||
int port,
|
||||
string user,
|
||||
string password,
|
||||
const char * database)
|
||||
string database)
|
||||
{
|
||||
throw runtime_error("Aborting oned, MySQL support not compiled!");
|
||||
};
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
if (mysql)
|
||||
{
|
||||
db = new MySqlDB( "localhost",0,
|
||||
"oneadmin","oneadmin",NULL);
|
||||
"oneadmin","oneadmin",db_name);
|
||||
|
||||
ostringstream oss1;
|
||||
oss1 << "DROP DATABASE IF EXISTS " << db_name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user