mirror of https://github.com/mongodb/mongo
Merge branch 'master' of ssh://tnt.robotlake.com:1707/Users/erh/gitroot/p
This commit is contained in:
commit
4faabfaa27
|
|
@ -229,7 +229,7 @@ void msg(const char *m) {
|
|||
Message send;
|
||||
Message response;
|
||||
|
||||
send.setData(1000, m);
|
||||
send.setData( dbMsg , m);
|
||||
|
||||
cout << "contacting DB..." << endl;
|
||||
bool ok = p.call(db, send, response);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
/* BinData = binary data types.
|
||||
EOO = end of object
|
||||
*/
|
||||
enum JSType { EOO = 0, Number=1, String=2, Object=3, Array=4, BinData=5, Undefined=6, jstOID=7, Bool=8, Date=9 };
|
||||
enum JSType { EOO = 0, Number=1, String=2, Object=3, Array=4, BinData=5, Undefined=6, jstOID=7, Bool=8, Date=9 , jstNULL=10 };
|
||||
|
||||
/* subtypes of BinData.
|
||||
bdtCustom and above are ones that the JS compiler understands, but are
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# makefile for our db project
|
||||
|
||||
FLAGS=-I ..
|
||||
FLAGS=-I .. -I/opt/java/include/ -I/opt/java/include/linux -Isrc/p -I/src/p/db
|
||||
|
||||
OBJS=../stdafx.o ../util/sock.o ../grid/message.o ../util/mmap.o pdfile.o query.o
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue