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
Allow safari filter to specify index type.
[idzebra-moved-to-github.git]
/
test
/
api
/
t11.c
diff --git
a/test/api/t11.c
b/test/api/t11.c
index
d0cc7c9
..
c44a802
100644
(file)
--- a/
test/api/t11.c
+++ b/
test/api/t11.c
@@
-1,5
+1,5
@@
-/* $Id: t11.c,v 1.7 2006-08-31 08:36:53 adam Exp $
- Copyright (C) 1995-2006
+/* $Id: t11.c,v 1.9 2007-01-15 15:10:20 adam Exp $
+ Copyright (C) 1995-2007
Index Data ApS
This file is part of the Zebra server.
Index Data ApS
This file is part of the Zebra server.
@@
-39,22
+39,23
@@
static void tst(int argc, char **argv)
YAZ_CHECK(tl_init_data(zh, myrec));
/*
YAZ_CHECK(tl_init_data(zh, myrec));
/*
- int tl_scan(ZebraHandle zh, const char *query,
+ int tl_scan
+ (
+ ZebraHandle zh, const char *query,
int pos, int num,
int exp_pos, int exp_num, int exp_partial,
int pos, int num,
int exp_pos, int exp_num, int exp_partial,
- const char **exp_entries)
+ const char **exp_entries
+ )
*/
if (1)
{
/* bad string use attrite, bug #647 */
*/
if (1)
{
/* bad string use attrite, bug #647 */
- const char *ent[] = { "a", 0 };
YAZ_CHECK(tl_scan(zh, "@attr 1=bad 0", 1, 1, 1, 1, 0, 0));
}
if (1)
{
/* bad numeric use attributes, bug #647 */
YAZ_CHECK(tl_scan(zh, "@attr 1=bad 0", 1, 1, 1, 1, 0, 0));
}
if (1)
{
/* bad numeric use attributes, bug #647 */
- const char *ent[] = { "a", 0 };
YAZ_CHECK(tl_scan(zh, "@attr 1=1234 0", 1, 1, 1, 1, 0, 0));
}
if (1)
YAZ_CHECK(tl_scan(zh, "@attr 1=1234 0", 1, 1, 1, 1, 0, 0));
}
if (1)