Commit Graph

66 Commits

Author SHA1 Message Date
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
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
Eliot Horowitz
da08edb63d tests and minor fixes for SERVER-181 and SERVER-273 2009-12-18 17:28:36 -05:00
Eliot Horowitz
6487373835 fix test locking 2009-12-06 11:18:35 -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
5d8ca55f47 some more helpers for querying 2009-12-03 17:11:24 -05:00
Mathias Stearn
31a82b3034 Loosen test because capped collection size isn't exact 2009-11-30 17:05:31 -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
Eliot Horowitz
fcbca1e707 field selector no longer effects which objects are returned
SERVER-362
2009-10-19 12:14:20 -04:00
Dwight
16f8b77c5e move the var 'database' inside Client object 2009-10-14 14:34:38 -04:00
Eliot Horowitz
ab1f46de2c fix bug with cursors and capped collections where cursor could get partial data 2009-10-13 16:44:52 -04:00
Eliot Horowitz
0ca301655e arrays match themselves in queryies SERVER-146 2009-10-09 10:12:19 -04:00
unknown
7153023470 win pre-compild headers 2009-09-30 14:32:17 -04:00
Mike Dirolf
a2261b1eb6 minor: specify mongo namespace to avoid clash on windows 2009-09-18 14:26:15 -04:00
Mike Dirolf
53e89efce6 minor: whitespace 2009-09-18 14:25:23 -04:00
Eliot Horowitz
34e48aaf5d new unit test framework 2009-09-17 17:23:38 -04:00
Eliot Horowitz
08fcfcb34c use canonicalType in a couple more places - make symbol test work 2009-08-27 10:19:58 -04:00
Eliot Horowitz
5a732ac0e2 symbol test not working yet 2009-08-27 09:41:56 -04:00
Eliot Horowitz
360dc900a0 test for broken indexing thing - doesn't assert - just prints 2009-08-25 02:24:27 -04:00
Eliot Horowitz
f6aebb421f update tests to match array matching change MINOR 2009-07-17 16:02:25 -04:00
Eliot Horowitz
5eb08a4478 change min/max to minKey maxKey 2009-05-22 15:05:13 -04:00
Aaron
9d44b312f0 BUG SERVER-59 when matching expand arrays recursively if contained in different objects 2009-05-21 13:24:14 -04:00
Aaron
f80d887a78 BUG SERVER-58 fix embedded array matching 2009-05-20 10:54:23 -04:00
Aaron
b7182b610a reset shared database after each test suite MINOR 2009-05-12 16:37:23 -04:00
Aaron
d9129f8cb2 unit tests use same database to reduce disk usage 2009-05-12 15:58:26 -04:00
Aaron
6ebf10766c fix compile warning MINOR 2009-05-08 15:54:26 -07:00
Aaron
fb0746fda6 generate simplified key to match query with simple bounds 2009-05-08 15:42:50 -07:00
Aaron
d42d6b340c make $max query parameter an exclusive bound 2009-05-06 14:02:44 -04:00
Aaron
6ea9c81aa3 DBDirectClient uses main db mutex recursively and preserves database context 2009-05-06 11:32:48 -04:00
Aaron
a229845ceb more flexibility and sanity checks for min/max query specs 2009-04-30 17:36:25 -04:00
Aaron
af59c4ea9e core implementation of min/max query parameters 2009-04-30 16:25:36 -04:00
Aaron
6a2329b040 don't allow matching an array directly with standard operators 2009-04-27 14:43:05 -04:00
Aaron
b9617339d4 BUG SERVER-29 matcher access objects in arrays correctly 2009-04-22 14:11:53 -04:00
Aaron
b1cc3f6223 add _id index automatically, don't allow it to be deleted 2009-04-20 18:40:38 -04:00
Aaron
80847b561c add unique option when creating index in c++, js drivers; basic unique key unit tests 2009-04-20 13:51:54 -04:00
Aaron
ee6ef61ca4 clear index cache in c++ client on dropping collection / database 2009-04-16 11:27:10 -04:00
Aaron
ce293a0452 ne applies to all multikey values, adjust 'size' and 'all' behavior for objects within arrays 2009-04-13 16:40:30 -04:00
Aaron
de3b76ff45 check multi ne behavior MINOR 2009-04-13 11:40:31 -04:00
Aaron
495eaa8093 empty field spec same as missing field spec for queries 2009-04-08 14:01:48 -04:00
Aaron
94e12ec06b c++ test for collection name beginning with underscore MINOR 2009-04-08 10:45:51 -04:00
Aaron
56f8696909 don't allow _id to be an array 2009-04-07 11:02:29 -04:00
Aaron
57288fe0b2 fix compiler warning 2009-04-06 15:19:30 -04:00
Aaron
09a327160b add basic count test, in preparation for smarter count code coming after we cut branch 2009-04-06 15:07:20 -04:00
Aaron
7e86cd69f3 Move update related tests to separate file 2009-03-23 18:32:05 -04:00
Aaron
6b9abc6144 mods on missing embedded objects checkpoint 2009-03-23 18:21:07 -04:00