Code updates which makes things compile as C++. Mostly type casts were
[yaz-moved-to-github.git] / ztest / ztest.c
index 5769d52..2ce7b90 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 1995-2007, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: ztest.c,v 1.88 2007-04-16 21:53:09 adam Exp $
+ * $Id: ztest.c,v 1.90 2007-05-02 12:36:35 adam Exp $
  */
 
 /*
@@ -721,6 +721,9 @@ bend_initresult *bend_init(bend_initrequest *q)
     q->bend_srw_scan = ztest_scan;
     q->bend_srw_update = ztest_update;
 
+    q->query_charset = "ISO-8859-1";
+    q->records_in_same_charset = 0;
+
     return r;
 }