X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fapi%2Ftest_create_databases.c;h=0cb38f0be8e25681d59e8b68a3b447a2919a607a;hp=0b898b00b1ec848b5c672d3dd1dd3a49732629db;hb=HEAD;hpb=a66b7d79383ae700f3358731eecfe2aafed0e90d diff --git a/test/api/test_create_databases.c b/test/api/test_create_databases.c index 0b898b0..0cb38f0 100644 --- a/test/api/test_create_databases.c +++ b/test/api/test_create_databases.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2010 Index Data + Copyright (C) Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -19,6 +19,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA /** Create many databases */ +#if HAVE_CONFIG_H +#include +#endif #include "testlib.h" static void tst(int argc, char **argv) @@ -34,7 +37,7 @@ static void tst(int argc, char **argv) zh = zebra_open(zs, 0); YAZ_CHECK(zh); - + YAZ_CHECK(zebra_begin_trans (zh, 1) == ZEBRA_OK); for (i = 0; ititle %d\n", i); zebra_add_record (zh, rec_buf, strlen(rec_buf));