From bbc285ec2375593e0c07ae322168a56542081439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Tue, 12 Jul 2011 16:38:04 +0200 Subject: [PATCH] Bug: DB version was not inserted at bootstrap, oned couldn't start the next time --- src/nebula/Nebula.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nebula/Nebula.cc b/src/nebula/Nebula.cc index ac51bb2200..e5fd6bc7e3 100644 --- a/src/nebula/Nebula.cc +++ b/src/nebula/Nebula.cc @@ -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);