1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

Bug: DB version was not inserted at bootstrap, oned couldn't start the next time

This commit is contained in:
Carlos Martín 2011-07-12 16:38:04 +02:00
parent e297233b69
commit bbc285ec23

View File

@ -641,7 +641,7 @@ void Nebula::bootstrap()
oss.str("");
oss << "INSERT INTO db_versioning (oid, version, timestamp, comment) "
<< "VALUES (0, " << db_version() << ", " << time(0)
<< "VALUES (0, '" << db_version() << "', " << time(0)
<< ", '" << version() << " daemon bootstrap')";
db->exec(oss);