0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

714 Commits

Author SHA1 Message Date
Eliot Horowitz
d3f132a13e Merge branch 'master' of git@github.com:mongodb/mongo 2010-03-01 17:14:36 -05:00
Eliot Horowitz
dc29dbbb7c appendNumber for nicer numbers in the shell 2010-03-01 17:14:23 -05:00
Aaron
0de2e2e29f merge 2010-03-01 13:56:13 -08:00
Aaron
ee47bb3c12 SERVER-677 number long floatApprox v8 2010-03-01 10:36:40 -08:00
Aaron
218036b2a4 SERVER-580 add putBack() to db client cursor 2010-03-01 10:07:01 -08:00
Aaron
89f3e6d65b SERVER-677 add floatApprox sm 2010-03-01 09:26:35 -08:00
Eliot Horowitz
6ac50f8e9e fix BSONElementCmpWithoutField and therefore BSONElementSet 2010-02-27 21:53:28 -05:00
Mathias Stearn
11c49cb195 nToReturn is now a limit in C++ driver SERVER-537 2010-02-26 22:40:50 -05:00
Eliot Horowitz
53ada27743 added simple speed test 2010-02-26 13:44:03 -05:00
Eliot Horowitz
c3f07f3be0 some missing operators 2010-02-26 12:07:46 -05:00
Aaron
478bad6685 merge 2010-02-25 23:14:30 -08:00
Aaron
12544983bc SERVER-680 fix issues with --only mode 2010-02-25 23:06:37 -08:00
Mathias Stearn
621686366d Can use index for all regex queries SERVER-672 2010-02-25 22:19:18 -05:00
Dwight
a61c72881e fix a couple things in vcproj for release builds 2010-02-23 13:10:09 -05:00
Dwight
c23e098ecd vcproj compile windows 2010-02-23 11:44:10 -05:00
Eliot Horowitz
5383659f5e use re-usable fast array for sorting in memory
30-70% faster SERVER-651
2010-02-20 16:35:26 -05:00
Aaron
56150cc727 SERVER-305 shell kills in progress operations on clean exit 2010-02-17 17:06:54 -08:00
Aaron
1c55567e76 Merge branch 'master' of github.com:mongodb/mongo 2010-02-17 12:42:30 -08:00
Mike Dirolf
60391897f3 failing test case for tailable cursor w/ _id query SERVER-645 2010-02-17 15:14:46 -05:00
Aaron
0ffefe9bc0 SERVER-612 informal dbref for sm 2010-02-17 11:59:35 -08:00
Eliot Horowitz
62aad0ee18 refactoring runQuery / UserQueryOp part 1 2010-02-15 22:33:27 -05:00
Dwight Merriman
d28bcd5876 attempted fixup of js.lib path in vcproj 2010-02-12 12:19:33 -05:00
Richard Kreuter
b96e4b2976 Add license headers to .cpp & .h files that lacked them. MINOR 2010-02-09 16:48:21 -05:00
Eliot Horowitz
c037f21674 move some replication settings into ReplicationSettings 2010-02-08 21:04:09 -05:00
Aaron
94116f7c6d CS-10 prevent assertion by making sure btree builder enforces >= 1 key per bucket invariant 2010-02-08 16:23:48 -08:00
Dwight
476f0427b6 compile vcproj 2010-02-08 11:29:49 -05:00
Dwight
a84fc5843a rename storage.h -> diskloc.h 2010-02-04 18:06:04 -05:00
Eliot Horowitz
08d0a95688 fix qo test 2010-02-04 16:53:34 -05:00
Eliot Horowitz
b2584c1222 CurOp fix 2010-02-04 16:33:19 -05:00
Dwight
2a9163d3e3 compile windows vcproj 2010-02-03 15:31:48 -05:00
Mathias Stearn
a733d58f95 fix logic error in appendIntOrLL 2010-02-02 21:34:21 -05:00
Aaron
1b251ab297 SERVER-595 add test 2010-02-02 12:38:48 -08:00
Eliot Horowitz
afa43dc8cd get rid of setClient - all Database storage is in Client::Context 2010-01-29 17:22:34 -05:00
Mathias Stearn
deb05df864 BSONObjBuilder::asTempObj() for peeking at state 2010-01-28 14:40:45 -05:00
Dwight
af8d9e7071 compile vcproj 2010-01-28 13:44:47 -05:00
Eliot Horowitz
47b67b74b4 fix $inc with doubles 2010-01-26 11:54:45 -05:00
Eliot Horowitz
81001819be better debugging for invalid objects 2010-01-26 10:03:30 -05:00
Mathias Stearn
70b7968668 Pulling atomic functionality from WrappingInt to AtomicUInt. More atomic functions. 2010-01-25 19:33:10 -05:00
Aaron
e6f4d0dffd Merge branch 'master' of github.com:mongodb/mongo 2010-01-25 16:17:33 -08:00
Aaron
6a53bfcd3e SERVER-256 BinData construction and base64 string rep in v8 shell 2010-01-25 16:11:39 -08:00
Aaron
826cd391e0 SERVER-256 allow BinData construction in sm shell 2010-01-25 15:45:53 -08:00
Eliot Horowitz
0e7d5c6d01 refactor update so Mod and ModSet are re-usable. design is clean - still more cleaning to be done and some speed checking
single updates are 5% slower, multi-updates are 2.5x faster
2010-01-25 17:23:37 -05:00
Aaron
769029d7c8 SERVER-256 fix BinData byte alignment issue and add base64 representation to toString() output 2010-01-25 14:07:02 -08:00
Eliot Horowitz
b16a83769d another idempotence test 2010-01-25 16:17:44 -05:00
Eliot Horowitz
3c527d8c43 ModSet cleaning 2010-01-21 12:29:18 -05:00
Aaron
fb093990ac SREVER-357 NumberLong support in v8 engine 2010-01-20 16:21:19 -08:00
Aaron
b147ccf752 SERVER-357 NumberLong class for sm 2010-01-20 15:02:46 -08:00
Dwight
8f93c4e6f2 vcproj 2010-01-20 14:39:57 -05:00
Dwight
8025069091 Merge branch 'master' of git@github.com:mongodb/mongo 2010-01-20 14:35:10 -05:00
Dwight
0a3f5af2c3 fix vcproj; typo 2010-01-20 14:34:53 -05:00
Eliot Horowitz
ea6189d491 some command cleaning 2010-01-20 14:02:14 -05:00
Mathias Stearn
9cde296ca6 Support more escapes in JSON strings SERVER-552 2010-01-20 13:42:39 -05:00
Eliot Horowitz
b617df5a1a $set doesn't convert from int to other types SERVER-555 2010-01-20 09:53:19 -05:00
Dwight
91637c8e9b Merge branch 'master' of git@github.com:mongodb/mongo 2010-01-19 11:05:37 -05:00
Dwight
d8e9164616 rename Matcher class 2010-01-19 11:04:52 -05:00
Eliot Horowitz
14a0217520 jsonString supports timestamp 2010-01-19 10:16:45 -05:00
Dwight
0591a5b96a compile vcproj 2010-01-18 11:06:10 -05:00
Eliot Horowitz
c93766e975 test/check since i want to be able to rely on this assert behavior 2010-01-16 17:34:44 -05:00
Eliot Horowitz
6830dd0dd0 BSONObj::okForStorage - just checks for $ and . for 2010-01-16 11:08:32 -05:00
Eliot Horowitz
cd7148702b jsonString handles Code SERVER-406 2010-01-16 10:39:51 -05:00
Dwight
cf91f7211a Merge branch 'master' of git@github.com:mongodb/mongo 2010-01-15 16:05:39 -05:00
Dwight
2628d0213a refactor and clean up some index building code
no longer allow two indexes with same key pattern (with diff names)
2010-01-15 16:05:14 -05:00
Eliot Horowitz
72cb9c4832 fix unit test - but may go away anyway 2010-01-15 14:17:01 -05:00
Dwight
94ed98667f make buildindex interruptable 2010-01-15 13:19:35 -05:00
Dwight
1eeef29902 compile vcproj 2010-01-15 11:48:42 -05:00
Dwight
68e9f42e4b compile vcproj windows 2010-01-15 11:44:06 -05:00
Mathias Stearn
6ed57e7166 Use index for {$regex: "^foo"} queries 2010-01-14 23:24:22 -05:00
Eliot Horowitz
eab3b5f06e use nanosleep on *nix rather than boost, trying to fix os x issue SERVER-539 2010-01-14 15:35:29 -05:00
Eliot Horowitz
1d5186004c windows MINOR 2010-01-14 10:42:55 -05:00
Eliot Horowitz
8b50f1ce38 some sharding internal tests 2010-01-14 10:37:03 -05:00
Aaron
cf3b8f2468 SERVER-531 refactor code for not influencing lastError 2010-01-12 15:33:29 -08:00
Dwight
7d26553061 a little code cleanup / renameing 2010-01-03 16:37:38 -05:00
Dwight
e21bb90572 compile 2009-12-31 16:26:26 -05:00
Mathias Stearn
692b618d7d JSON parser supports 'new Date(1234)' SERVER-461 2009-12-30 17:56:44 -05:00
Dwight
b88f54e219 compile windows (vcproj) 2009-12-30 11:59:54 -05:00
Aaron
13533a68a8 Merge branch 'master' of github.com:mongodb/mongo 2009-12-29 20:53:40 -08:00
Eliot Horowitz
9e96ad0a07 fix unit test 2009-12-29 23:50:45 -05:00
Aaron
bf9e214caf Merge branch 'master' of github.com:mongodb/mongo 2009-12-29 20:01:43 -08:00
Aaron
8573d53da7 SERVER-470 MINOR abstract shell init functionality so v8_utils need not link with shell 2009-12-29 18:27:49 -08:00
Eliot Horowitz
e610aaddca 32-bit fix 2009-12-29 21:26:55 -05:00
Eliot Horowitz
ac84841e63 first checking of simple/fast resettable StringBuilder 2009-12-29 17:32:31 -05:00
Aaron
f0e2ccae3d MINOR merge and add exception codes 2009-12-29 11:32:09 -08:00
Aaron
91362b9e35 SERVER-446 use v8's raii objects correctly per documentation 2009-12-29 11:04:00 -08:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
e19c177dec fix $bit test 2009-12-24 13:11:10 -05:00
Eliot Horowitz
e1a4c3f0af test that doesn't work yet for $bit - commented out 2009-12-23 16:00:04 -05:00
Dwight
15535d0906 compile windows / vcproj 2009-12-22 16:42:49 -05:00
Mathias Stearn
a871f11644 Thread pool 2009-12-22 12:15:52 -05:00
Eliot Horowitz
62a4aef8fd start work on bit operators SERVER-503
only ugly syntax works and not idempotent yet
2009-12-21 17:32:01 -05:00
Eliot Horowitz
c32fbf2b0f some update c++ unit tests 2009-12-21 15:56:56 -05:00
Dwight
65ae020708 QueryMessage was being instantiated twice on every query - fixed. 2009-12-21 14:22:23 -05:00
Dwight
8a1cecd76e fix cpp unit tests were failing on windows _DEBUG build 2009-12-21 14:08:13 -05:00
Aaron
83d4e4f2e1 MINOR fix warning 2009-12-21 10:17:21 -08:00
Aaron
499cb647b6 SERVER-446 MINOR enhance BinData round trip test to check data strings containing null bytes 2009-12-21 09:57:04 -08:00
Eliot Horowitz
773c59c53c update unit test 2009-12-18 17:39:02 -05:00
Eliot Horowitz
da08edb63d tests and minor fixes for SERVER-181 and SERVER-273 2009-12-18 17:28:36 -05:00
Eliot Horowitz
a71ff07701 BSONObjIteratorSorted - sorted iterator for bson obj that is sorted by field name 2009-12-18 01:50:43 -05:00
Dwight
7ac119e062 build vis studio 2009-12-17 16:18:00 -05:00
Aaron
15971b9ad9 SERVER-446 test that BinData js object is being used 2009-12-16 18:37:31 -08:00
Aaron
643ad02d77 SERVER-446 add DBPointer to v8 2009-12-16 16:50:36 -08:00
Aaron
78a9e77c33 SERVER-446 don't attempt to write protect arrays in v8 2009-12-16 14:49:22 -08:00
Aaron
ec440eda85 Merge branch 'master' of github.com:mongodb/mongo 2009-12-16 11:43:40 -08:00
Mathias Stearn
ee53e7ec8b MVar synchronization primitive 2009-12-16 14:38:05 -05:00
Aaron
7c13d80f1c MINOR comments 2009-12-16 10:37:29 -08:00
Aaron
b9ddc3e9ef SERVER-446 v8 round trip array support 2009-12-16 09:31:56 -08:00
Aaron
df1867b3a7 MINOR array js round trip test 2009-12-15 18:03:29 -08:00
Aaron
bec620a87a SERVER-446 simple int/double differentiation 2009-12-15 17:40:53 -08:00
Aaron
8add9a17b9 SERVER-446 implement readOnly mode in v8 engine 2009-12-15 15:52:41 -08:00
Aaron
a6e2b4a605 MINOR enhanced read only js tests 2009-12-15 11:22:19 -08:00
Eliot Horowitz
03da5382fb removed old update code 2009-12-10 17:02:47 -05:00
Eliot Horowitz
341cd83dd1 finish + switch to simpler+cleaner new object from mod code 2009-12-10 16:38:47 -05:00
Eliot Horowitz
4119148e97 almost all operators done on recursive update version 2009-12-10 15:59:09 -05:00
Eliot Horowitz
9bf50a42e3 more update cleaning 2009-12-10 14:29:14 -05:00
Dwight
4390797b88 make query optimizer map thread-safe 2009-12-09 18:13:36 -05:00
Dwight
f9184738d3 more renaming 2009-12-09 16:57:53 -05:00
Mathias Stearn
dcf3a10eea Start using Date_t. Can anyone think of a better name? 2009-12-09 12:00:17 -05:00
Eliot Horowitz
d672078581 update re-write almost done, faster and cleaner 2009-12-08 17:00:25 -05:00
Eliot Horowitz
03b5ae2078 some update refactoring so can test ModSet directly 2009-12-07 23:41:58 -05:00
Eliot Horowitz
6487373835 fix test locking 2009-12-06 11:18:35 -05:00
Eliot Horowitz
a2b7ab3e2e 32-bit compile 2009-12-05 22:19:03 -05:00
Eliot Horowitz
a208f7991f a date test 2009-12-05 21:19:52 -05:00
Dwight
edfa5eca01 wrap dbtests with a big dblcok - now passes 2009-12-04 12:50:53 -05:00
Eliot Horowitz
2aec9ea61d moving towards direct access from DBDirectClient rather than through message layer
not finished
2009-12-04 01:25:50 -05:00
Eliot Horowitz
31445b9fe0 fix dbtest framework output 2009-12-04 00:17:14 -05:00
Eliot Horowitz
5d8ca55f47 some more helpers for querying 2009-12-03 17:11:24 -05:00
Mathias Stearn
7581e97181 fix for windows 2009-12-03 14:46:29 -05:00
Mathias Stearn
58f7052028 Better formating for dbtests 2009-12-03 14:31:23 -05:00
Dwight
e8cb0b90f8 add new test to dbtests in vcproj 2009-12-03 12:09:11 -05:00
Mathias Stearn
04c6bf7241 Fix for boost 1.33 2009-12-02 15:28:28 -05:00
Mathias Stearn
c58d0d3123 Test for atomicIncrement() and ThreadedTest helper 2009-12-02 14:33:06 -05:00
Mathias Stearn
31a82b3034 Loosen test because capped collection size isn't exact 2009-11-30 17:05:31 -05:00
Mathias Stearn
ce036039e6 JSON parser now creates ints and longs SERVER-309 2009-11-30 17:05:31 -05:00
Eliot Horowitz
47a01f2bfe better debugging 2009-11-30 15:10:23 -05:00
Dwight
25bb636eb4 some initial visual studio 2010 support 2009-11-30 12:09:39 -05:00
Eliot Horowitz
e8193c5df2 forgot a test 2009-11-25 14:35:30 -05:00
Eliot Horowitz
3b724c73ad use Helpers::findById for simpel _id lookups 2009-11-25 12:41:13 -05:00
Eliot Horowitz
eed27626b8 some btree helpers and test 2009-11-25 10:09:59 -05:00
Dwight
560185f6f1 fix seg fault on windows because of static initializier order 2009-11-18 14:22:00 -05:00
Eliot Horowitz
5946dbf445 32-bit fix 2009-11-13 21:19:38 -05:00
Eliot Horowitz
ca785a0400 BDONObjBuilder::apendAsNumber
better fix for SERVER-423
2009-11-13 21:07:15 -05:00
Mike Dirolf
86b713fdff minor: oops - fix for broken tests 2009-11-10 17:49:47 -05:00
Mike Dirolf
bb2e504105 use instead of for strict JSON DBRef encoding - more consistent 2009-11-10 17:28:51 -05:00
Mathias Stearn
44498641ea BSON_ARRAY macro 2009-11-05 13:34:14 -05:00
Mathias Stearn
e863bb68d6 BSONArray class 2009-11-05 13:34:14 -05:00
Mathias Stearn
1ce5f2707b BSONArrayBuilder class 2009-11-05 13:34:14 -05:00
Mathias Stearn
1acf77ce0c Add nested-dotted converters for BSONObj 2009-11-02 13:32:20 -05:00
Eliot Horowitz
39645a2739 removing dead code 2009-11-02 11:00:49 -05:00
Eliot Horowitz
2dcaea56d3 windows compile MINOR 2009-10-29 12:06:16 -04:00
Eliot Horowitz
a770c37bd8 test for increasing OIDs 2009-10-29 11:58:32 -04:00
Eliot Horowitz
e8466f3dc5 flag to update multiple objects with $ operators SERVER-268 2009-10-21 22:54:11 -04:00