summaryrefslogtreecommitdiff
path: root/cpp/src/Freeze/IndexI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2004-09-28 01:11:48 +0000
committerBernard Normier <bernard@zeroc.com>2004-09-28 01:11:48 +0000
commit705a304b097d8ed0b58cf147264449203355ec51 (patch)
tree6dad2cde3699d64cc891ce60e84507e18f30a768 /cpp/src/Freeze/IndexI.cpp
parentmake Application abstract (diff)
downloadice-705a304b097d8ed0b58cf147264449203355ec51.tar.bz2
ice-705a304b097d8ed0b58cf147264449203355ec51.tar.xz
ice-705a304b097d8ed0b58cf147264449203355ec51.zip
Index support for Freeze dictionaries
Diffstat (limited to 'cpp/src/Freeze/IndexI.cpp')
-rw-r--r--cpp/src/Freeze/IndexI.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/cpp/src/Freeze/IndexI.cpp b/cpp/src/Freeze/IndexI.cpp
index 0bef0002e7a..df1137a4269 100644
--- a/cpp/src/Freeze/IndexI.cpp
+++ b/cpp/src/Freeze/IndexI.cpp
@@ -308,13 +308,8 @@ Freeze::IndexI::secondaryKeyCreate(Db* secondary, const Dbt* dbKey,
{
Ice::CommunicatorPtr communicator = _store->communicator();
- Ice::Identity ident;
- Byte* first = static_cast<Byte*>(dbKey->get_data());
- Key key(first, first + dbKey->get_size());
- ObjectStore::unmarshal(ident, key, communicator);
-
ObjectRecord rec;
- first = static_cast<Byte*>(dbValue->get_data());
+ Byte* first = static_cast<Byte*>(dbValue->get_data());
Value value(first, first + dbValue->get_size());
ObjectStore::unmarshal(rec, value, communicator);