/* Insert a number of randomly generated words and truncate */
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "testlib.h"
static void tst(int argc, char **argv)
ZebraHandle zh = zebra_open(zs, 0);
srand(17);
-
+
YAZ_CHECK(zebra_select_database(zh, "Default") == ZEBRA_OK);
zebra_init(zh);
zebra_close(zh);
YAZ_CHECK(zh);
YAZ_CHECK(zebra_select_database(zh, "Default") == ZEBRA_OK);
-
+
YAZ_CHECK(zebra_begin_trans (zh, 1) == ZEBRA_OK);
for (l = 0; l<100; l++)