Revision 0c8299f1 src/nebula/Nebula.cc

View differences:

src/nebula/Nebula.cc
292 292
            db_backend = new MySqlDB(server, port, user, passwd, db_name);
293 293
        }
294 294

  
295
        if ( logdb->bootstrap(db_backend) != 0 )
296
        {
297
            throw runtime_error("Error bootstrapping database.");
298
        }
299

  
295 300
        logdb = new LogDB(db_backend);
296 301

  
297 302
        // ---------------------------------------------------------------------
......
333 338
            rc += SecurityGroupPool::bootstrap(logdb);
334 339
            rc += VirtualRouterPool::bootstrap(logdb);
335 340
            rc += VMGroupPool::bootstrap(logdb);
336
            rc += logdb->bootstrap();
337 341

  
338 342
            // Create the system tables only if bootstrap went well
339 343
            if (rc == 0)

Also available in: Unified diff