char *database = 0;
Res res = res_open(0, 0);
Res default_res = res_open(0, 0);
char *database = 0;
Res res = res_open(0, 0);
Res default_res = res_open(0, 0);
" drop <db> Drop database <db>\n"
" commit Commit changes\n"
" clean Clean shadow files\n"
" drop <db> Drop database <db>\n"
" commit Commit changes\n"
" clean Clean shadow files\n"
"Options:\n"
" -t <type> Index files as <type> (grs or text).\n"
" -c <config> Read configuration file <config>.\n"
"Options:\n"
" -t <type> Index files as <type> (grs or text).\n"
" -c <config> Read configuration file <config>.\n"
const char *add = zebra_errAdd(zh);
yaz_log(YLOG_FATAL, "Operation failed: %s %s",
zebra_errString(zh), add ? add : "");
const char *add = zebra_errAdd(zh);
yaz_log(YLOG_FATAL, "Operation failed: %s %s",
zebra_errString(zh), add ? add : "");
if (trans_started)
if (zebra_end_trans(zh) != ZEBRA_OK)
yaz_log(YLOG_WARN, "zebra_end_trans failed");
if (trans_started)
if (zebra_end_trans(zh) != ZEBRA_OK)
yaz_log(YLOG_WARN, "zebra_end_trans failed");