Changeset 25119 for main/branches

Show
Ignore:
Timestamp:
21.02.2012 13:48:46 (8 years ago)
Author:
jmt12
Message:

Retrieve the keys in order

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/branches/64_bit_Greenstone/greenstone2/perllib/dbutil/sqlite.pm

    r23399 r25119  
    136136 
    137137 
    138   my $keys_str = read_infodb_cmd($infodb_file_path,"SELECT key FROM data;"); 
     138  my $keys_str = read_infodb_cmd($infodb_file_path,"SELECT key FROM data ORDER BY key;"); 
    139139 
    140140  my @keys = split(/\n/,$keys_str); 
     
    159159 
    160160 
    161   my $keys_str = read_infodb_cmd($infodb_file_path,"SELECT key FROM data;"); 
     161  my $keys_str = read_infodb_cmd($infodb_file_path,"SELECT key FROM data ORDER BY key;"); 
    162162 
    163163  my @keys = split(/\n/,$keys_str);