Commit Graph

179 Commits

Author SHA1 Message Date
alanw
b0dbe2735b Added removeFile() for GridFS. Also modified input strings to be "const string&"
Signed-off-by: mongodb <mongodb@10gen.com>
2009-06-17 09:33:28 +08:00
alanw
b610cf77f4 Use a more portable method of opening and reading binary files (O_RDONLY interpreted differently under windows)
Signed-off-by: mongodb <mongodb@10gen.com>
2009-06-17 09:33:14 +08:00
Eliot Horowitz
6b1d43b3b1 finish SERVER-101 move BSONObjIterator::_more to BSONObjIterator::more 2009-06-09 12:32:04 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Eliot Horowitz
5514c49e39 make lognoquiet and make --quit not print connect/disconnect 2009-06-05 10:35:04 -04:00
Eliot Horowitz
5eb08a4478 change min/max to minKey maxKey 2009-05-22 15:05:13 -04:00
Aaron
206a330b50 remove outdated 'mongod <arg>' style tests, add mongod msg test to smokeClient 2009-05-19 10:55:13 -04:00
Dwight
1d59989c5e kill warning windows 2009-05-13 10:52:52 -04:00
Aaron
13ac1f5ee4 remove client dependency on pcre 2009-05-11 14:57:26 -04:00
Aaron
83b3f358f1 make smokeClient work with nonstandard port, path 2009-05-11 12:41:49 -04:00
Aaron
e8ea876e61 use BSONObj() directly in test MINOR 2009-05-06 13:17:07 -04:00
Eliot Horowitz
a5d4d15090 creeateDirectClient method 2009-05-01 14:35:42 -04:00
Aaron
af59c4ea9e core implementation of min/max query parameters 2009-04-30 16:25:36 -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
Eliot Horowitz
a2479cdf80 access to raw resultFlags 2009-04-13 10:47:42 -04:00
Aaron
c1ae28ca0d remove explicit deleteIndexes from c++ client 2009-04-07 15:27:00 -04:00
Eliot Horowitz
fe27fdc75a make simpleCommand public since its handy and harmless 2009-03-30 13:25:58 -04:00
Aaron
e6c4c94d69 More correct timestamp update check 2009-03-30 11:09:51 -04:00
Eliot Horowitz
b32c181aac use stack instead of queue for keeping connections so you get the same one in a single threaded env. 2009-03-30 09:47:58 -04:00
Eliot Horowitz
601bc1d866 log(2) when create a new connection for pooling 2009-03-29 22:52:17 -04:00
Eliot Horowitz
1b13a418fa _id assignment fix 2009-03-26 17:28:16 -04:00
Eliot Horowitz
fd9c26a74c safer object management 2009-03-26 15:14:24 -04:00
Eliot Horowitz
0195f478e5 Model::_id protected instead of private 2009-03-26 09:42:03 -04:00
Eliot Horowitz
265436b22d make Model::save,load virtual 2009-03-25 17:28:54 -04:00
Eliot Horowitz
e91ed0e854 add DBClientBase::getServerAddress() 2009-03-25 17:08:36 -04:00
Aaron
d0520ccafb Use string instead of char * in client code 2009-03-24 16:58:33 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Aaron
6d10afbd49 Find requested oplog entry starting from tail of log 2009-03-18 17:24:10 -04:00
Eliot Horowitz
2a1c3b1492 get rid of Model::defaultServer since its not being used and complicates some things 2009-03-12 17:12:24 -04:00
Aaron
d4fad81da1 Add explicit getMore to client interface 2009-03-10 16:49:17 -04:00
Aaron
d3dfec4799 Initialize members 2009-03-10 13:08:27 -04:00
Eliot Horowitz
b1a1e98294 make timestamp work on update, and a test 2009-02-28 18:55:04 -05:00
Eliot Horowitz
0dc0ff0541 make unserialze take a const BSONObj& 2009-02-27 10:37:13 -05:00
Eliot Horowitz
60f443b9b1 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-25 14:21:06 -05:00
Eliot Horowitz
cb7c871fba fix getMore and cusror handling (was doing 1 extra network op) and 1 safety check in debug mode 2009-02-25 14:15:00 -05:00
Aaron
445b4d915a Error message changed 2009-02-25 12:35:45 -05:00
Dwight
72b52650ea more autoreconnect fixage 2009-02-24 13:46:21 -05:00
Dwight
d654aa6788 fix bug with auto reconnect in the client 2009-02-24 13:14:08 -05:00
Eliot Horowitz
de62cf49bc accessor for Query 2009-02-23 14:31:52 -05:00
Eliot Horowitz
a2d079b4e8 method and command to flush all pooled connections 2009-02-20 16:39:55 -05:00
Eliot Horowitz
e470130a5e open to save to check for error 2009-02-20 15:07:52 -05:00
Aaron
6f25a72ec3 'better' LazyString 2009-02-20 10:48:32 -05:00
Aaron
6df7d02ce8 Don't create string unless we're actually going to log 2009-02-19 12:03:15 -05:00
Aaron
b1d9032447 Get rid of stringable class, use implicit type conversion to string instead 2009-02-18 22:17:30 -05:00
Aaron
593bf1f126 virtual dtors == good 2009-02-18 13:42:32 -05:00
Eliot Horowitz
7412a333fc filemd5 supports root
BugzID: 1165
2009-02-18 13:11:22 -05:00
Eliot Horowitz
00f58bd87a spam 2009-02-18 11:27:07 -05:00
Eliot Horowitz
7bca09b9f9 fix gridfs - can't use BSONElement for strage like that
also did md5 while i was there
2009-02-18 11:26:30 -05:00
dwight
22085b0540 add a couple virtual destructors just to be safe 2009-02-17 19:21:01 -05:00