]> source.dussan.org Git - sonarqube.git/commitdiff
Fix bug
authorDavid Gageot <david@gageot.net>
Wed, 4 Jul 2012 14:23:00 +0000 (16:23 +0200)
committerDavid Gageot <david@gageot.net>
Wed, 4 Jul 2012 14:23:07 +0000 (16:23 +0200)
sonar-server/src/main/java/org/sonar/server/database/EmbeddedDatabase.java

index e678f5551ba126693ad66943a34bc4eff2e41b3d..9c1a72659832d2c8c4a352940619f8b0c48f0850 100644 (file)
@@ -59,7 +59,7 @@ public class EmbeddedDatabase {
     try {
       createDatabase(dbHome, user, password);
 
-      Server server = Server.createTcpServer("-tcpPort", port, "-tcpAllowOthers", "-ifExists", "-baseDir", dbHome.getAbsolutePath());
+      server = Server.createTcpServer("-tcpPort", port, "-tcpAllowOthers", "-ifExists", "-baseDir", dbHome.getAbsolutePath());
 
       LOG.info("Starting embedded database on port " + server.getPort());
       server.start();