Handle close in filter virt_db
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 28 Jun 2006 22:46:58 +0000 (22:46 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 28 Jun 2006 22:46:58 +0000 (22:46 +0000)
src/filter_virt_db.cpp

index 9b7e7e9..144e46a 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: filter_virt_db.cpp,v 1.41 2006-06-10 14:29:12 adam Exp $
+/* $Id: filter_virt_db.cpp,v 1.42 2006-06-28 22:46:58 adam Exp $
    Copyright (c) 2005-2006, Index Data.
 
    See the LICENSE file for details
@@ -712,6 +712,10 @@ void yf::Virt_db::process(mp::Package &package) const
         {
             f->scan(package, apdu);
         }
+        else if (apdu->which == Z_APDU_close)
+        {
+            package.session().close();
+        }
         else
         {
             mp::odr odr;