Commit Graph

288 Commits

Author SHA1 Message Date
Eliot Horowitz
024f7daec4 fix some unchecked mallocs SERVER-4228 2011-11-08 09:56:42 -05:00
dwight
58efb8256c uassert likely better and also facilitates user app compileations 2011-11-07 09:55:19 -05:00
Yakov Markovitch
e25062faf5 Use const void* instead of const char* as data parameter of
appendBinData/appendBinDataArrayDeprecated

There is no much sense in explicit conversion of void pointers to
char pointers only to convert them back.
2011-10-22 12:07:43 -04:00
Yakov Markovitch
03dbe74443 Type qualifiers are ignored on function return type.
Prevent compiler from whining.
2011-10-22 12:07:37 -04:00
Yakov Markovitch
6311f3df9f Add missing operator!= for BSONObj and BSONElement classes 2011-10-22 12:07:32 -04:00
gregs
16a811b037 new benchRun additions for shell 2011-10-11 12:18:59 -04:00
gregs
71bfe09686 allow appending elements to BSONObjBuilders 2011-10-04 11:27:41 -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
gregs
898e3ae4e7 return arrays if arrays given SERVER-3661 2011-09-29 12:45:09 -04:00
dwight
c131440f15 comment 2011-09-12 21:47:41 -04:00
Dwight
be1e9a5ab7 comment 2011-09-06 16:21:44 -04:00
Mathias Stearn
4d8cd672bb Don't try to backfill more than 1.5M array elements SERVER-3750 2011-09-01 20:29:22 -04:00
Dwight
48977d2abc merge 2011-08-17 16:55:13 -04:00
Dwight
9ce68d3682 new heuristic for object id btree inserts. 5% faster for best case scenario 2011-08-17 15:00:01 -04:00
Eliot Horowitz
d790a3ec6d change BSONObj::shallowEqual to binaryEqual 2011-08-16 14:19:44 -04:00
Mathias Stearn
f86448f78b Remove superfluous const. Caused warnings on some compilers 2011-08-09 14:00:02 -04:00
Mathias Stearn
e2778cdf78 Use more common (and readable) names for branch prediction hints 2011-08-02 18:50:04 -04:00
Mathias Stearn
a83ddcd22c add prefech for gcc 2011-08-02 18:03:46 -04:00
dwight
96b6b65530 compile 2011-08-02 02:36:39 -04:00
dwight
81fece68e9 prefetch type stuff 2011-08-02 02:36:36 -04:00
Eliot Horowitz
8f27050318 in headers at least put using namespace in mongo namespace SERVER-1268 2011-07-27 09:48:35 -04:00
dwight
bac5bc016f branch prediction gcc 2011-07-11 20:00:54 -04:00
Eliot Horowitz
2750ffbb3c compile 2011-07-11 10:15:20 -04:00
Eliot Horowitz
9547bb5830 line endings 2011-07-11 10:10:50 -04:00
dwight
984dc80a02 prep for some compiler hinting in the future 2011-07-11 09:31:33 -04:00
Dwight
e9170171f9 use new index version on reindex command 2011-07-05 11:39:36 -04:00
dwight
5961cc9ddc SERVER-984 sorting of infinity 2011-07-05 11:17:05 -04:00
dwight
7f37213fc9 bson package tweaking 2011-06-28 01:44:43 -04:00
dwight
23a6515a89 make isValid() const 2011-06-28 00:37:42 -04:00
Dwight
01e780019a one more v1 index fix 2011-06-27 17:45:31 -04:00
dwight
4f87fbb17c move bson method to the right place for libs and include only use of bson 2011-06-27 09:14:55 -04:00
Mathias Stearn
03736f9567 Don't allow manual split-point with different field order SERVER-3080 2011-06-20 19:29:12 -04:00
Dwight
ac1232db80 remove nkeys from Ordering slightly faster 2011-06-16 14:46:27 -04:00
dwight
c38947fe02 signed dates and the shell 2011-06-06 19:53:49 -04:00
dwight
bc9b23b14d towards signed dates 2011-06-06 08:17:55 -04:00
dwight
5dcd98f9be one day it will compile 2011-06-05 18:36:13 -04:00
dwight
ff25eaadae compile 2011-06-05 18:20:43 -04:00
dwight
4d5715086f clean up nonce implementation 2011-06-05 18:13:18 -04:00
dwight
896e10bb8d fix comment 2011-06-05 18:10:46 -04:00
dwight
93b67ef211 move some functions to header as we want bson to be runnable header only 2011-06-05 18:10:07 -04:00
dwight
c7724b405a cleaning 2011-06-05 18:09:14 -04:00
gregs
1cc69e30ad be smarter about the pids we look for when cleaning old locks. 2011-06-03 17:58:26 -04:00
Dwight
5133061a17 prep for signed dates 2011-06-03 14:01:41 -04:00
Aaron
41be5821f3 remove BSONObjSetDefaultOrder and avoid inheriting from stl class 2011-06-02 13:34:26 -04:00
Aaron
70fbe10acf SERVER-480 SERVER-2884 Perform in memory sorts by generating keys suitable for an index 2011-06-02 10:23:32 -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
dwight
04d51756fc comments 2011-05-30 01:16:09 -04:00
Eliot Horowitz
02d431c238 pring 150 characters instead of 80 2011-05-27 20:57:18 -04:00
agirbal
559f103ea0 fix compile 2011-05-25 13:00:48 -07:00