~ubuntu-branches/ubuntu/maverick/sqlite3/maverick-updates

« back to all changes in this revision

Viewing changes to test/collate4.test

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2008-10-01 20:16:18 UTC
  • mfrom: (3.1.20 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081001201618-yfvqqj1qs29wdtcc
Tags: 3.5.9-5
Backport fix for distinct on indexes (closes: #500792).

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
# This file implements regression tests for SQLite library.  The
13
13
# focus of this script is page cache subsystem.
14
14
#
15
 
# $Id: collate4.test,v 1.8 2005/04/01 10:47:40 drh Exp $
 
15
# $Id: collate4.test,v 1.9 2008/01/05 17:39:30 danielk1977 Exp $
16
16
 
17
17
set testdir [file dirname $argv0]
18
18
source $testdir/tester.tcl
591
591
  count {
592
592
    SELECT min(a) FROM collate4t1;
593
593
  }
594
 
} {10 2}
 
594
} {10 1}
595
595
do_test collate4-4.4 {
596
596
  count {
597
597
    SELECT max(a) FROM collate4t1;
598
598
  }
599
 
} {20 1}
 
599
} {20 0}
600
600
do_test collate4-4.5 {
601
601
  # Test that the index with collation type NUMERIC is not used.
602
602
  execsql {