projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a test for bug #432
[idzebra-moved-to-github.git]
/
test
/
api
/
t2.c
diff --git
a/test/api/t2.c
b/test/api/t2.c
index
20cf425
..
6dacdd0
100644
(file)
--- a/
test/api/t2.c
+++ b/
test/api/t2.c
@@
-1,6
+1,6
@@
-/* $Id: t2.c,v 1.15 2004-12-02 11:28:20 adam Exp $
- Copyright (C) 2003,2004
- Index Data Aps
+/* $Id: t2.c,v 1.17 2005-09-13 11:51:07 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
This file is part of the Zebra server.
@@
-31,7
+31,7
@@
const char *myrec[] = {
int main(int argc, char **argv)
{
ZebraService zs = start_up(0, argc, argv);
int main(int argc, char **argv)
{
ZebraService zs = start_up(0, argc, argv);
- ZebraHandle zh = zebra_open(zs);
+ ZebraHandle zh = zebra_open(zs, 0);
init_data(zh, myrec);
do_query(__LINE__,zh, "@attr 1=4 my", 1);
init_data(zh, myrec);
do_query(__LINE__,zh, "@attr 1=4 my", 1);