mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
compile vs2010
This commit is contained in:
parent
3a044ab7e9
commit
e61689c929
@ -437,6 +437,8 @@
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\s\chunk.cpp" />
|
||||
<ClCompile Include="..\s\config.cpp" />
|
||||
<ClCompile Include="..\s\d_migrate.cpp" />
|
||||
<ClCompile Include="..\s\d_split.cpp" />
|
||||
<ClCompile Include="..\s\d_state.cpp" />
|
||||
<ClCompile Include="..\s\d_writeback.cpp" />
|
||||
<ClCompile Include="..\s\shard.cpp" />
|
||||
@ -578,6 +580,7 @@
|
||||
<ClInclude Include="..\client\distlock.h" />
|
||||
<ClInclude Include="..\client\gridfs.h" />
|
||||
<ClInclude Include="..\client\parallel.h" />
|
||||
<ClInclude Include="..\s\d_logic.h" />
|
||||
<ClInclude Include="..\targetver.h" />
|
||||
<ClInclude Include="..\pcre-7.4\config.h" />
|
||||
<ClInclude Include="..\pcre-7.4\pcre.h" />
|
||||
|
@ -373,6 +373,12 @@
|
||||
<ClCompile Include="..\client\distlock.cpp">
|
||||
<Filter>client</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\s\d_migrate.cpp">
|
||||
<Filter>sharding</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\s\d_split.cpp">
|
||||
<Filter>sharding</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="repl\rs_config.h">
|
||||
@ -744,6 +750,9 @@
|
||||
<ClInclude Include="..\client\distlock.h">
|
||||
<Filter>client</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\s\d_logic.h">
|
||||
<Filter>sharding</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Filter Include="libs">
|
||||
|
@ -62,7 +62,7 @@ namespace CursorTests {
|
||||
ASSERT( c.ensureIndex( ns, BSON( "a" << 1 ) ) );
|
||||
}
|
||||
int v[] = { 1, 2, 4, 6 };
|
||||
shared_ptr< FieldRangeVector > frv( vec( v, 4 ) );
|
||||
boost::shared_ptr< FieldRangeVector > frv( vec( v, 4 ) );
|
||||
Client::Context ctx( ns );
|
||||
BtreeCursor c( nsdetails( ns ), 1, nsdetails( ns )->idx(1), frv, 1 );
|
||||
ASSERT_EQUALS( "BtreeCursor a_1 multi", c.toString() );
|
||||
@ -90,7 +90,7 @@ namespace CursorTests {
|
||||
ASSERT( c.ensureIndex( ns, BSON( "a" << 1 ) ) );
|
||||
}
|
||||
int v[] = { -50, 2, 40, 60, 109, 200 };
|
||||
shared_ptr< FieldRangeVector > frv( vec( v, 6 ) );
|
||||
boost::shared_ptr< FieldRangeVector > frv( vec( v, 6 ) );
|
||||
Client::Context ctx( ns );
|
||||
BtreeCursor c( nsdetails( ns ), 1, nsdetails( ns )->idx(1), frv, 1 );
|
||||
ASSERT_EQUALS( "BtreeCursor a_1 multi", c.toString() );
|
||||
@ -116,7 +116,7 @@ namespace CursorTests {
|
||||
ASSERT( c.ensureIndex( ns, BSON( "a" << 1 ) ) );
|
||||
}
|
||||
int v[] = { 1, 2, 4, 6 };
|
||||
shared_ptr< FieldRangeVector > frv( vec( v, 4, -1 ) );
|
||||
boost::shared_ptr< FieldRangeVector > frv( vec( v, 4, -1 ) );
|
||||
Client::Context ctx( ns );
|
||||
BtreeCursor c( nsdetails( ns ), 1, nsdetails( ns )->idx(1), frv, -1 );
|
||||
ASSERT_EQUALS( "BtreeCursor a_1 reverse multi", c.toString() );
|
||||
@ -146,7 +146,7 @@ namespace CursorTests {
|
||||
_c.ensureIndex( ns(), idx() );
|
||||
Client::Context ctx( ns() );
|
||||
FieldRangeSet frs( ns(), spec );
|
||||
shared_ptr< FieldRangeVector > frv( new FieldRangeVector( frs, idx(), direction() ) );
|
||||
boost::shared_ptr< FieldRangeVector > frv( new FieldRangeVector( frs, idx(), direction() ) );
|
||||
BtreeCursor c( nsdetails( ns() ), 1, nsdetails( ns() )->idx( 1 ), frv, direction() );
|
||||
Matcher m( spec );
|
||||
int count = 0;
|
||||
|
@ -539,6 +539,8 @@
|
||||
<ClCompile Include="..\db\matcher.cpp" />
|
||||
<ClCompile Include="..\s\chunk.cpp" />
|
||||
<ClCompile Include="..\s\config.cpp" />
|
||||
<ClCompile Include="..\s\d_migrate.cpp" />
|
||||
<ClCompile Include="..\s\d_split.cpp" />
|
||||
<ClCompile Include="..\s\d_state.cpp" />
|
||||
<ClCompile Include="..\s\d_util.cpp" />
|
||||
<ClCompile Include="..\s\d_writeback.cpp" />
|
||||
|
@ -668,6 +668,12 @@
|
||||
<ClCompile Include="..\client\distlock.cpp">
|
||||
<Filter>client</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\s\d_migrate.cpp">
|
||||
<Filter>db\cpp</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\s\d_split.cpp">
|
||||
<Filter>db\cpp</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\SConstruct">
|
||||
|
Loading…
Reference in New Issue
Block a user