diff options
author | Bernard Normier <bernard@zeroc.com> | 2004-11-08 19:01:49 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2004-11-08 19:01:49 +0000 |
commit | d275ca7b567921e4eb686c94cc7379a0759815eb (patch) | |
tree | 55e70505dfc5bacf62712ebe1a4dc968f6f58424 /cpp/demo/Freeze/backup/Client.cpp | |
parent | adding adapter property <name>.PublishedEndpoints (diff) | |
download | ice-d275ca7b567921e4eb686c94cc7379a0759815eb.tar.bz2 ice-d275ca7b567921e4eb686c94cc7379a0759815eb.tar.xz ice-d275ca7b567921e4eb686c94cc7379a0759815eb.zip |
Switched to dd
Diffstat (limited to 'cpp/demo/Freeze/backup/Client.cpp')
-rw-r--r-- | cpp/demo/Freeze/backup/Client.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/demo/Freeze/backup/Client.cpp b/cpp/demo/Freeze/backup/Client.cpp index aba5a002bab..b86e938ecf7 100644 --- a/cpp/demo/Freeze/backup/Client.cpp +++ b/cpp/demo/Freeze/backup/Client.cpp @@ -35,7 +35,7 @@ main(int argc, char* argv[]) CommunicatorPtr communicator = initializeWithProperties(argc, argv, properties); - Freeze::ConnectionPtr connection = createConnection(communicator, "db"); + Freeze::ConnectionPtr connection = createConnection(communicator, "backup"); IntLongMap m(connection, "IntLongMap", true); const size_t size = 10000; @@ -80,8 +80,8 @@ main(int argc, char* argv[]) count++; } while(++p != m.end()); - cout << "Switching from " << Time::milliSeconds(oldMs).toString() - << " to " << time.toString() << " ... " << flush; + cout << "Read " << Time::milliSeconds(oldMs).toString() << " in all records;" + << " updating with " << time.toString() << " ... " << flush; txHolder.commit(); cout << "done" << endl; |