- do_query(__LINE__,zh, "@attr 1=1016 X2", 1);
- do_query(__LINE__,zh, "@attr 1=1016 {X2 X3}", 1);
-
-#if 0
- recs = zebra_meta_records_create_range (zh, "rsetname", 1, 4);
- if (!recs)
- {
- fprintf(stderr, "recs==0\n");
- exit(1);
- }
- if (recs[0].sysno != 3)
- errs++;
- if (recs[1].sysno != 2)
- errs++;
- if (recs[2].sysno != 4)
- errs++;
- if (recs[3].sysno != 5)
- errs++;
+ YAZ_CHECK(tl_query(zh, "@attr 1=1016 X2", 1));
+ YAZ_CHECK(tl_query(zh, "@attr 1=1016 {X2 X3}", 1));