dwight
2930d6f2ed
clarify name
2011-12-03 08:51:32 -05:00
Eliot Horowitz
e60017cd86
compile
2011-10-04 10:06:47 -04:00
dwight
18737bcb6d
dont compile mutexdebugger on release builds; compile
2011-10-03 22:31:33 -04:00
Dwight
9f93f2ec55
rwlock refactoring
2011-10-03 14:32:27 -04:00
Dwight
ae30374ed8
Merge branch 'master' of github.com:mongodb/mongo
...
Conflicts:
db/btree.cpp
db/db.vcxproj
dbtests/test.vcxproj
server.h
util/concurrency/rwlock.h
util/concurrency/value.h
2011-10-03 13:43:34 -04:00
Eliot Horowitz
870c9906fc
make test more reliable
2011-09-09 13:44:16 -04:00
Dwight
a739d964f9
SERVER-3717 related test
2011-09-06 16:23:19 -04:00
dwight
210e12a17a
SERVER-3760 fix memcmp to now potentially go to far on one of the input arrays.
...
in addition fix a case where compare order of bindata types, when subtype and len, were in consistent
with BSONObj's compare. this ordering is somewhat arbitrary but must be consistent.
2011-09-06 11:58:17 -04:00
dwight
53a69ce6c9
SERVER-3505 bindata in v1 indexes > 32 bytes fix
2011-08-04 19:01:49 -04:00
dwight
aacc4d5f8a
compile
2011-07-05 11:14:09 -04:00
dwight
5961cc9ddc
SERVER-984 sorting of infinity
2011-07-05 11:17:05 -04:00
dwight
5c83a738e0
copule more key tests
2011-07-01 12:39:50 -04:00
Aaron
4de924a3d9
SERVER-3222 min and max for type cleaning and fixes
2011-06-21 10:51:14 -07:00
Dwight
14711f4ef1
use legacy compare for legacy index building
2011-06-16 16:35:07 -04:00
dwight
6ff53f162e
minor
2011-06-06 18:38:30 -04:00
dwight
bc9b23b14d
towards signed dates
2011-06-06 08:17:55 -04:00
Eliot Horowitz
89887b2145
compile
2011-06-01 15:47:52 -04:00
Dwight
e104e01f84
use memcmp, not strcmp for comparing BSON strings
2011-06-01 14:57:40 -04:00
dwight
600f2eef36
SERVER-2935 fix woEqual which wasnt equalling ints and doubles
2011-06-01 09:35:42 -04:00
Eliot Horowitz
dbbb069e06
more compile fixes
2011-05-27 01:06:43 -04:00
dwight
7728a0a6e4
log less
2011-05-25 16:13:47 -04:00
dwight
8a0660ac31
use firstElementFieldName()
2011-05-23 20:03:19 -04:00
dwight
d5d8854eff
test signed dates with Key
2011-05-15 11:10:38 -04:00
dwight
e7b06caec2
make Key::woEqual about 50% faster
2011-05-14 22:30:18 -04:00
dwight
f3cfb889da
check we are in writelock on optime::now. also tune it a bit
2011-05-14 20:16:24 -04:00
dwight
ebbc72f17c
set totalsize in bsonelement() if eoo element
2011-05-11 10:28:28 -04:00
dwight
871d923401
StackBufBuilder
2011-05-10 12:40:01 -04:00
Dwight
1bce317d2c
add BinData to the Key class
2011-05-05 14:09:07 -04:00
Dwight
a6cceefeb7
versions for btree. checkpointing so far
2011-04-20 15:45:32 -04:00
Dwight
ede44430d1
compact index keys fix encoding for traditional encoding of complex ones
2011-04-20 12:07:08 -04:00
dwight
6b6dd6e45d
new test
2011-04-20 09:23:39 -04:00
Dwight
4f2f00bba0
indexkey support strings with zeros. more work to do
2011-04-19 13:36:21 -04:00
Dwight
bab2182780
index key class KeyV1 close to done
2011-04-12 17:09:08 -04:00
Dwight
7c986e6432
indexkey work
2011-04-11 18:21:48 -04:00
Mathias Stearn
244b162111
Use intrusive_ptr rather than shared_ptr for BSONObj
...
Advantages:
* Owned BSONObj now uses 1 heap allocation rather than 3
* sizeof(BSONObj) is now 16 rather than 24 (on 64 bit)
* perftest bson shows it to be much faster
Change in BSONObj constructor API for owned case to make sure old code gets
updated to allocate room for the ref count. Anyone using BSONObjBuilder doesn't
need to worry about this change.
2011-04-03 20:50:45 -04:00
Eliot Horowitz
00d67d07a9
some tests for getFieldDotted
2011-01-17 15:32:40 -05:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Eliot Horowitz
aed49ae715
fix case where the same element is in $each part of $addToSet SERVER-2249
2010-12-19 01:36:41 -05:00
Alberto Lerner
dce215638a
BSON( min << MINKEY << max << MAXKEY) is handy
2010-11-23 11:28:49 -05:00
Alberto Lerner
b82faa5421
eliminate duplicate test cases, merge left-over?
2010-11-23 11:17:45 -05:00
Aaron
78044d147a
SERVER-1917 don't allow returning new element with appendAs
2010-10-10 15:09:40 -07:00
Aaron
75351ec80f
bsonobjbuilder change appendAs interface
2010-10-01 17:42:35 -07:00
Eliot Horowitz
0b975c9734
turn off test that is different on windows
2010-08-09 00:28:06 -04:00
Eliot Horowitz
9dd3b21002
make BSONElement::toString 20x faster for double
2010-08-08 23:39:09 -04:00
Eliot Horowitz
9c95e894ee
use checksum to make curop threadsafe SERVER-723
2010-07-29 01:08:20 -04:00
Eliot Horowitz
d3d978a601
remove assert that isn't always valid
2010-07-26 17:03:14 -04:00
Eliot Horowitz
87d7c92d6b
test
2010-07-26 16:25:23 -04:00
Alberto Lerner
1d83bd2e99
SERVER-1269 TODO
2010-07-22 21:19:59 -04:00
Eliot Horowitz
9bc4aea8ba
operator < > <= >= for BSONObj
2010-07-20 23:16:48 -04:00
Alberto Lerner
0370c1858e
Adjust test case
2010-07-19 19:06:41 -04:00