Difference between revisions of "AK-index segfault"

From ScarletDME
Jump to navigation Jump to search
(Steps to reproduce)
 
m (→‎Steps to reproduce: Made sure the quotes appeared)
Line 10: Line 10:
  
 
Now run this program to get some data in:
 
Now run this program to get some data in:
 +
<nowiki>
 
  open "TESTFILE" to file else stop
 
  open "TESTFILE" to file else stop
 
   
 
   
Line 23: Line 24:
 
   
 
   
 
  end
 
  end
 +
</nowiki>
  
 
Now
 
Now

Revision as of 12:40, 29 August 2009

Steps to reproduce

Create a file called TESTFILE with a dictionary entry F1 of:

1: D
2: 1
3: 
4: F1
5: 5R
6: S

Now run this program to get some data in:

 open "TESTFILE" to file else stop
 
 for i = 1 to 2000
   data = i
   write data to file, "rec":i
 next i
 
 data = ''
 for i = 2001 to 2100
   write data to file, "rec":i
 next i
 
 end
 

Now

SELECT TESTFILE WITH F1 > 1500

works fine;

CREATE-INDEX TESTFILE F1
BUILD-INDEX TESTFILE F1
SELECT TESTFILE WITH F1 > 1500

Segfault.