Merge branch 'master' of ssh://tnt.robotlake.com:1707/Users/erh/gitroot/p

This commit is contained in:
Dwight 2007-10-28 14:43:13 -04:00
commit 4faabfaa27
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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

View File

@ -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