Quorum -> SyncClusterConnection

This commit is contained in:
Eliot Horowitz
2010-01-19 17:36:01 -05:00
parent b0b6a102ce
commit 2ff6749889
4 changed files with 33 additions and 33 deletions

View File

@@ -17,7 +17,7 @@
// hacked in right now from engine_spidermonkey.cpp
#include "../client/quorum.h"
#include "../client/syncclusterconnection.h"
namespace mongo {
@@ -173,7 +173,7 @@ namespace mongo {
}
}
else if ( numCommas == 2 ){
conn.reset( new QuorumConnection( host ) );
conn.reset( new SyncCluterConnection( host ) );
}
else {
JS_ReportError( cx , "1 (paired) or 2(quorum) commas are allowed" );