Commit Graph

58 Commits

Author SHA1 Message Date
Eliot Horowitz
6746cd2493 get rid of Option_ALLFLAGS 2009-07-29 11:16:33 -04:00
Dwight
b4f0a2c1fb fix broken test file from last commit 2009-07-07 14:12:53 -04:00
Eliot Horowitz
7bb37b3fd2 fix $(gl)te? scanning for numeric indexes SERVER-99 2009-07-06 10:42:22 -04:00
Aaron
11baa3226f fix tests MINOR 2009-05-26 15:58:32 -04:00
Aaron
5700a5040d include query fields generating trivial bounds in exact key match check 2009-05-13 18:09:25 -04:00
Aaron
68b1edd0b0 for exact key match, query and index fields must be identical sets 2009-05-13 11:27:47 -04:00
Aaron
b9a2a82837 get rid of unused 'keyMatch' annotation in query optimizer 2009-05-13 11:17:24 -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
6ea9c81aa3 DBDirectClient uses main db mutex recursively and preserves database context 2009-05-06 11:32:48 -04:00
Aaron
7f6d4af088 update test MINOR 2009-04-24 18:19:40 -04:00
Aaron
bd078cd876 add 'unique' option to helpers' ensureIndex 2009-04-24 11:36:42 -04:00
Aaron
54f806da95 don't update id index when id field is to be added 2009-04-21 17:01:33 -04:00
Aaron
eb5fa5c7d8 add index id in userCreateNS, unless this is not requested in create spec 2009-04-21 15:42:22 -04:00
Aaron
7d85516931 fix interpretation of non numberic index direction spec 2009-04-20 18:17:52 -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
26bddf1ef8 log separate op for each deleted object 2009-04-09 13:30:28 -04:00
Aaron
6458658240 add numberic comparison test MINOR 2009-04-06 17:45:29 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Aaron
2ba030abe0 Move index cache to NamespaceDetailsTransient 2009-03-03 17:30:26 -05:00
Aaron
9ba067542d Set exclusive for regex upper bound, add some tests 2009-02-27 11:48:39 -05:00
Aaron
4487004dac FieldBoundSet handles inclusive / exclusive bounds 2009-02-27 11:22:12 -05:00
Aaron
4d3100a66d More accurate nScanned recording with plan 2009-02-26 15:09:44 -05:00
Aaron
4eae90b0a6 Start using order with pattern in optimizer 2009-02-26 11:33:23 -05:00
Aaron
ddb69bda2e Add normalized sort spec to query pattern 2009-02-26 11:13:36 -05:00
Aaron
851e5545a1 Since we're now using iterative interleaving rather than threads, don't do a table scan if an optimal index is found 2009-02-26 10:44:19 -05:00
Aaron
5656a475db If plan not doing as well as before, start using other plans too 2009-02-25 19:22:54 -05:00
Aaron
707b932df4 Delete tests 2009-02-25 16:37:12 -05:00
Aaron
181a200309 findOne fix 2009-02-25 15:59:01 -05:00
Aaron
df4bf72f3d Don't use where spec for bounds 2009-02-25 11:33:03 -05:00
Aaron
222ea643ad Runner improvements 2009-02-25 10:48:41 -05:00
Aaron
9722627a02 Cleaner 2009-02-25 10:06:56 -05:00
Aaron
1f67174066 Uncomment lines 2009-02-24 18:32:08 -05:00
Aaron
b1341cf000 Recording plan configurable 2009-02-24 18:23:11 -05:00
Aaron
17b7897f19 Remember best index for query pattern 2009-02-24 17:48:06 -05:00
Aaron
4a4b0fe482 Better error detection 2009-02-24 15:45:18 -05:00
Aaron
1517e4ede3 Add QueryPattern 2009-02-24 15:20:29 -05:00
Aaron
b257287672 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-24 14:15:37 -05:00
Aaron
4e549f1f3c More tests for 'unhelpful' plans 2009-02-24 14:15:17 -05:00
Aaron
a0920c525c Another simplifiedQuery test case; FBS stores result 2009-02-24 14:09:12 -05:00
Aaron
c969a3c4b4 Merge 2009-02-24 13:38:17 -05:00
Aaron
a744fbf06f field bound set simplified query 2009-02-24 13:36:37 -05:00
Aaron
2bdd6b2d34 Test exception handling 2009-02-24 12:16:07 -05:00
Aaron
a7eb50116c Manually interleve query optimizer's plans rather than running each plan in a new thread 2009-02-24 11:49:55 -05:00
Aaron
86c4c87be6 New query optimizer checkpoint, minus jstest changes 2009-02-24 10:27:07 -05:00
Dwight
3111e5411e BSONObjBuilderValueStream bug fix 2009-02-23 18:05:38 -05:00
Aaron
e663625021 First cut of query and update using new qo 2009-02-23 09:50:31 -05:00
Aaron
a4fc389f6b Count function using new query optimizer 2009-02-20 15:19:41 -05:00
Aaron
db0f38e88b Dummy count implementation 2009-02-20 11:08:22 -05:00
Aaron
b405fea8d1 More start/end key testing 2009-02-19 15:35:30 -05:00