add _id when missing on an insert

OID generation by the server a little better
OID str form output straigth byte order now
This commit is contained in:
Dwight
2009-01-30 18:18:38 -05:00
parent 84dfe85701
commit fcb6834a60
5 changed files with 111 additions and 23 deletions

View File

@@ -15,7 +15,7 @@ int main() {
DBClientConnection conn;
string errmsg;
if ( ! conn.connect( "127.0.0.1" , errmsg ) ) {
if ( ! conn.connect(/* "192.168.58.1"*/"127.0.0.1" , errmsg ) ) {
cout << "couldn't connect : " << errmsg << endl;
throw -11;
}