Commit Graph

332 Commits

Author SHA1 Message Date
Eliot Horowitz
39645a2739 removing dead code 2009-11-02 11:00:49 -05:00
Eliot Horowitz
d22098f810 get rid of deep in Matcher 2009-11-02 10:51:42 -05:00
Eliot Horowitz
a782eb24c3 get rid of deep on Cursor::getsetdup 2009-11-02 10:47:29 -05:00
Mathias Stearn
52f075cb13 cleanup. fillQueryResultFromObj always returned true. MINOR 2009-10-26 11:20:45 -04:00
Eliot Horowitz
860a94f852 fix count w / $all issue SERVER-382 SERVER-320 2009-10-22 21:40:45 -04:00
Dwight
844d96c19f allow more indexes
do not revert to an earlier db version or you will have problems
2009-10-21 16:00:40 -04:00
Eliot Horowitz
fcbca1e707 field selector no longer effects which objects are returned
SERVER-362
2009-10-19 12:14:20 -04:00
Eliot Horowitz
529167b0f5 split all the update code out of query.cpp into update.cpp 2009-10-19 10:13:23 -04:00
Eliot Horowitz
510e48d693 a little update mod cleaning 2009-10-18 20:48:08 -04:00
Eliot Horowitz
a8bc6f9584 store query in ClientCursor so can see query on slow getMore queries 2009-10-17 23:07:26 -04:00
Eliot Horowitz
55ada812dd fix EmbeddedBuilder where field names are same length but different SERVER-367 2009-10-17 01:10:48 -04:00
Eliot Horowitz
117a9b68f9 some prep work for comparing dotted field names. can't use strcmp like we used to since don't quite match 2009-10-16 23:41:21 -04:00
Dwight
01f1f6915d move CurOp into Client and make inprog handle multiple in progress 2009-10-16 15:36:34 -04:00
Dwight
ddcf5eeb32 refactor a little 2009-10-14 16:29:32 -04:00
Dwight
16f8b77c5e move the var 'database' inside Client object 2009-10-14 14:34:38 -04:00
Dwight
cf7a86e0f9 make lasterror threadsafe
rename Connection -> Client
lasterror code easier to read
bunch of windows warnings eliminated
2009-10-12 15:12:16 -04:00
Dwight
ff54f16271 add Connection class
beginnings that is
2009-10-09 14:59:44 -04:00
Eliot Horowitz
7514172811 make getMore buffer big since we know there are lots of results 2009-10-05 16:39:49 -04:00
Eliot Horowitz
e2fcb26d68 clean up killCursors loggin 2009-10-04 21:49:36 -04:00
Dwight
b622636eb2 minor prep for multi update work 2009-10-01 10:01:02 -04:00
Eliot Horowitz
ae3d49d718 allow you to store js functions in the server SERVER-157 2009-09-29 16:54:31 -04:00
Dwight
d30ce5418d validate skip() value on a query 2009-09-21 10:40:25 -04:00
Eliot Horowitz
f65aff4734 fix $pop and replication SERVER-100 2009-09-07 22:51:51 -04:00
Eliot Horowitz
99b20a0b6b $pop 2009-08-25 18:07:30 -04:00
dwight
4120dfc568 fix checks that operations cannot be performed on slaves; also, allow read operations on
--slave instances (but not repl pair nonmasters)
2009-08-17 16:13:13 -04:00
Eliot Horowitz
443594f175 better error check for $ check MINOR 2009-08-14 15:10:07 -04:00
Dwight
f0c2c8003f don't allow dropping an index $ collection
http://jira.mongodb.org/browse/SERVER-217
2009-08-13 13:26:03 -04:00
Eliot Horowitz
e07cbd8434 get rid of spurious warning about no _id index on system namespaces 2009-08-12 14:29:38 -04:00
Eliot Horowitz
1205ca8786 fix $snapshot on empty db 2009-08-11 10:48:33 -04:00
Dwight
c454bd3cd3 better $snapshot code 2009-08-10 16:04:10 -04:00
dwight
be89353b28 some work on $snapshot 2009-08-09 12:13:50 -04:00
Dwight
733ba1e11d first cut off NumberLong (64 bit ints) in BSON 2009-08-03 14:16:49 -04:00
Eliot Horowitz
dd9ba41ed4 no cursor timeout query option - using for clone 2009-07-29 12:09:38 -04:00
Eliot Horowitz
8fe350ff00 fix inc with compound indexes SERVER-178 2009-07-24 14:33:11 -04:00
Eliot Horowitz
e358971d6f fix $inc and other mods with embedded fields SERVER-180 2009-07-23 11:32:41 -04:00
Eliot Horowitz
dba7572265 spacing 2009-07-23 11:16:02 -04:00
Aaron Staple
d5b720a5e6 Merge branch 'master' of git@github.com:mongodb/mongo 2009-07-22 17:30:42 -04:00
Aaron Staple
c477ed3a15 bug SERVER-132 implemented pullAll/pushAll modifiers 2009-07-21 18:37:30 -04:00
Aaron Staple
9c44b1c864 MINOR correct object iteration for pull case 2009-07-21 17:55:12 -04:00
Aaron Staple
3022ee8874 pushAll checkpoint 2009-07-21 17:53:19 -04:00
Aaron Staple
1a600bd3b2 BUG SERVER-130 pull modifier implemented 2009-07-15 17:05:38 -04:00
Dwight
be9c371d56 beginnings of $snapshot 2009-07-15 16:55:06 -04:00
Dwight
85e8f71c1c fixed bug SERVER-118 multikey duplicate results from queries 2009-07-07 13:17:53 -04:00
Dwight
31193a1476 remove IdSet (for deduping) 2009-07-02 18:20:32 -04:00
Dwight
de4d56f029 easier to debug MINOR 2009-07-02 18:04:57 -04:00
Dwight
447dc35364 Merge branch 'master' of git@github.com:mongodb/mongo 2009-07-01 17:09:37 -04:00
Dwight
f0174d1b45 comments MINOR 2009-07-01 17:09:20 -04:00
Eliot Horowitz
8d8ca5c041 refactoring field matcher, no function changes yet MINOR 2009-07-01 14:55:52 -04:00
Eliot Horowitz
9ea397a131 nice log messages 2009-07-01 11:59:43 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00