collocatordb: distinguished read_only_access
diff --git a/c_testanalysis.c b/c_testanalysis.c
index 6843480..5a660cb 100644
--- a/c_testanalysis.c
+++ b/c_testanalysis.c
@@ -28,9 +28,9 @@
 }
 
 int main() {
-	COLLOCATORS *cdb = open_collocators("/vol/work/kupietz/Work2/kl/trunk/Analysemethoden/wang2vec/sampledb");
+	COLLOCATORS *cdb = open_collocators_for_read("/vol/work/kupietz/Work2/kl/trunk/Analysemethoden/wang2vec/sample");
   read_vocab("/vol/work/kupietz/Work2/kl/trunk/Analysemethoden/wang2vec/sample.vocab");
-  for(int i=500; i < 600; i++)
+  for(int i=100; i < 1000; i++)
     get_collocators(cdb, i, vocab, total);
   printf("%s\n", get_collocators_as_json(cdb, 500, vocab, total));
 	return 0;