From b6830e77ae855c0be7fcf4352a5d88477f4c83b0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 2 Jul 2003 22:00:06 +0000 Subject: [PATCH] Remote drop of database --- index/zserver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index/zserver.c b/index/zserver.c index 24aad32..f187c17 100644 --- a/index/zserver.c +++ b/index/zserver.c @@ -1,5 +1,5 @@ -/* $Id: zserver.c,v 1.108 2003-06-18 11:46:33 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 +/* $Id: zserver.c,v 1.109 2003-07-02 22:00:06 adam Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 Index Data Aps This file is part of the Zebra server. @@ -382,6 +382,7 @@ static int es_admin_request (ZebraHandle zh, Z_AdminEsRequest *r) break; case Z_ESAdminOriginPartToKeep_drop: yaz_log(LOG_LOG, "adm-drop"); + zebra_drop_database (zh, r->toKeep->databaseName); break; case Z_ESAdminOriginPartToKeep_create: yaz_log(LOG_LOG, "adm-create %s", r->toKeep->databaseName); -- 1.7.10.4