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:
parent
e297233b69
commit
bbc285ec23
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user