Browse Source

[trac657] Revert "[trac657] Remove nop operation"

This reverts commit 3407184a20c367a0de02b41befb4db16971c9589.

This is not nop, and is necessary for the default sqlite3 data source
in the "from source" mode.
JINMEI Tatuya 14 years ago
parent
commit
b9d341ecd3
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/bin/auth/main.cc

+ 5 - 0
src/bin/auth/main.cc

@@ -176,8 +176,13 @@ main(int argc, char* argv[]) {
         auth_server->setXfrinSession(xfrin_session);
         auth_server->setStatisticsSession(statistics_session);
 
+        // Configure the server.  configureAuthServer() is expected to install
+        // all initial configurations, but as a short term workaround we
+        // handle the traditional "database_file" setup by directly calling
+        // updateConfig().
         auth_server->setConfigSession(config_session);
         configureAuthServer(*auth_server, config_session->getFullConfig());
+        auth_server->updateConfig(ElementPtr());
 
         cout << "[b10-auth] Server started." << endl;
         io_service.run();