RecordCache::add clones instead of making refs to it.
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 26 Mar 2009 13:26:34 +0000 (14:26 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 26 Mar 2009 13:29:46 +0000 (14:29 +0100)
commit5896d0ffe17229588e918231216b292fc06c774d
treec15dab0963b9f8063777d388167260245d33ec5d
parent37dd478cd6917b9f8a66e123dc35cabc77b4bcc4
RecordCache::add clones instead of making refs to it.

RecordCache::add clones data for real rather than grabbing memory from
supplied ODR. The clone is achieved by new functions in YAZ:
yaz_clone_z_NamePlusRecord and yaz_clone_z_RecordComposition.
src/yaz-z-cache.cpp