File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / sqlite3 / test / where7.test
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 17:04:16 2012 UTC (12 years, 10 months ago) by misho
Branches: sqlite3, MAIN
CVS tags: v3_7_10, HEAD
sqlite3

    1: # 2008 December 23
    2: #
    3: # The author disclaims copyright to this source code.  In place of
    4: # a legal notice, here is a blessing:
    5: #
    6: #    May you do good and not evil.
    7: #    May you find forgiveness for yourself and forgive others.
    8: #    May you share freely, never taking more than you give.
    9: #
   10: #***********************************************************************
   11: # This file implements regression tests for SQLite library.  The
   12: # focus of this file is testing the multi-index OR clause optimizer.
   13: 
   14: set testdir [file dirname $argv0]
   15: source $testdir/tester.tcl
   16: 
   17: ifcapable !or_opt {
   18:   finish_test
   19:   return
   20: }
   21: 
   22: # Evaluate SQL.  Return the result set followed by the
   23: # and the number of full-scan steps.
   24: #
   25: proc count_steps {sql} {
   26:   set r [db eval $sql]
   27:   lappend r scan [db status step] sort [db status sort]
   28: }
   29: 
   30: proc count_steps_sort {sql} {
   31:   set r [lsort -integer [db eval $sql]]
   32:   return "$r scan [db status step] sort [db status sort]"
   33: }
   34: 
   35: # Build some test data
   36: #
   37: do_test where7-1.1 {
   38:   execsql {
   39:     CREATE TABLE t1(a INTEGER PRIMARY KEY,b,c,d);
   40:     INSERT INTO t1 VALUES(1,2,3,4);
   41:     INSERT INTO t1 VALUES(2,3,4,5);
   42:     INSERT INTO t1 VALUES(3,4,6,8);
   43:     INSERT INTO t1 VALUES(4,5,10,15);
   44:     INSERT INTO t1 VALUES(5,10,100,1000);
   45:     CREATE INDEX t1b ON t1(b);
   46:     CREATE INDEX t1c ON t1(c);
   47:     SELECT * FROM t1;
   48:   }
   49: } {1 2 3 4 2 3 4 5 3 4 6 8 4 5 10 15 5 10 100 1000}
   50: do_test where7-1.2 {
   51:   count_steps {
   52:     SELECT a FROM t1 WHERE b=3 OR c=6 ORDER BY a
   53:   }
   54: } {2 3 scan 0 sort 1}
   55: do_test where7-1.3 {
   56:   count_steps {
   57:     SELECT a FROM t1 WHERE b=3 OR +c=6 ORDER BY a
   58:   }
   59: } {2 3 scan 4 sort 0}
   60: do_test where7-1.4 {
   61:   count_steps {
   62:     SELECT a FROM t1 WHERE +b=3 OR c=6 ORDER BY 1
   63:   }
   64: } {2 3 scan 4 sort 0}
   65: do_test where7-1.5 {
   66:   count_steps {
   67:     SELECT a FROM t1 WHERE 3=b OR c=6 ORDER BY rowid
   68:   }
   69: } {2 3 scan 0 sort 1}
   70: do_test where7-1.6 {
   71:   count_steps {
   72:     SELECT a FROM t1 WHERE (3=b OR c=6) AND +a>0 ORDER BY a
   73:   }
   74: } {2 3 scan 0 sort 1}
   75: do_test where7-1.7 {
   76:   count_steps {
   77:     SELECT a FROM t1 WHERE (b=3 OR c>10)
   78:   }
   79: } {2 5 scan 0 sort 0}
   80: do_test where7-1.8 {
   81:   count_steps {
   82:     SELECT a FROM t1 WHERE (b=3 OR c>=10)
   83:   }
   84: } {2 4 5 scan 0 sort 0}
   85: do_test where7-1.9 {
   86:   count_steps {
   87:     SELECT a FROM t1 WHERE (b=3 OR c>=10 OR c=4)
   88:   }
   89: } {2 4 5 scan 0 sort 0}
   90: do_test where7-1.10 {
   91:   count_steps {
   92:     SELECT a FROM t1 WHERE (b=3 OR c>=10 OR c=4 OR b>10)
   93:   }
   94: } {2 4 5 scan 0 sort 0}
   95: do_test where7-1.11 {
   96:   count_steps {
   97:     SELECT a FROM t1 WHERE (d=5 AND b=3) OR c==100 ORDER BY a;
   98:   }
   99: } {2 5 scan 0 sort 1}
  100: do_test where7-1.12 {
  101:   count_steps {
  102:     SELECT a FROM t1 WHERE (b BETWEEN 2 AND 4) OR c=100 ORDER BY a
  103:   }
  104: } {1 2 3 5 scan 0 sort 1}
  105: do_test where7-1.13 {
  106:   count_steps {
  107:     SELECT a FROM t1 WHERE (b BETWEEN 0 AND 2) OR (c BETWEEN 9 AND 999)
  108:     ORDER BY +a DESC
  109:   }
  110: } {5 4 1 scan 0 sort 1}
  111: 
  112: do_test where7-1.14 {
  113:   count_steps {
  114:     SELECT a FROM t1 WHERE (d=8 OR c=6 OR b=4) AND +a>0
  115:   }
  116: } {3 scan 4 sort 0}
  117: do_test where7-1.15 {
  118:   count_steps {
  119:     SELECT a FROM t1 WHERE +a>=0 AND (d=8 OR c=6 OR b=4)
  120:   }
  121: } {3 scan 4 sort 0}
  122: 
  123: do_test where7-1.20 {
  124:   set sql "SELECT a FROM t1 WHERE a=11 OR b=11"
  125:   for {set i 12} {$i<400} {incr i} {
  126:     append sql " OR a=$i OR b=$i"
  127:   }
  128:   append sql " ORDER BY a"
  129:   count_steps $sql
  130: } {scan 0 sort 1}
  131: do_test where7-1.21 {
  132:   set sql "SELECT a FROM t1 WHERE b=11 OR c=11"
  133:   for {set i 12} {$i<400} {incr i} {
  134:     append sql " OR b=$i OR c=$i"
  135:   }
  136:   append sql " ORDER BY a"
  137:   count_steps $sql
  138: } {5 scan 0 sort 1}
  139: do_test where7-1.22 {
  140:   set sql "SELECT a FROM t1 WHERE (b=11 OR c=11"
  141:   for {set i 12} {$i<400} {incr i} {
  142:     append sql " OR b=$i OR c=$i"
  143:   }
  144:   append sql ") AND d>=0 AND d<9999 ORDER BY a"
  145:   count_steps $sql
  146: } {5 scan 0 sort 1}
  147: do_test where7-1.23 {
  148:   set sql "SELECT a FROM t1 WHERE (b=11 OR c=11"
  149:   for {set i 12} {$i<400} {incr i} {
  150:     append sql " OR (b=$i AND d!=0) OR (c=$i AND d IS NOT NULL)"
  151:   }
  152:   append sql ") AND d>=0 AND d<9999 ORDER BY a"
  153:   count_steps $sql
  154: } {5 scan 0 sort 1}
  155: 
  156: do_test where7-1.31 {
  157:   set sql "SELECT a FROM t1 WHERE (a=11 AND b=11)"
  158:   for {set i 12} {$i<400} {incr i} {
  159:     append sql " OR (a=$i AND b=$i)"
  160:   }
  161:   append sql " ORDER BY a"
  162:   count_steps $sql
  163: } {scan 0 sort 1}
  164: do_test where7-1.32 {
  165:   set sql "SELECT a FROM t1 WHERE (b=11 AND c=11)"
  166:   for {set i 12} {$i<400} {incr i} {
  167:     append sql " OR (b=$i AND c=$i)"
  168:   }
  169:   append sql " ORDER BY a"
  170:   count_steps $sql
  171: } {scan 0 sort 1}
  172: 
  173: 
  174: do_test where7-2.1 {
  175:   db eval {
  176:     CREATE TABLE t2(a INTEGER PRIMARY KEY,b,c,d,e,f TEXT,g);
  177:     INSERT INTO t2 VALUES(1,11,1001,1.001,100.1,'bcdefghij','yxwvuts');
  178:     INSERT INTO t2 VALUES(2,22,1001,2.002,100.1,'cdefghijk','yxwvuts');
  179:     INSERT INTO t2 VALUES(3,33,1001,3.0029999999999997,100.1,'defghijkl','xwvutsr');
  180:     INSERT INTO t2 VALUES(4,44,2002,4.004,200.2,'efghijklm','xwvutsr');
  181:     INSERT INTO t2 VALUES(5,55,2002,5.004999999999999,200.2,'fghijklmn','xwvutsr');
  182:     INSERT INTO t2 VALUES(6,66,2002,6.005999999999999,200.2,'ghijklmno','xwvutsr');
  183:     INSERT INTO t2 VALUES(7,77,3003,7.007,300.29999999999995,'hijklmnop','xwvutsr');
  184:     INSERT INTO t2 VALUES(8,88,3003,8.008,300.29999999999995,'ijklmnopq','wvutsrq');
  185:     INSERT INTO t2 VALUES(9,99,3003,9.008999999999999,300.29999999999995,'jklmnopqr','wvutsrq');
  186:     INSERT INTO t2 VALUES(10,110,4004,10.009999999999998,400.4,'klmnopqrs','wvutsrq');
  187:     INSERT INTO t2 VALUES(11,121,4004,11.011,400.4,'lmnopqrst','wvutsrq');
  188:     INSERT INTO t2 VALUES(12,132,4004,12.011999999999999,400.4,'mnopqrstu','wvutsrq');
  189:     INSERT INTO t2 VALUES(13,143,5005,13.012999999999998,500.5,'nopqrstuv','vutsrqp');
  190:     INSERT INTO t2 VALUES(14,154,5005,14.014,500.5,'opqrstuvw','vutsrqp');
  191:     INSERT INTO t2 VALUES(15,165,5005,15.014999999999999,500.5,'pqrstuvwx','vutsrqp');
  192:     INSERT INTO t2 VALUES(16,176,6006,16.016,600.5999999999999,'qrstuvwxy','vutsrqp');
  193:     INSERT INTO t2 VALUES(17,187,6006,17.017,600.5999999999999,'rstuvwxyz','vutsrqp');
  194:     INSERT INTO t2 VALUES(18,198,6006,18.017999999999997,600.5999999999999,'stuvwxyza','utsrqpo');
  195:     INSERT INTO t2 VALUES(19,209,7007,19.019,700.6999999999999,'tuvwxyzab','utsrqpo');
  196:     INSERT INTO t2 VALUES(20,220,7007,20.019999999999996,700.6999999999999,'uvwxyzabc','utsrqpo');
  197:     INSERT INTO t2 VALUES(21,231,7007,21.020999999999997,700.6999999999999,'vwxyzabcd','utsrqpo');
  198:     INSERT INTO t2 VALUES(22,242,8008,22.022,800.8,'wxyzabcde','utsrqpo');
  199:     INSERT INTO t2 VALUES(23,253,8008,23.022999999999996,800.8,'xyzabcdef','tsrqpon');
  200:     INSERT INTO t2 VALUES(24,264,8008,24.023999999999997,800.8,'yzabcdefg','tsrqpon');
  201:     INSERT INTO t2 VALUES(25,275,9009,25.025,900.9,'zabcdefgh','tsrqpon');
  202:     INSERT INTO t2 VALUES(26,286,9009,26.025999999999996,900.9,'abcdefghi','tsrqpon');
  203:     INSERT INTO t2 VALUES(27,297,9009,27.026999999999997,900.9,'bcdefghij','tsrqpon');
  204:     INSERT INTO t2 VALUES(28,308,10010,28.028,1001.0,'cdefghijk','srqponm');
  205:     INSERT INTO t2 VALUES(29,319,10010,29.028999999999996,1001.0,'defghijkl','srqponm');
  206:     INSERT INTO t2 VALUES(30,330,10010,30.029999999999998,1001.0,'efghijklm','srqponm');
  207:     INSERT INTO t2 VALUES(31,341,11011,31.030999999999995,1101.1,'fghijklmn','srqponm');
  208:     INSERT INTO t2 VALUES(32,352,11011,32.032,1101.1,'ghijklmno','srqponm');
  209:     INSERT INTO t2 VALUES(33,363,11011,33.032999999999994,1101.1,'hijklmnop','rqponml');
  210:     INSERT INTO t2 VALUES(34,374,12012,34.034,1201.1999999999998,'ijklmnopq','rqponml');
  211:     INSERT INTO t2 VALUES(35,385,12012,35.035,1201.1999999999998,'jklmnopqr','rqponml');
  212:     INSERT INTO t2 VALUES(36,396,12012,36.035999999999994,1201.1999999999998,'klmnopqrs','rqponml');
  213:     INSERT INTO t2 VALUES(37,407,13013,37.037,1301.3,'lmnopqrst','rqponml');
  214:     INSERT INTO t2 VALUES(38,418,13013,38.038,1301.3,'mnopqrstu','qponmlk');
  215:     INSERT INTO t2 VALUES(39,429,13013,39.038999999999994,1301.3,'nopqrstuv','qponmlk');
  216:     INSERT INTO t2 VALUES(40,440,14014,40.03999999999999,1401.3999999999999,'opqrstuvw','qponmlk');
  217:     INSERT INTO t2 VALUES(41,451,14014,41.041,1401.3999999999999,'pqrstuvwx','qponmlk');
  218:     INSERT INTO t2 VALUES(42,462,14014,42.041999999999994,1401.3999999999999,'qrstuvwxy','qponmlk');
  219:     INSERT INTO t2 VALUES(43,473,15015,43.04299999999999,1501.5,'rstuvwxyz','ponmlkj');
  220:     INSERT INTO t2 VALUES(44,484,15015,44.044,1501.5,'stuvwxyza','ponmlkj');
  221:     INSERT INTO t2 VALUES(45,495,15015,45.044999999999995,1501.5,'tuvwxyzab','ponmlkj');
  222:     INSERT INTO t2 VALUES(46,506,16016,46.04599999999999,1601.6,'uvwxyzabc','ponmlkj');
  223:     INSERT INTO t2 VALUES(47,517,16016,47.047,1601.6,'vwxyzabcd','ponmlkj');
  224:     INSERT INTO t2 VALUES(48,528,16016,48.047999999999995,1601.6,'wxyzabcde','onmlkji');
  225:     INSERT INTO t2 VALUES(49,539,17017,49.04899999999999,1701.6999999999998,'xyzabcdef','onmlkji');
  226:     INSERT INTO t2 VALUES(50,550,17017,50.05,1701.6999999999998,'yzabcdefg','onmlkji');
  227:     INSERT INTO t2 VALUES(51,561,17017,51.050999999999995,1701.6999999999998,'zabcdefgh','onmlkji');
  228:     INSERT INTO t2 VALUES(52,572,18018,52.05199999999999,1801.8,'abcdefghi','onmlkji');
  229:     INSERT INTO t2 VALUES(53,583,18018,53.053,1801.8,'bcdefghij','nmlkjih');
  230:     INSERT INTO t2 VALUES(54,594,18018,54.053999999999995,1801.8,'cdefghijk','nmlkjih');
  231:     INSERT INTO t2 VALUES(55,605,19019,55.05499999999999,1901.8999999999999,'defghijkl','nmlkjih');
  232:     INSERT INTO t2 VALUES(56,616,19019,56.056,1901.8999999999999,'efghijklm','nmlkjih');
  233:     INSERT INTO t2 VALUES(57,627,19019,57.056999999999995,1901.8999999999999,'fghijklmn','nmlkjih');
  234:     INSERT INTO t2 VALUES(58,638,20020,58.05799999999999,2002.0,'ghijklmno','mlkjihg');
  235:     INSERT INTO t2 VALUES(59,649,20020,59.05899999999999,2002.0,'hijklmnop','mlkjihg');
  236:     INSERT INTO t2 VALUES(60,660,20020,60.059999999999995,2002.0,'ijklmnopq','mlkjihg');
  237:     INSERT INTO t2 VALUES(61,671,21021,61.06099999999999,2102.1,'jklmnopqr','mlkjihg');
  238:     INSERT INTO t2 VALUES(62,682,21021,62.06199999999999,2102.1,'klmnopqrs','mlkjihg');
  239:     INSERT INTO t2 VALUES(63,693,21021,63.062999999999995,2102.1,'lmnopqrst','lkjihgf');
  240:     INSERT INTO t2 VALUES(64,704,22022,64.064,2202.2,'mnopqrstu','lkjihgf');
  241:     INSERT INTO t2 VALUES(65,715,22022,65.065,2202.2,'nopqrstuv','lkjihgf');
  242:     INSERT INTO t2 VALUES(66,726,22022,66.06599999999999,2202.2,'opqrstuvw','lkjihgf');
  243:     INSERT INTO t2 VALUES(67,737,23023,67.067,2302.2999999999997,'pqrstuvwx','lkjihgf');
  244:     INSERT INTO t2 VALUES(68,748,23023,68.068,2302.2999999999997,'qrstuvwxy','kjihgfe');
  245:     INSERT INTO t2 VALUES(69,759,23023,69.06899999999999,2302.2999999999997,'rstuvwxyz','kjihgfe');
  246:     INSERT INTO t2 VALUES(70,770,24024,70.07,2402.3999999999996,'stuvwxyza','kjihgfe');
  247:     INSERT INTO t2 VALUES(71,781,24024,71.071,2402.3999999999996,'tuvwxyzab','kjihgfe');
  248:     INSERT INTO t2 VALUES(72,792,24024,72.07199999999999,2402.3999999999996,'uvwxyzabc','kjihgfe');
  249:     INSERT INTO t2 VALUES(73,803,25025,73.073,2502.5,'vwxyzabcd','jihgfed');
  250:     INSERT INTO t2 VALUES(74,814,25025,74.074,2502.5,'wxyzabcde','jihgfed');
  251:     INSERT INTO t2 VALUES(75,825,25025,75.07499999999999,2502.5,'xyzabcdef','jihgfed');
  252:     INSERT INTO t2 VALUES(76,836,26026,76.076,2602.6,'yzabcdefg','jihgfed');
  253:     INSERT INTO t2 VALUES(77,847,26026,77.077,2602.6,'zabcdefgh','jihgfed');
  254:     INSERT INTO t2 VALUES(78,858,26026,78.07799999999999,2602.6,'abcdefghi','ihgfedc');
  255:     INSERT INTO t2 VALUES(79,869,27027,79.079,2702.7,'bcdefghij','ihgfedc');
  256:     INSERT INTO t2 VALUES(80,880,27027,80.07999999999998,2702.7,'cdefghijk','ihgfedc');
  257:     INSERT INTO t2 VALUES(81,891,27027,81.08099999999999,2702.7,'defghijkl','ihgfedc');
  258:     INSERT INTO t2 VALUES(82,902,28028,82.082,2802.7999999999997,'efghijklm','ihgfedc');
  259:     INSERT INTO t2 VALUES(83,913,28028,83.08299999999998,2802.7999999999997,'fghijklmn','hgfedcb');
  260:     INSERT INTO t2 VALUES(84,924,28028,84.08399999999999,2802.7999999999997,'ghijklmno','hgfedcb');
  261:     INSERT INTO t2 VALUES(85,935,29029,85.085,2902.8999999999996,'hijklmnop','hgfedcb');
  262:     INSERT INTO t2 VALUES(86,946,29029,86.08599999999998,2902.8999999999996,'ijklmnopq','hgfedcb');
  263:     INSERT INTO t2 VALUES(87,957,29029,87.08699999999999,2902.8999999999996,'jklmnopqr','hgfedcb');
  264:     INSERT INTO t2 VALUES(88,968,30030,88.088,3003.0,'klmnopqrs','gfedcba');
  265:     INSERT INTO t2 VALUES(89,979,30030,89.08899999999998,3003.0,'lmnopqrst','gfedcba');
  266:     INSERT INTO t2 VALUES(90,990,30030,90.08999999999999,3003.0,'mnopqrstu','gfedcba');
  267:     INSERT INTO t2 VALUES(91,1001,31031,91.091,3103.1,'nopqrstuv','gfedcba');
  268:     INSERT INTO t2 VALUES(92,1012,31031,92.09199999999998,3103.1,'opqrstuvw','gfedcba');
  269:     INSERT INTO t2 VALUES(93,1023,31031,93.09299999999999,3103.1,'pqrstuvwx','fedcbaz');
  270:     INSERT INTO t2 VALUES(94,1034,32032,94.094,3203.2,'qrstuvwxy','fedcbaz');
  271:     INSERT INTO t2 VALUES(95,1045,32032,95.09499999999998,3203.2,'rstuvwxyz','fedcbaz');
  272:     INSERT INTO t2 VALUES(96,1056,32032,96.09599999999999,3203.2,'stuvwxyza','fedcbaz');
  273:     INSERT INTO t2 VALUES(97,1067,33033,97.097,3303.2999999999997,'tuvwxyzab','fedcbaz');
  274:     INSERT INTO t2 VALUES(98,1078,33033,98.09799999999998,3303.2999999999997,'uvwxyzabc','edcbazy');
  275:     INSERT INTO t2 VALUES(99,1089,33033,99.09899999999999,3303.2999999999997,'vwxyzabcd','edcbazy');
  276:     INSERT INTO t2 VALUES(100,1100,34034,100.1,3403.3999999999996,'wxyzabcde','edcbazy');
  277:     CREATE INDEX t2b ON t2(b);
  278:     CREATE INDEX t2c ON t2(c);
  279:     CREATE INDEX t2d ON t2(d);
  280:     CREATE INDEX t2e ON t2(e);
  281:     CREATE INDEX t2f ON t2(f);
  282:     CREATE INDEX t2g ON t2(g);
  283:     CREATE TABLE t3(a INTEGER PRIMARY KEY,b,c,d,e,f TEXT,g);
  284:     INSERT INTO t3 SELECT * FROM t2;
  285:     CREATE INDEX t3b ON t3(b,c);
  286:     CREATE INDEX t3c ON t3(c,e);
  287:     CREATE INDEX t3d ON t3(d,g);
  288:     CREATE INDEX t3e ON t3(e,f,g);
  289:     CREATE INDEX t3f ON t3(f,b,d,c);
  290:     CREATE INDEX t3g ON t3(g,f);
  291:   }
  292: } {}
  293: 
  294: do_test where7-2.2.1 {
  295:   count_steps_sort {
  296:      SELECT a FROM t2
  297:       WHERE b=1070
  298:          OR (g='edcbazy' AND f GLOB 'wxyza*')
  299:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
  300:          OR ((a BETWEEN 18 AND 20) AND a!=19)
  301:          OR (g='qponmlk' AND f GLOB 'nopqr*')
  302:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
  303:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
  304:   }
  305: } {6 18 20 32 39 58 84 89 96 100 scan 0 sort 0}
  306: do_test where7-2.2.2 {
  307:   count_steps_sort {
  308:      SELECT a FROM t3
  309:       WHERE b=1070
  310:          OR (g='edcbazy' AND f GLOB 'wxyza*')
  311:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
  312:          OR ((a BETWEEN 18 AND 20) AND a!=19)
  313:          OR (g='qponmlk' AND f GLOB 'nopqr*')
  314:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
  315:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
  316:   }
  317: } {6 18 20 32 39 58 84 89 96 100 scan 0 sort 0}
  318: do_test where7-2.3.1 {
  319:   count_steps_sort {
  320:      SELECT a FROM t2
  321:       WHERE (d>=47.0 AND d<48.0 AND d NOT NULL)
  322:          OR ((a BETWEEN 33 AND 35) AND a!=34)
  323:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
  324:          OR b=220
  325:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
  326:          OR ((a BETWEEN 67 AND 69) AND a!=68)
  327:          OR (g='qponmlk' AND f GLOB 'pqrst*')
  328:   }
  329: } {20 33 35 41 47 67 69 70 98 scan 0 sort 0}
  330: do_test where7-2.3.2 {
  331:   count_steps_sort {
  332:      SELECT a FROM t3
  333:       WHERE (d>=47.0 AND d<48.0 AND d NOT NULL)
  334:          OR ((a BETWEEN 33 AND 35) AND a!=34)
  335:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
  336:          OR b=220
  337:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
  338:          OR ((a BETWEEN 67 AND 69) AND a!=68)
  339:          OR (g='qponmlk' AND f GLOB 'pqrst*')
  340:   }
  341: } {20 33 35 41 47 67 69 70 98 scan 0 sort 0}
  342: do_test where7-2.4.1 {
  343:   count_steps_sort {
  344:      SELECT a FROM t2
  345:       WHERE b=190
  346:          OR ((a BETWEEN 49 AND 51) AND a!=50)
  347:          OR (g='rqponml' AND f GLOB 'hijkl*')
  348:          OR b=407
  349:   }
  350: } {33 37 49 51 scan 0 sort 0}
  351: do_test where7-2.4.2 {
  352:   count_steps_sort {
  353:      SELECT a FROM t3
  354:       WHERE b=190
  355:          OR ((a BETWEEN 49 AND 51) AND a!=50)
  356:          OR (g='rqponml' AND f GLOB 'hijkl*')
  357:          OR b=407
  358:   }
  359: } {33 37 49 51 scan 0 sort 0}
  360: do_test where7-2.5.1 {
  361:   count_steps_sort {
  362:      SELECT a FROM t2
  363:       WHERE (f GLOB '?opqr*' AND f GLOB 'nopq*')
  364:          OR b=795
  365:          OR b=1103
  366:          OR b=583
  367:   }
  368: } {13 39 53 65 91 scan 0 sort 0}
  369: do_test where7-2.5.2 {
  370:   count_steps_sort {
  371:      SELECT a FROM t3
  372:       WHERE (f GLOB '?opqr*' AND f GLOB 'nopq*')
  373:          OR b=795
  374:          OR b=1103
  375:          OR b=583
  376:   }
  377: } {13 39 53 65 91 scan 0 sort 0}
  378: do_test where7-2.6.1 {
  379:   count_steps_sort {
  380:      SELECT a FROM t2
  381:       WHERE a=74
  382:          OR a=50
  383:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
  384:          OR ((a BETWEEN 16 AND 18) AND a!=17)
  385:          OR c=21021
  386:          OR ((a BETWEEN 82 AND 84) AND a!=83)
  387:   }
  388: } {16 18 50 61 62 63 74 82 84 85 scan 0 sort 0}
  389: do_test where7-2.6.2 {
  390:   count_steps_sort {
  391:      SELECT a FROM t3
  392:       WHERE a=74
  393:          OR a=50
  394:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
  395:          OR ((a BETWEEN 16 AND 18) AND a!=17)
  396:          OR c=21021
  397:          OR ((a BETWEEN 82 AND 84) AND a!=83)
  398:   }
  399: } {16 18 50 61 62 63 74 82 84 85 scan 0 sort 0}
  400: do_test where7-2.7.1 {
  401:   count_steps_sort {
  402:      SELECT a FROM t2
  403:       WHERE ((a BETWEEN 8 AND 10) AND a!=9)
  404:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
  405:          OR ((a BETWEEN 34 AND 36) AND a!=35)
  406:          OR c=14014
  407:          OR b=828
  408:   }
  409: } {8 10 34 36 40 41 42 94 scan 0 sort 0}
  410: do_test where7-2.7.2 {
  411:   count_steps_sort {
  412:      SELECT a FROM t3
  413:       WHERE ((a BETWEEN 8 AND 10) AND a!=9)
  414:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
  415:          OR ((a BETWEEN 34 AND 36) AND a!=35)
  416:          OR c=14014
  417:          OR b=828
  418:   }
  419: } {8 10 34 36 40 41 42 94 scan 0 sort 0}
  420: do_test where7-2.8.1 {
  421:   count_steps_sort {
  422:      SELECT a FROM t2
  423:       WHERE 1000000<b
  424:          OR b=308
  425:   }
  426: } {28 scan 0 sort 0}
  427: do_test where7-2.8.2 {
  428:   count_steps_sort {
  429:      SELECT a FROM t3
  430:       WHERE 1000000<b
  431:          OR b=308
  432:   }
  433: } {28 scan 0 sort 0}
  434: do_test where7-2.9.1 {
  435:   count_steps_sort {
  436:      SELECT a FROM t2
  437:       WHERE b=949
  438:          OR ((a BETWEEN 22 AND 24) AND a!=23)
  439:          OR a=63
  440:   }
  441: } {22 24 63 scan 0 sort 0}
  442: do_test where7-2.9.2 {
  443:   count_steps_sort {
  444:      SELECT a FROM t3
  445:       WHERE b=949
  446:          OR ((a BETWEEN 22 AND 24) AND a!=23)
  447:          OR a=63
  448:   }
  449: } {22 24 63 scan 0 sort 0}
  450: do_test where7-2.10.1 {
  451:   count_steps_sort {
  452:      SELECT a FROM t2
  453:       WHERE ((a BETWEEN 49 AND 51) AND a!=50)
  454:          OR b=396
  455:          OR ((a BETWEEN 68 AND 70) AND a!=69)
  456:   }
  457: } {36 49 51 68 70 scan 0 sort 0}
  458: do_test where7-2.10.2 {
  459:   count_steps_sort {
  460:      SELECT a FROM t3
  461:       WHERE ((a BETWEEN 49 AND 51) AND a!=50)
  462:          OR b=396
  463:          OR ((a BETWEEN 68 AND 70) AND a!=69)
  464:   }
  465: } {36 49 51 68 70 scan 0 sort 0}
  466: do_test where7-2.11.1 {
  467:   count_steps_sort {
  468:      SELECT a FROM t2
  469:       WHERE (d>=72.0 AND d<73.0 AND d NOT NULL)
  470:          OR (g='jihgfed' AND f GLOB 'wxyza*')
  471:          OR c=11011
  472:          OR c=20020
  473:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
  474:   }
  475: } {18 31 32 33 58 59 60 72 74 scan 0 sort 0}
  476: do_test where7-2.11.2 {
  477:   count_steps_sort {
  478:      SELECT a FROM t3
  479:       WHERE (d>=72.0 AND d<73.0 AND d NOT NULL)
  480:          OR (g='jihgfed' AND f GLOB 'wxyza*')
  481:          OR c=11011
  482:          OR c=20020
  483:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
  484:   }
  485: } {18 31 32 33 58 59 60 72 74 scan 0 sort 0}
  486: do_test where7-2.12.1 {
  487:   count_steps_sort {
  488:      SELECT a FROM t2
  489:       WHERE (d>=50.0 AND d<51.0 AND d NOT NULL)
  490:          OR (d>=83.0 AND d<84.0 AND d NOT NULL)
  491:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
  492:          OR b=792
  493:          OR a=97
  494:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
  495:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
  496:          OR b=916
  497:          OR a=69
  498:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
  499:          OR c=6006
  500:   }
  501: } {16 17 18 31 50 69 72 81 83 87 97 scan 0 sort 0}
  502: do_test where7-2.12.2 {
  503:   count_steps_sort {
  504:      SELECT a FROM t3
  505:       WHERE (d>=50.0 AND d<51.0 AND d NOT NULL)
  506:          OR (d>=83.0 AND d<84.0 AND d NOT NULL)
  507:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
  508:          OR b=792
  509:          OR a=97
  510:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
  511:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
  512:          OR b=916
  513:          OR a=69
  514:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
  515:          OR c=6006
  516:   }
  517: } {16 17 18 31 50 69 72 81 83 87 97 scan 0 sort 0}
  518: do_test where7-2.13.1 {
  519:   count_steps_sort {
  520:      SELECT a FROM t2
  521:       WHERE ((a BETWEEN 50 AND 52) AND a!=51)
  522:          OR c=9009
  523:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
  524:          OR b=539
  525:          OR b=297
  526:          OR (g='wvutsrq' AND f GLOB 'klmno*')
  527:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
  528:          OR b=957
  529:          OR f='xyzabcdef'
  530:          OR b=619
  531:   }
  532: } {10 15 21 23 25 26 27 49 50 52 75 87 scan 0 sort 0}
  533: do_test where7-2.13.2 {
  534:   count_steps_sort {
  535:      SELECT a FROM t3
  536:       WHERE ((a BETWEEN 50 AND 52) AND a!=51)
  537:          OR c=9009
  538:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
  539:          OR b=539
  540:          OR b=297
  541:          OR (g='wvutsrq' AND f GLOB 'klmno*')
  542:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
  543:          OR b=957
  544:          OR f='xyzabcdef'
  545:          OR b=619
  546:   }
  547: } {10 15 21 23 25 26 27 49 50 52 75 87 scan 0 sort 0}
  548: do_test where7-2.14.1 {
  549:   count_steps_sort {
  550:      SELECT a FROM t2
  551:       WHERE ((a BETWEEN 47 AND 49) AND a!=48)
  552:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
  553:   }
  554: } {47 48 49 scan 0 sort 0}
  555: do_test where7-2.14.2 {
  556:   count_steps_sort {
  557:      SELECT a FROM t3
  558:       WHERE ((a BETWEEN 47 AND 49) AND a!=48)
  559:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
  560:   }
  561: } {47 48 49 scan 0 sort 0}
  562: do_test where7-2.15.1 {
  563:   count_steps_sort {
  564:      SELECT a FROM t2
  565:       WHERE a=20
  566:          OR a=67
  567:          OR b=58
  568:          OR ((a BETWEEN 19 AND 21) AND a!=20)
  569:   }
  570: } {19 20 21 67 scan 0 sort 0}
  571: do_test where7-2.15.2 {
  572:   count_steps_sort {
  573:      SELECT a FROM t3
  574:       WHERE a=20
  575:          OR a=67
  576:          OR b=58
  577:          OR ((a BETWEEN 19 AND 21) AND a!=20)
  578:   }
  579: } {19 20 21 67 scan 0 sort 0}
  580: do_test where7-2.16.1 {
  581:   count_steps_sort {
  582:      SELECT a FROM t2
  583:       WHERE b=938
  584:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
  585:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
  586:   }
  587: } {17 67 scan 0 sort 0}
  588: do_test where7-2.16.2 {
  589:   count_steps_sort {
  590:      SELECT a FROM t3
  591:       WHERE b=938
  592:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
  593:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
  594:   }
  595: } {17 67 scan 0 sort 0}
  596: do_test where7-2.17.1 {
  597:   count_steps_sort {
  598:      SELECT a FROM t2
  599:       WHERE (d>=68.0 AND d<69.0 AND d NOT NULL)
  600:          OR f='zabcdefgh'
  601:          OR b=308
  602:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
  603:          OR (g='srqponm' AND f GLOB 'defgh*')
  604:          OR ((a BETWEEN 15 AND 17) AND a!=16)
  605:          OR b=443
  606:          OR ((a BETWEEN 12 AND 14) AND a!=13)
  607:          OR f='uvwxyzabc'
  608:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
  609:   }
  610: } {12 14 15 16 17 20 24 25 28 29 46 50 51 68 72 76 77 98 scan 0 sort 0}
  611: do_test where7-2.17.2 {
  612:   count_steps_sort {
  613:      SELECT a FROM t3
  614:       WHERE (d>=68.0 AND d<69.0 AND d NOT NULL)
  615:          OR f='zabcdefgh'
  616:          OR b=308
  617:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
  618:          OR (g='srqponm' AND f GLOB 'defgh*')
  619:          OR ((a BETWEEN 15 AND 17) AND a!=16)
  620:          OR b=443
  621:          OR ((a BETWEEN 12 AND 14) AND a!=13)
  622:          OR f='uvwxyzabc'
  623:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
  624:   }
  625: } {12 14 15 16 17 20 24 25 28 29 46 50 51 68 72 76 77 98 scan 0 sort 0}
  626: do_test where7-2.18.1 {
  627:   count_steps_sort {
  628:      SELECT a FROM t2
  629:       WHERE (d>=46.0 AND d<47.0 AND d NOT NULL)
  630:          OR b=762
  631:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
  632:          OR a=19
  633:   }
  634: } {19 46 56 scan 0 sort 0}
  635: do_test where7-2.18.2 {
  636:   count_steps_sort {
  637:      SELECT a FROM t3
  638:       WHERE (d>=46.0 AND d<47.0 AND d NOT NULL)
  639:          OR b=762
  640:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
  641:          OR a=19
  642:   }
  643: } {19 46 56 scan 0 sort 0}
  644: do_test where7-2.19.1 {
  645:   count_steps_sort {
  646:      SELECT a FROM t2
  647:       WHERE (d>=63.0 AND d<64.0 AND d NOT NULL)
  648:          OR a=46
  649:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
  650:          OR a=73
  651:          OR c=20020
  652:          OR ((a BETWEEN 2 AND 4) AND a!=3)
  653:          OR b=267
  654:          OR ((a BETWEEN 68 AND 70) AND a!=69)
  655:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
  656:   }
  657: } {2 4 20 46 58 59 60 63 68 70 73 scan 0 sort 0}
  658: do_test where7-2.19.2 {
  659:   count_steps_sort {
  660:      SELECT a FROM t3
  661:       WHERE (d>=63.0 AND d<64.0 AND d NOT NULL)
  662:          OR a=46
  663:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
  664:          OR a=73
  665:          OR c=20020
  666:          OR ((a BETWEEN 2 AND 4) AND a!=3)
  667:          OR b=267
  668:          OR ((a BETWEEN 68 AND 70) AND a!=69)
  669:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
  670:   }
  671: } {2 4 20 46 58 59 60 63 68 70 73 scan 0 sort 0}
  672: do_test where7-2.20.1 {
  673:   count_steps_sort {
  674:      SELECT a FROM t2
  675:       WHERE ((a BETWEEN 27 AND 29) AND a!=28)
  676:          OR (g='gfedcba' AND f GLOB 'nopqr*')
  677:   }
  678: } {27 29 91 scan 0 sort 0}
  679: do_test where7-2.20.2 {
  680:   count_steps_sort {
  681:      SELECT a FROM t3
  682:       WHERE ((a BETWEEN 27 AND 29) AND a!=28)
  683:          OR (g='gfedcba' AND f GLOB 'nopqr*')
  684:   }
  685: } {27 29 91 scan 0 sort 0}
  686: do_test where7-2.21.1 {
  687:   count_steps_sort {
  688:      SELECT a FROM t2
  689:       WHERE c=13013
  690:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
  691:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
  692:          OR ((a BETWEEN 87 AND 89) AND a!=88)
  693:          OR f='bcdefghij'
  694:          OR b=586
  695:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
  696:          OR ((a BETWEEN 59 AND 61) AND a!=60)
  697:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
  698:          OR (d>=6.0 AND d<7.0 AND d NOT NULL)
  699:          OR a=9
  700:   }
  701: } {1 6 9 27 37 38 39 53 55 58 59 61 75 79 87 89 98 scan 0 sort 0}
  702: do_test where7-2.21.2 {
  703:   count_steps_sort {
  704:      SELECT a FROM t3
  705:       WHERE c=13013
  706:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
  707:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
  708:          OR ((a BETWEEN 87 AND 89) AND a!=88)
  709:          OR f='bcdefghij'
  710:          OR b=586
  711:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
  712:          OR ((a BETWEEN 59 AND 61) AND a!=60)
  713:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
  714:          OR (d>=6.0 AND d<7.0 AND d NOT NULL)
  715:          OR a=9
  716:   }
  717: } {1 6 9 27 37 38 39 53 55 58 59 61 75 79 87 89 98 scan 0 sort 0}
  718: do_test where7-2.22.1 {
  719:   count_steps_sort {
  720:      SELECT a FROM t2
  721:       WHERE b=399
  722:          OR c=28028
  723:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
  724:          OR (g='qponmlk' AND f GLOB 'qrstu*')
  725:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
  726:   }
  727: } {42 82 83 84 98 scan 0 sort 0}
  728: do_test where7-2.22.2 {
  729:   count_steps_sort {
  730:      SELECT a FROM t3
  731:       WHERE b=399
  732:          OR c=28028
  733:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
  734:          OR (g='qponmlk' AND f GLOB 'qrstu*')
  735:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
  736:   }
  737: } {42 82 83 84 98 scan 0 sort 0}
  738: do_test where7-2.23.1 {
  739:   count_steps_sort {
  740:      SELECT a FROM t2
  741:       WHERE (g='fedcbaz' AND f GLOB 'rstuv*')
  742:          OR ((a BETWEEN 96 AND 98) AND a!=97)
  743:          OR c=14014
  744:          OR c=33033
  745:          OR a=89
  746:          OR b=770
  747:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
  748:          OR a=35
  749:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
  750:          OR b=253
  751:          OR c=14014
  752:   }
  753: } {4 19 23 30 35 40 41 42 56 70 82 89 95 96 97 98 99 scan 0 sort 0}
  754: do_test where7-2.23.2 {
  755:   count_steps_sort {
  756:      SELECT a FROM t3
  757:       WHERE (g='fedcbaz' AND f GLOB 'rstuv*')
  758:          OR ((a BETWEEN 96 AND 98) AND a!=97)
  759:          OR c=14014
  760:          OR c=33033
  761:          OR a=89
  762:          OR b=770
  763:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
  764:          OR a=35
  765:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
  766:          OR b=253
  767:          OR c=14014
  768:   }
  769: } {4 19 23 30 35 40 41 42 56 70 82 89 95 96 97 98 99 scan 0 sort 0}
  770: do_test where7-2.24.1 {
  771:   count_steps_sort {
  772:      SELECT a FROM t2
  773:       WHERE (g='utsrqpo' AND f GLOB 'vwxyz*')
  774:          OR ((a BETWEEN 32 AND 34) AND a!=33)
  775:          OR b=330
  776:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
  777:          OR a=16
  778:   }
  779: } {6 16 21 30 32 34 scan 0 sort 0}
  780: do_test where7-2.24.2 {
  781:   count_steps_sort {
  782:      SELECT a FROM t3
  783:       WHERE (g='utsrqpo' AND f GLOB 'vwxyz*')
  784:          OR ((a BETWEEN 32 AND 34) AND a!=33)
  785:          OR b=330
  786:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
  787:          OR a=16
  788:   }
  789: } {6 16 21 30 32 34 scan 0 sort 0}
  790: do_test where7-2.25.1 {
  791:   count_steps_sort {
  792:      SELECT a FROM t2
  793:       WHERE c=5005
  794:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
  795:          OR ((a BETWEEN 36 AND 38) AND a!=37)
  796:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
  797:   }
  798: } {2 13 14 15 36 38 47 scan 0 sort 0}
  799: do_test where7-2.25.2 {
  800:   count_steps_sort {
  801:      SELECT a FROM t3
  802:       WHERE c=5005
  803:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
  804:          OR ((a BETWEEN 36 AND 38) AND a!=37)
  805:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
  806:   }
  807: } {2 13 14 15 36 38 47 scan 0 sort 0}
  808: do_test where7-2.26.1 {
  809:   count_steps_sort {
  810:      SELECT a FROM t2
  811:       WHERE (d>=30.0 AND d<31.0 AND d NOT NULL)
  812:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
  813:          OR ((a BETWEEN 64 AND 66) AND a!=65)
  814:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
  815:          OR a=33
  816:   }
  817: } {30 33 58 64 66 68 scan 0 sort 0}
  818: do_test where7-2.26.2 {
  819:   count_steps_sort {
  820:      SELECT a FROM t3
  821:       WHERE (d>=30.0 AND d<31.0 AND d NOT NULL)
  822:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
  823:          OR ((a BETWEEN 64 AND 66) AND a!=65)
  824:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
  825:          OR a=33
  826:   }
  827: } {30 33 58 64 66 68 scan 0 sort 0}
  828: do_test where7-2.27.1 {
  829:   count_steps_sort {
  830:      SELECT a FROM t2
  831:       WHERE b=1026
  832:          OR b=410
  833:   }
  834: } { scan 0 sort 0}
  835: do_test where7-2.27.2 {
  836:   count_steps_sort {
  837:      SELECT a FROM t3
  838:       WHERE b=1026
  839:          OR b=410
  840:   }
  841: } { scan 0 sort 0}
  842: do_test where7-2.28.1 {
  843:   count_steps_sort {
  844:      SELECT a FROM t2
  845:       WHERE c=18018
  846:          OR a=94
  847:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
  848:          OR (g='tsrqpon' AND f GLOB 'abcde*')
  849:          OR b=1012
  850:          OR a=3
  851:          OR d>1e10
  852:          OR b=905
  853:          OR b=1089
  854:   }
  855: } {3 15 26 41 52 53 54 67 92 93 94 99 scan 0 sort 0}
  856: do_test where7-2.28.2 {
  857:   count_steps_sort {
  858:      SELECT a FROM t3
  859:       WHERE c=18018
  860:          OR a=94
  861:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
  862:          OR (g='tsrqpon' AND f GLOB 'abcde*')
  863:          OR b=1012
  864:          OR a=3
  865:          OR d>1e10
  866:          OR b=905
  867:          OR b=1089
  868:   }
  869: } {3 15 26 41 52 53 54 67 92 93 94 99 scan 0 sort 0}
  870: do_test where7-2.29.1 {
  871:   count_steps_sort {
  872:      SELECT a FROM t2
  873:       WHERE a=100
  874:          OR c=11011
  875:          OR b=297
  876:          OR a=63
  877:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
  878:          OR a=76
  879:          OR b=1026
  880:          OR a=26
  881:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
  882:          OR c=30030
  883:   }
  884: } {24 26 27 31 32 33 50 63 76 84 88 89 90 100 scan 0 sort 0}
  885: do_test where7-2.29.2 {
  886:   count_steps_sort {
  887:      SELECT a FROM t3
  888:       WHERE a=100
  889:          OR c=11011
  890:          OR b=297
  891:          OR a=63
  892:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
  893:          OR a=76
  894:          OR b=1026
  895:          OR a=26
  896:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
  897:          OR c=30030
  898:   }
  899: } {24 26 27 31 32 33 50 63 76 84 88 89 90 100 scan 0 sort 0}
  900: do_test where7-2.30.1 {
  901:   count_steps_sort {
  902:      SELECT a FROM t2
  903:       WHERE b=561
  904:          OR b=1070
  905:          OR a=59
  906:          OR b=715
  907:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
  908:   }
  909: } {23 49 51 59 65 75 scan 0 sort 0}
  910: do_test where7-2.30.2 {
  911:   count_steps_sort {
  912:      SELECT a FROM t3
  913:       WHERE b=561
  914:          OR b=1070
  915:          OR a=59
  916:          OR b=715
  917:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
  918:   }
  919: } {23 49 51 59 65 75 scan 0 sort 0}
  920: do_test where7-2.31.1 {
  921:   count_steps_sort {
  922:      SELECT a FROM t2
  923:       WHERE (g='fedcbaz' AND f GLOB 'rstuv*')
  924:          OR b=1056
  925:          OR b=1012
  926:          OR ((a BETWEEN 57 AND 59) AND a!=58)
  927:          OR ((a BETWEEN 67 AND 69) AND a!=68)
  928:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
  929:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
  930:   }
  931: } {19 26 52 57 59 67 69 78 92 95 96 scan 0 sort 0}
  932: do_test where7-2.31.2 {
  933:   count_steps_sort {
  934:      SELECT a FROM t3
  935:       WHERE (g='fedcbaz' AND f GLOB 'rstuv*')
  936:          OR b=1056
  937:          OR b=1012
  938:          OR ((a BETWEEN 57 AND 59) AND a!=58)
  939:          OR ((a BETWEEN 67 AND 69) AND a!=68)
  940:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
  941:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
  942:   }
  943: } {19 26 52 57 59 67 69 78 92 95 96 scan 0 sort 0}
  944: do_test where7-2.32.1 {
  945:   count_steps_sort {
  946:      SELECT a FROM t2
  947:       WHERE f='rstuvwxyz'
  948:          OR (g='jihgfed' AND f GLOB 'wxyza*')
  949:          OR ((a BETWEEN 90 AND 92) AND a!=91)
  950:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
  951:   }
  952: } {17 43 69 74 90 92 95 98 scan 0 sort 0}
  953: do_test where7-2.32.2 {
  954:   count_steps_sort {
  955:      SELECT a FROM t3
  956:       WHERE f='rstuvwxyz'
  957:          OR (g='jihgfed' AND f GLOB 'wxyza*')
  958:          OR ((a BETWEEN 90 AND 92) AND a!=91)
  959:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
  960:   }
  961: } {17 43 69 74 90 92 95 98 scan 0 sort 0}
  962: do_test where7-2.33.1 {
  963:   count_steps_sort {
  964:      SELECT a FROM t2
  965:       WHERE (f GLOB '?stuv*' AND f GLOB 'rstu*')
  966:          OR c=12012
  967:          OR a=18
  968:          OR (g='jihgfed' AND f GLOB 'yzabc*')
  969:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
  970:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
  971:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
  972:   }
  973: } {9 15 17 18 26 34 35 36 41 43 52 61 67 69 76 78 87 93 95 scan 0 sort 0}
  974: do_test where7-2.33.2 {
  975:   count_steps_sort {
  976:      SELECT a FROM t3
  977:       WHERE (f GLOB '?stuv*' AND f GLOB 'rstu*')
  978:          OR c=12012
  979:          OR a=18
  980:          OR (g='jihgfed' AND f GLOB 'yzabc*')
  981:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
  982:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
  983:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
  984:   }
  985: } {9 15 17 18 26 34 35 36 41 43 52 61 67 69 76 78 87 93 95 scan 0 sort 0}
  986: do_test where7-2.34.1 {
  987:   count_steps_sort {
  988:      SELECT a FROM t2
  989:       WHERE a=77
  990:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
  991:   }
  992: } {58 77 scan 0 sort 0}
  993: do_test where7-2.34.2 {
  994:   count_steps_sort {
  995:      SELECT a FROM t3
  996:       WHERE a=77
  997:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
  998:   }
  999: } {58 77 scan 0 sort 0}
 1000: do_test where7-2.35.1 {
 1001:   count_steps_sort {
 1002:      SELECT a FROM t2
 1003:       WHERE b=498
 1004:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 1005:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
 1006:          OR ((a BETWEEN 67 AND 69) AND a!=68)
 1007:          OR ((a BETWEEN 67 AND 69) AND a!=68)
 1008:          OR c=33033
 1009:          OR b=11
 1010:          OR (g='wvutsrq' AND f GLOB 'lmnop*')
 1011:          OR ((a BETWEEN 7 AND 9) AND a!=8)
 1012:   }
 1013: } {1 7 9 11 27 67 69 88 97 98 99 scan 0 sort 0}
 1014: do_test where7-2.35.2 {
 1015:   count_steps_sort {
 1016:      SELECT a FROM t3
 1017:       WHERE b=498
 1018:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 1019:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
 1020:          OR ((a BETWEEN 67 AND 69) AND a!=68)
 1021:          OR ((a BETWEEN 67 AND 69) AND a!=68)
 1022:          OR c=33033
 1023:          OR b=11
 1024:          OR (g='wvutsrq' AND f GLOB 'lmnop*')
 1025:          OR ((a BETWEEN 7 AND 9) AND a!=8)
 1026:   }
 1027: } {1 7 9 11 27 67 69 88 97 98 99 scan 0 sort 0}
 1028: do_test where7-2.36.1 {
 1029:   count_steps_sort {
 1030:      SELECT a FROM t2
 1031:       WHERE (d>=6.0 AND d<7.0 AND d NOT NULL)
 1032:          OR ((a BETWEEN 58 AND 60) AND a!=59)
 1033:   }
 1034: } {6 58 60 scan 0 sort 0}
 1035: do_test where7-2.36.2 {
 1036:   count_steps_sort {
 1037:      SELECT a FROM t3
 1038:       WHERE (d>=6.0 AND d<7.0 AND d NOT NULL)
 1039:          OR ((a BETWEEN 58 AND 60) AND a!=59)
 1040:   }
 1041: } {6 58 60 scan 0 sort 0}
 1042: do_test where7-2.37.1 {
 1043:   count_steps_sort {
 1044:      SELECT a FROM t2
 1045:       WHERE b=1059
 1046:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
 1047:          OR c=4004
 1048:          OR b=806
 1049:   }
 1050: } {10 11 12 43 scan 0 sort 0}
 1051: do_test where7-2.37.2 {
 1052:   count_steps_sort {
 1053:      SELECT a FROM t3
 1054:       WHERE b=1059
 1055:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
 1056:          OR c=4004
 1057:          OR b=806
 1058:   }
 1059: } {10 11 12 43 scan 0 sort 0}
 1060: do_test where7-2.38.1 {
 1061:   count_steps_sort {
 1062:      SELECT a FROM t2
 1063:       WHERE b=165
 1064:          OR b=201
 1065:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
 1066:          OR a=32
 1067:   }
 1068: } {15 32 99 scan 0 sort 0}
 1069: do_test where7-2.38.2 {
 1070:   count_steps_sort {
 1071:      SELECT a FROM t3
 1072:       WHERE b=165
 1073:          OR b=201
 1074:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
 1075:          OR a=32
 1076:   }
 1077: } {15 32 99 scan 0 sort 0}
 1078: do_test where7-2.39.1 {
 1079:   count_steps_sort {
 1080:      SELECT a FROM t2
 1081:       WHERE (g='kjihgfe' AND f GLOB 'rstuv*')
 1082:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
 1083:   }
 1084: } {22 48 69 74 100 scan 0 sort 0}
 1085: do_test where7-2.39.2 {
 1086:   count_steps_sort {
 1087:      SELECT a FROM t3
 1088:       WHERE (g='kjihgfe' AND f GLOB 'rstuv*')
 1089:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
 1090:   }
 1091: } {22 48 69 74 100 scan 0 sort 0}
 1092: do_test where7-2.40.1 {
 1093:   count_steps_sort {
 1094:      SELECT a FROM t2
 1095:       WHERE b=352
 1096:          OR b=278
 1097:          OR ((a BETWEEN 90 AND 92) AND a!=91)
 1098:          OR ((a BETWEEN 28 AND 30) AND a!=29)
 1099:          OR b=660
 1100:          OR a=18
 1101:          OR a=34
 1102:          OR b=132
 1103:          OR (g='gfedcba' AND f GLOB 'lmnop*')
 1104:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 1105:          OR c=18018
 1106:   }
 1107: } {2 12 18 28 30 32 34 52 53 54 60 80 89 90 92 scan 0 sort 0}
 1108: do_test where7-2.40.2 {
 1109:   count_steps_sort {
 1110:      SELECT a FROM t3
 1111:       WHERE b=352
 1112:          OR b=278
 1113:          OR ((a BETWEEN 90 AND 92) AND a!=91)
 1114:          OR ((a BETWEEN 28 AND 30) AND a!=29)
 1115:          OR b=660
 1116:          OR a=18
 1117:          OR a=34
 1118:          OR b=132
 1119:          OR (g='gfedcba' AND f GLOB 'lmnop*')
 1120:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 1121:          OR c=18018
 1122:   }
 1123: } {2 12 18 28 30 32 34 52 53 54 60 80 89 90 92 scan 0 sort 0}
 1124: do_test where7-2.41.1 {
 1125:   count_steps_sort {
 1126:      SELECT a FROM t2
 1127:       WHERE (d>=73.0 AND d<74.0 AND d NOT NULL)
 1128:          OR ((a BETWEEN 5 AND 7) AND a!=6)
 1129:   }
 1130: } {5 7 73 scan 0 sort 0}
 1131: do_test where7-2.41.2 {
 1132:   count_steps_sort {
 1133:      SELECT a FROM t3
 1134:       WHERE (d>=73.0 AND d<74.0 AND d NOT NULL)
 1135:          OR ((a BETWEEN 5 AND 7) AND a!=6)
 1136:   }
 1137: } {5 7 73 scan 0 sort 0}
 1138: do_test where7-2.42.1 {
 1139:   count_steps_sort {
 1140:      SELECT a FROM t2
 1141:       WHERE (f GLOB '?efgh*' AND f GLOB 'defg*')
 1142:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
 1143:          OR (g='hgfedcb' AND f GLOB 'fghij*')
 1144:          OR b=297
 1145:          OR b=113
 1146:          OR b=176
 1147:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
 1148:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
 1149:          OR a=67
 1150:          OR c=26026
 1151:   }
 1152: } {3 14 16 21 27 29 55 67 75 76 77 78 81 83 scan 0 sort 0}
 1153: do_test where7-2.42.2 {
 1154:   count_steps_sort {
 1155:      SELECT a FROM t3
 1156:       WHERE (f GLOB '?efgh*' AND f GLOB 'defg*')
 1157:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
 1158:          OR (g='hgfedcb' AND f GLOB 'fghij*')
 1159:          OR b=297
 1160:          OR b=113
 1161:          OR b=176
 1162:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
 1163:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
 1164:          OR a=67
 1165:          OR c=26026
 1166:   }
 1167: } {3 14 16 21 27 29 55 67 75 76 77 78 81 83 scan 0 sort 0}
 1168: do_test where7-2.43.1 {
 1169:   count_steps_sort {
 1170:      SELECT a FROM t2
 1171:       WHERE (d>=78.0 AND d<79.0 AND d NOT NULL)
 1172:          OR ((a BETWEEN 4 AND 6) AND a!=5)
 1173:          OR a=83
 1174:          OR b=44
 1175:          OR b=1023
 1176:          OR ((a BETWEEN 11 AND 13) AND a!=12)
 1177:          OR b=1023
 1178:          OR f='ijklmnopq'
 1179:   }
 1180: } {4 6 8 11 13 34 60 78 83 86 93 scan 0 sort 0}
 1181: do_test where7-2.43.2 {
 1182:   count_steps_sort {
 1183:      SELECT a FROM t3
 1184:       WHERE (d>=78.0 AND d<79.0 AND d NOT NULL)
 1185:          OR ((a BETWEEN 4 AND 6) AND a!=5)
 1186:          OR a=83
 1187:          OR b=44
 1188:          OR b=1023
 1189:          OR ((a BETWEEN 11 AND 13) AND a!=12)
 1190:          OR b=1023
 1191:          OR f='ijklmnopq'
 1192:   }
 1193: } {4 6 8 11 13 34 60 78 83 86 93 scan 0 sort 0}
 1194: do_test where7-2.44.1 {
 1195:   count_steps_sort {
 1196:      SELECT a FROM t2
 1197:       WHERE (d>=42.0 AND d<43.0 AND d NOT NULL)
 1198:          OR b=935
 1199:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 1200:          OR b=487
 1201:          OR b=619
 1202:          OR (g='qponmlk' AND f GLOB 'nopqr*')
 1203:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
 1204:   }
 1205: } {17 32 34 39 42 85 scan 0 sort 0}
 1206: do_test where7-2.44.2 {
 1207:   count_steps_sort {
 1208:      SELECT a FROM t3
 1209:       WHERE (d>=42.0 AND d<43.0 AND d NOT NULL)
 1210:          OR b=935
 1211:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 1212:          OR b=487
 1213:          OR b=619
 1214:          OR (g='qponmlk' AND f GLOB 'nopqr*')
 1215:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
 1216:   }
 1217: } {17 32 34 39 42 85 scan 0 sort 0}
 1218: do_test where7-2.45.1 {
 1219:   count_steps_sort {
 1220:      SELECT a FROM t2
 1221:       WHERE (d>=68.0 AND d<69.0 AND d NOT NULL)
 1222:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
 1223:          OR b=938
 1224:          OR b=641
 1225:          OR c=17017
 1226:          OR a=82
 1227:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
 1228:          OR (g='rqponml' AND f GLOB 'lmnop*')
 1229:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 1230:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
 1231:   }
 1232: } {37 39 49 50 51 56 58 65 68 82 94 scan 0 sort 0}
 1233: do_test where7-2.45.2 {
 1234:   count_steps_sort {
 1235:      SELECT a FROM t3
 1236:       WHERE (d>=68.0 AND d<69.0 AND d NOT NULL)
 1237:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
 1238:          OR b=938
 1239:          OR b=641
 1240:          OR c=17017
 1241:          OR a=82
 1242:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
 1243:          OR (g='rqponml' AND f GLOB 'lmnop*')
 1244:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 1245:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
 1246:   }
 1247: } {37 39 49 50 51 56 58 65 68 82 94 scan 0 sort 0}
 1248: do_test where7-2.46.1 {
 1249:   count_steps_sort {
 1250:      SELECT a FROM t2
 1251:       WHERE (g='ihgfedc' AND f GLOB 'bcdef*')
 1252:          OR c=22022
 1253:   }
 1254: } {64 65 66 79 scan 0 sort 0}
 1255: do_test where7-2.46.2 {
 1256:   count_steps_sort {
 1257:      SELECT a FROM t3
 1258:       WHERE (g='ihgfedc' AND f GLOB 'bcdef*')
 1259:          OR c=22022
 1260:   }
 1261: } {64 65 66 79 scan 0 sort 0}
 1262: do_test where7-2.47.1 {
 1263:   count_steps_sort {
 1264:      SELECT a FROM t2
 1265:       WHERE c=7007
 1266:          OR b=91
 1267:          OR b=212
 1268:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 1269:          OR c=28028
 1270:          OR (d>=83.0 AND d<84.0 AND d NOT NULL)
 1271:   }
 1272: } {19 20 21 65 82 83 84 scan 0 sort 0}
 1273: do_test where7-2.47.2 {
 1274:   count_steps_sort {
 1275:      SELECT a FROM t3
 1276:       WHERE c=7007
 1277:          OR b=91
 1278:          OR b=212
 1279:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 1280:          OR c=28028
 1281:          OR (d>=83.0 AND d<84.0 AND d NOT NULL)
 1282:   }
 1283: } {19 20 21 65 82 83 84 scan 0 sort 0}
 1284: do_test where7-2.48.1 {
 1285:   count_steps_sort {
 1286:      SELECT a FROM t2
 1287:       WHERE (d>=12.0 AND d<13.0 AND d NOT NULL)
 1288:          OR a=51
 1289:          OR ((a BETWEEN 28 AND 30) AND a!=29)
 1290:   }
 1291: } {12 28 30 51 scan 0 sort 0}
 1292: do_test where7-2.48.2 {
 1293:   count_steps_sort {
 1294:      SELECT a FROM t3
 1295:       WHERE (d>=12.0 AND d<13.0 AND d NOT NULL)
 1296:          OR a=51
 1297:          OR ((a BETWEEN 28 AND 30) AND a!=29)
 1298:   }
 1299: } {12 28 30 51 scan 0 sort 0}
 1300: do_test where7-2.49.1 {
 1301:   count_steps_sort {
 1302:      SELECT a FROM t2
 1303:       WHERE (g='wvutsrq' AND f GLOB 'mnopq*')
 1304:          OR (g='wvutsrq' AND f GLOB 'jklmn*')
 1305:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
 1306:          OR ((a BETWEEN 0 AND 2) AND a!=1)
 1307:          OR c=4004
 1308:          OR b=322
 1309:          OR c=13013
 1310:          OR a=6
 1311:   }
 1312: } {2 6 9 10 11 12 23 37 38 39 scan 0 sort 0}
 1313: do_test where7-2.49.2 {
 1314:   count_steps_sort {
 1315:      SELECT a FROM t3
 1316:       WHERE (g='wvutsrq' AND f GLOB 'mnopq*')
 1317:          OR (g='wvutsrq' AND f GLOB 'jklmn*')
 1318:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
 1319:          OR ((a BETWEEN 0 AND 2) AND a!=1)
 1320:          OR c=4004
 1321:          OR b=322
 1322:          OR c=13013
 1323:          OR a=6
 1324:   }
 1325: } {2 6 9 10 11 12 23 37 38 39 scan 0 sort 0}
 1326: do_test where7-2.50.1 {
 1327:   count_steps_sort {
 1328:      SELECT a FROM t2
 1329:       WHERE b=297
 1330:          OR b=143
 1331:          OR a=46
 1332:          OR b=660
 1333:          OR (d>=41.0 AND d<42.0 AND d NOT NULL)
 1334:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
 1335:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
 1336:          OR b=355
 1337:          OR a=93
 1338:          OR b=297
 1339:   }
 1340: } {13 17 23 27 41 46 49 60 75 93 scan 0 sort 0}
 1341: do_test where7-2.50.2 {
 1342:   count_steps_sort {
 1343:      SELECT a FROM t3
 1344:       WHERE b=297
 1345:          OR b=143
 1346:          OR a=46
 1347:          OR b=660
 1348:          OR (d>=41.0 AND d<42.0 AND d NOT NULL)
 1349:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
 1350:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
 1351:          OR b=355
 1352:          OR a=93
 1353:          OR b=297
 1354:   }
 1355: } {13 17 23 27 41 46 49 60 75 93 scan 0 sort 0}
 1356: do_test where7-2.51.1 {
 1357:   count_steps_sort {
 1358:      SELECT a FROM t2
 1359:       WHERE b=190
 1360:          OR a=62
 1361:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
 1362:   }
 1363: } {62 99 scan 0 sort 0}
 1364: do_test where7-2.51.2 {
 1365:   count_steps_sort {
 1366:      SELECT a FROM t3
 1367:       WHERE b=190
 1368:          OR a=62
 1369:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
 1370:   }
 1371: } {62 99 scan 0 sort 0}
 1372: do_test where7-2.52.1 {
 1373:   count_steps_sort {
 1374:      SELECT a FROM t2
 1375:       WHERE b=1089
 1376:          OR b=102
 1377:          OR a=6
 1378:          OR b=608
 1379:   }
 1380: } {6 99 scan 0 sort 0}
 1381: do_test where7-2.52.2 {
 1382:   count_steps_sort {
 1383:      SELECT a FROM t3
 1384:       WHERE b=1089
 1385:          OR b=102
 1386:          OR a=6
 1387:          OR b=608
 1388:   }
 1389: } {6 99 scan 0 sort 0}
 1390: do_test where7-2.53.1 {
 1391:   count_steps_sort {
 1392:      SELECT a FROM t2
 1393:       WHERE b=473
 1394:          OR b=1100
 1395:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
 1396:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
 1397:          OR a=20
 1398:          OR b=1089
 1399:          OR b=330
 1400:          OR b=124
 1401:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 1402:   }
 1403: } {15 20 30 43 53 56 58 99 100 scan 0 sort 0}
 1404: do_test where7-2.53.2 {
 1405:   count_steps_sort {
 1406:      SELECT a FROM t3
 1407:       WHERE b=473
 1408:          OR b=1100
 1409:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
 1410:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
 1411:          OR a=20
 1412:          OR b=1089
 1413:          OR b=330
 1414:          OR b=124
 1415:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 1416:   }
 1417: } {15 20 30 43 53 56 58 99 100 scan 0 sort 0}
 1418: do_test where7-2.54.1 {
 1419:   count_steps_sort {
 1420:      SELECT a FROM t2
 1421:       WHERE ((a BETWEEN 68 AND 70) AND a!=69)
 1422:          OR b=223
 1423:          OR a=12
 1424:          OR b=1048
 1425:          OR b=256
 1426:          OR a=72
 1427:          OR c>=34035
 1428:          OR (g='rqponml' AND f GLOB 'jklmn*')
 1429:          OR b=674
 1430:          OR a=22
 1431:   }
 1432: } {12 22 35 68 70 72 scan 0 sort 0}
 1433: do_test where7-2.54.2 {
 1434:   count_steps_sort {
 1435:      SELECT a FROM t3
 1436:       WHERE ((a BETWEEN 68 AND 70) AND a!=69)
 1437:          OR b=223
 1438:          OR a=12
 1439:          OR b=1048
 1440:          OR b=256
 1441:          OR a=72
 1442:          OR c>=34035
 1443:          OR (g='rqponml' AND f GLOB 'jklmn*')
 1444:          OR b=674
 1445:          OR a=22
 1446:   }
 1447: } {12 22 35 68 70 72 scan 0 sort 0}
 1448: do_test where7-2.55.1 {
 1449:   count_steps_sort {
 1450:      SELECT a FROM t2
 1451:       WHERE ((a BETWEEN 76 AND 78) AND a!=77)
 1452:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
 1453:          OR f='yzabcdefg'
 1454:          OR c=14014
 1455:          OR a=1
 1456:          OR a=9
 1457:          OR b=960
 1458:   }
 1459: } {1 9 24 40 41 42 50 76 78 scan 0 sort 0}
 1460: do_test where7-2.55.2 {
 1461:   count_steps_sort {
 1462:      SELECT a FROM t3
 1463:       WHERE ((a BETWEEN 76 AND 78) AND a!=77)
 1464:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
 1465:          OR f='yzabcdefg'
 1466:          OR c=14014
 1467:          OR a=1
 1468:          OR a=9
 1469:          OR b=960
 1470:   }
 1471: } {1 9 24 40 41 42 50 76 78 scan 0 sort 0}
 1472: do_test where7-2.56.1 {
 1473:   count_steps_sort {
 1474:      SELECT a FROM t2
 1475:       WHERE (g='utsrqpo' AND f GLOB 'tuvwx*')
 1476:          OR ((a BETWEEN 96 AND 98) AND a!=97)
 1477:          OR (g='onmlkji' AND f GLOB 'xyzab*')
 1478:   }
 1479: } {19 49 96 98 scan 0 sort 0}
 1480: do_test where7-2.56.2 {
 1481:   count_steps_sort {
 1482:      SELECT a FROM t3
 1483:       WHERE (g='utsrqpo' AND f GLOB 'tuvwx*')
 1484:          OR ((a BETWEEN 96 AND 98) AND a!=97)
 1485:          OR (g='onmlkji' AND f GLOB 'xyzab*')
 1486:   }
 1487: } {19 49 96 98 scan 0 sort 0}
 1488: do_test where7-2.57.1 {
 1489:   count_steps_sort {
 1490:      SELECT a FROM t2
 1491:       WHERE b=748
 1492:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
 1493:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
 1494:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
 1495:          OR b=630
 1496:   }
 1497: } {9 20 67 68 scan 0 sort 0}
 1498: do_test where7-2.57.2 {
 1499:   count_steps_sort {
 1500:      SELECT a FROM t3
 1501:       WHERE b=748
 1502:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
 1503:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
 1504:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
 1505:          OR b=630
 1506:   }
 1507: } {9 20 67 68 scan 0 sort 0}
 1508: do_test where7-2.58.1 {
 1509:   count_steps_sort {
 1510:      SELECT a FROM t2
 1511:       WHERE b=223
 1512:          OR b=267
 1513:          OR a=40
 1514:          OR ((a BETWEEN 55 AND 57) AND a!=56)
 1515:          OR c<=10
 1516:          OR ((a BETWEEN 69 AND 71) AND a!=70)
 1517:          OR b=528
 1518:   }
 1519: } {40 48 55 57 69 71 scan 0 sort 0}
 1520: do_test where7-2.58.2 {
 1521:   count_steps_sort {
 1522:      SELECT a FROM t3
 1523:       WHERE b=223
 1524:          OR b=267
 1525:          OR a=40
 1526:          OR ((a BETWEEN 55 AND 57) AND a!=56)
 1527:          OR c<=10
 1528:          OR ((a BETWEEN 69 AND 71) AND a!=70)
 1529:          OR b=528
 1530:   }
 1531: } {40 48 55 57 69 71 scan 0 sort 0}
 1532: do_test where7-2.59.1 {
 1533:   count_steps_sort {
 1534:      SELECT a FROM t2
 1535:       WHERE f='rstuvwxyz'
 1536:          OR a=41
 1537:          OR b=462
 1538:          OR a=68
 1539:          OR a=84
 1540:          OR a=69
 1541:   }
 1542: } {17 41 42 43 68 69 84 95 scan 0 sort 0}
 1543: do_test where7-2.59.2 {
 1544:   count_steps_sort {
 1545:      SELECT a FROM t3
 1546:       WHERE f='rstuvwxyz'
 1547:          OR a=41
 1548:          OR b=462
 1549:          OR a=68
 1550:          OR a=84
 1551:          OR a=69
 1552:   }
 1553: } {17 41 42 43 68 69 84 95 scan 0 sort 0}
 1554: do_test where7-2.60.1 {
 1555:   count_steps_sort {
 1556:      SELECT a FROM t2
 1557:       WHERE b=979
 1558:          OR ((a BETWEEN 3 AND 5) AND a!=4)
 1559:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
 1560:   }
 1561: } {3 5 13 89 scan 0 sort 0}
 1562: do_test where7-2.60.2 {
 1563:   count_steps_sort {
 1564:      SELECT a FROM t3
 1565:       WHERE b=979
 1566:          OR ((a BETWEEN 3 AND 5) AND a!=4)
 1567:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
 1568:   }
 1569: } {3 5 13 89 scan 0 sort 0}
 1570: do_test where7-2.61.1 {
 1571:   count_steps_sort {
 1572:      SELECT a FROM t2
 1573:       WHERE (d>=9.0 AND d<10.0 AND d NOT NULL)
 1574:          OR a=8
 1575:          OR a=62
 1576:          OR b=726
 1577:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
 1578:          OR ((a BETWEEN 50 AND 52) AND a!=51)
 1579:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
 1580:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 1581:   }
 1582: } {8 9 10 14 50 52 59 61 62 66 scan 0 sort 0}
 1583: do_test where7-2.61.2 {
 1584:   count_steps_sort {
 1585:      SELECT a FROM t3
 1586:       WHERE (d>=9.0 AND d<10.0 AND d NOT NULL)
 1587:          OR a=8
 1588:          OR a=62
 1589:          OR b=726
 1590:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
 1591:          OR ((a BETWEEN 50 AND 52) AND a!=51)
 1592:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
 1593:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 1594:   }
 1595: } {8 9 10 14 50 52 59 61 62 66 scan 0 sort 0}
 1596: do_test where7-2.62.1 {
 1597:   count_steps_sort {
 1598:      SELECT a FROM t2
 1599:       WHERE b=495
 1600:          OR ((a BETWEEN 18 AND 20) AND a!=19)
 1601:          OR b=924
 1602:          OR c=11011
 1603:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
 1604:          OR b=231
 1605:          OR b=872
 1606:          OR (g='jihgfed' AND f GLOB 'yzabc*')
 1607:   }
 1608: } {18 20 21 31 32 33 45 47 73 76 84 99 scan 0 sort 0}
 1609: do_test where7-2.62.2 {
 1610:   count_steps_sort {
 1611:      SELECT a FROM t3
 1612:       WHERE b=495
 1613:          OR ((a BETWEEN 18 AND 20) AND a!=19)
 1614:          OR b=924
 1615:          OR c=11011
 1616:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
 1617:          OR b=231
 1618:          OR b=872
 1619:          OR (g='jihgfed' AND f GLOB 'yzabc*')
 1620:   }
 1621: } {18 20 21 31 32 33 45 47 73 76 84 99 scan 0 sort 0}
 1622: do_test where7-2.63.1 {
 1623:   count_steps_sort {
 1624:      SELECT a FROM t2
 1625:       WHERE a=24
 1626:          OR b=473
 1627:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 1628:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 1629:          OR b=509
 1630:          OR b=924
 1631:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
 1632:   }
 1633: } {21 24 43 84 86 96 scan 0 sort 0}
 1634: do_test where7-2.63.2 {
 1635:   count_steps_sort {
 1636:      SELECT a FROM t3
 1637:       WHERE a=24
 1638:          OR b=473
 1639:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 1640:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 1641:          OR b=509
 1642:          OR b=924
 1643:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
 1644:   }
 1645: } {21 24 43 84 86 96 scan 0 sort 0}
 1646: do_test where7-2.64.1 {
 1647:   count_steps_sort {
 1648:      SELECT a FROM t2
 1649:       WHERE (d>=93.0 AND d<94.0 AND d NOT NULL)
 1650:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 1651:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 1652:          OR (g='edcbazy' AND f GLOB 'wxyza*')
 1653:          OR b=363
 1654:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 1655:          OR ((a BETWEEN 23 AND 25) AND a!=24)
 1656:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 1657:   }
 1658: } {2 5 8 23 25 28 33 34 54 56 58 60 80 86 93 100 scan 0 sort 0}
 1659: do_test where7-2.64.2 {
 1660:   count_steps_sort {
 1661:      SELECT a FROM t3
 1662:       WHERE (d>=93.0 AND d<94.0 AND d NOT NULL)
 1663:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 1664:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 1665:          OR (g='edcbazy' AND f GLOB 'wxyza*')
 1666:          OR b=363
 1667:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 1668:          OR ((a BETWEEN 23 AND 25) AND a!=24)
 1669:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 1670:   }
 1671: } {2 5 8 23 25 28 33 34 54 56 58 60 80 86 93 100 scan 0 sort 0}
 1672: do_test where7-2.65.1 {
 1673:   count_steps_sort {
 1674:      SELECT a FROM t2
 1675:       WHERE a=42
 1676:          OR e IS NULL
 1677:          OR b=495
 1678:          OR 1000000<b
 1679:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
 1680:          OR a=45
 1681:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
 1682:          OR a=85
 1683:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
 1684:   }
 1685: } {20 42 45 46 65 69 72 85 98 scan 0 sort 0}
 1686: do_test where7-2.65.2 {
 1687:   count_steps_sort {
 1688:      SELECT a FROM t3
 1689:       WHERE a=42
 1690:          OR e IS NULL
 1691:          OR b=495
 1692:          OR 1000000<b
 1693:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
 1694:          OR a=45
 1695:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
 1696:          OR a=85
 1697:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
 1698:   }
 1699: } {20 42 45 46 65 69 72 85 98 scan 0 sort 0}
 1700: do_test where7-2.66.1 {
 1701:   count_steps_sort {
 1702:      SELECT a FROM t2
 1703:       WHERE c=17017
 1704:          OR f='ijklmnopq'
 1705:          OR a=39
 1706:   }
 1707: } {8 34 39 49 50 51 60 86 scan 0 sort 0}
 1708: do_test where7-2.66.2 {
 1709:   count_steps_sort {
 1710:      SELECT a FROM t3
 1711:       WHERE c=17017
 1712:          OR f='ijklmnopq'
 1713:          OR a=39
 1714:   }
 1715: } {8 34 39 49 50 51 60 86 scan 0 sort 0}
 1716: do_test where7-2.67.1 {
 1717:   count_steps_sort {
 1718:      SELECT a FROM t2
 1719:       WHERE c>=34035
 1720:          OR ((a BETWEEN 96 AND 98) AND a!=97)
 1721:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
 1722:          OR (g='edcbazy' AND f GLOB 'wxyza*')
 1723:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
 1724:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 1725:          OR a=91
 1726:   }
 1727: } {11 19 27 37 63 89 91 96 98 100 scan 0 sort 0}
 1728: do_test where7-2.67.2 {
 1729:   count_steps_sort {
 1730:      SELECT a FROM t3
 1731:       WHERE c>=34035
 1732:          OR ((a BETWEEN 96 AND 98) AND a!=97)
 1733:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
 1734:          OR (g='edcbazy' AND f GLOB 'wxyza*')
 1735:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
 1736:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 1737:          OR a=91
 1738:   }
 1739: } {11 19 27 37 63 89 91 96 98 100 scan 0 sort 0}
 1740: do_test where7-2.68.1 {
 1741:   count_steps_sort {
 1742:      SELECT a FROM t2
 1743:       WHERE (g='gfedcba' AND f GLOB 'nopqr*')
 1744:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 1745:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
 1746:          OR b=649
 1747:          OR b=231
 1748:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
 1749:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
 1750:          OR b=58
 1751:   }
 1752: } {9 21 28 29 35 48 59 61 87 91 scan 0 sort 0}
 1753: do_test where7-2.68.2 {
 1754:   count_steps_sort {
 1755:      SELECT a FROM t3
 1756:       WHERE (g='gfedcba' AND f GLOB 'nopqr*')
 1757:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 1758:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
 1759:          OR b=649
 1760:          OR b=231
 1761:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
 1762:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
 1763:          OR b=58
 1764:   }
 1765: } {9 21 28 29 35 48 59 61 87 91 scan 0 sort 0}
 1766: do_test where7-2.69.1 {
 1767:   count_steps_sort {
 1768:      SELECT a FROM t2
 1769:       WHERE b=979
 1770:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
 1771:   }
 1772: } {78 89 scan 0 sort 0}
 1773: do_test where7-2.69.2 {
 1774:   count_steps_sort {
 1775:      SELECT a FROM t3
 1776:       WHERE b=979
 1777:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
 1778:   }
 1779: } {78 89 scan 0 sort 0}
 1780: do_test where7-2.70.1 {
 1781:   count_steps_sort {
 1782:      SELECT a FROM t2
 1783:       WHERE b=825
 1784:          OR b=1004
 1785:          OR ((a BETWEEN 60 AND 62) AND a!=61)
 1786:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 1787:   }
 1788: } {56 58 60 62 75 scan 0 sort 0}
 1789: do_test where7-2.70.2 {
 1790:   count_steps_sort {
 1791:      SELECT a FROM t3
 1792:       WHERE b=825
 1793:          OR b=1004
 1794:          OR ((a BETWEEN 60 AND 62) AND a!=61)
 1795:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 1796:   }
 1797: } {56 58 60 62 75 scan 0 sort 0}
 1798: do_test where7-2.71.1 {
 1799:   count_steps_sort {
 1800:      SELECT a FROM t2
 1801:       WHERE a=65
 1802:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 1803:          OR c=22022
 1804:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
 1805:          OR b=671
 1806:          OR (g='onmlkji' AND f GLOB 'zabcd*')
 1807:          OR a=91
 1808:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
 1809:          OR ((a BETWEEN 47 AND 49) AND a!=48)
 1810:          OR b=1004
 1811:          OR b=960
 1812:   }
 1813: } {5 31 47 49 51 57 61 64 65 66 83 91 98 scan 0 sort 0}
 1814: do_test where7-2.71.2 {
 1815:   count_steps_sort {
 1816:      SELECT a FROM t3
 1817:       WHERE a=65
 1818:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 1819:          OR c=22022
 1820:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
 1821:          OR b=671
 1822:          OR (g='onmlkji' AND f GLOB 'zabcd*')
 1823:          OR a=91
 1824:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
 1825:          OR ((a BETWEEN 47 AND 49) AND a!=48)
 1826:          OR b=1004
 1827:          OR b=960
 1828:   }
 1829: } {5 31 47 49 51 57 61 64 65 66 83 91 98 scan 0 sort 0}
 1830: do_test where7-2.72.1 {
 1831:   count_steps_sort {
 1832:      SELECT a FROM t2
 1833:       WHERE b=762
 1834:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
 1835:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 1836:   }
 1837: } {56 58 93 scan 0 sort 0}
 1838: do_test where7-2.72.2 {
 1839:   count_steps_sort {
 1840:      SELECT a FROM t3
 1841:       WHERE b=762
 1842:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
 1843:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 1844:   }
 1845: } {56 58 93 scan 0 sort 0}
 1846: do_test where7-2.73.1 {
 1847:   count_steps_sort {
 1848:      SELECT a FROM t2
 1849:       WHERE (d>=11.0 AND d<12.0 AND d NOT NULL)
 1850:          OR a=14
 1851:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
 1852:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 1853:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
 1854:          OR b=212
 1855:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
 1856:   }
 1857: } {11 14 23 54 78 85 scan 0 sort 0}
 1858: do_test where7-2.73.2 {
 1859:   count_steps_sort {
 1860:      SELECT a FROM t3
 1861:       WHERE (d>=11.0 AND d<12.0 AND d NOT NULL)
 1862:          OR a=14
 1863:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
 1864:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 1865:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
 1866:          OR b=212
 1867:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
 1868:   }
 1869: } {11 14 23 54 78 85 scan 0 sort 0}
 1870: do_test where7-2.74.1 {
 1871:   count_steps_sort {
 1872:      SELECT a FROM t2
 1873:       WHERE (g='ihgfedc' AND f GLOB 'bcdef*')
 1874:          OR b=168
 1875:          OR b=25
 1876:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 1877:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
 1878:   }
 1879: } {66 79 89 scan 0 sort 0}
 1880: do_test where7-2.74.2 {
 1881:   count_steps_sort {
 1882:      SELECT a FROM t3
 1883:       WHERE (g='ihgfedc' AND f GLOB 'bcdef*')
 1884:          OR b=168
 1885:          OR b=25
 1886:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 1887:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
 1888:   }
 1889: } {66 79 89 scan 0 sort 0}
 1890: do_test where7-2.75.1 {
 1891:   count_steps_sort {
 1892:      SELECT a FROM t2
 1893:       WHERE c=28028
 1894:          OR f='jklmnopqr'
 1895:          OR b=1015
 1896:   }
 1897: } {9 35 61 82 83 84 87 scan 0 sort 0}
 1898: do_test where7-2.75.2 {
 1899:   count_steps_sort {
 1900:      SELECT a FROM t3
 1901:       WHERE c=28028
 1902:          OR f='jklmnopqr'
 1903:          OR b=1015
 1904:   }
 1905: } {9 35 61 82 83 84 87 scan 0 sort 0}
 1906: do_test where7-2.76.1 {
 1907:   count_steps_sort {
 1908:      SELECT a FROM t2
 1909:       WHERE c=31031
 1910:          OR (d>=100.0 AND d<101.0 AND d NOT NULL)
 1911:          OR ((a BETWEEN 87 AND 89) AND a!=88)
 1912:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
 1913:          OR a=49
 1914:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
 1915:          OR (g='mlkjihg' AND f GLOB 'klmno*')
 1916:   }
 1917: } {15 41 49 56 62 67 87 89 91 92 93 100 scan 0 sort 0}
 1918: do_test where7-2.76.2 {
 1919:   count_steps_sort {
 1920:      SELECT a FROM t3
 1921:       WHERE c=31031
 1922:          OR (d>=100.0 AND d<101.0 AND d NOT NULL)
 1923:          OR ((a BETWEEN 87 AND 89) AND a!=88)
 1924:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
 1925:          OR a=49
 1926:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
 1927:          OR (g='mlkjihg' AND f GLOB 'klmno*')
 1928:   }
 1929: } {15 41 49 56 62 67 87 89 91 92 93 100 scan 0 sort 0}
 1930: do_test where7-2.77.1 {
 1931:   count_steps_sort {
 1932:      SELECT a FROM t2
 1933:       WHERE a=80
 1934:          OR ((a BETWEEN 4 AND 6) AND a!=5)
 1935:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
 1936:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
 1937:          OR b=971
 1938:          OR a=60
 1939:   }
 1940: } {4 6 25 29 60 80 scan 0 sort 0}
 1941: do_test where7-2.77.2 {
 1942:   count_steps_sort {
 1943:      SELECT a FROM t3
 1944:       WHERE a=80
 1945:          OR ((a BETWEEN 4 AND 6) AND a!=5)
 1946:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
 1947:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
 1948:          OR b=971
 1949:          OR a=60
 1950:   }
 1951: } {4 6 25 29 60 80 scan 0 sort 0}
 1952: do_test where7-2.78.1 {
 1953:   count_steps_sort {
 1954:      SELECT a FROM t2
 1955:       WHERE (d>=85.0 AND d<86.0 AND d NOT NULL)
 1956:          OR (g='gfedcba' AND f GLOB 'lmnop*')
 1957:          OR ((a BETWEEN 30 AND 32) AND a!=31)
 1958:          OR b=1089
 1959:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
 1960:   }
 1961: } {30 32 43 85 89 99 scan 0 sort 0}
 1962: do_test where7-2.78.2 {
 1963:   count_steps_sort {
 1964:      SELECT a FROM t3
 1965:       WHERE (d>=85.0 AND d<86.0 AND d NOT NULL)
 1966:          OR (g='gfedcba' AND f GLOB 'lmnop*')
 1967:          OR ((a BETWEEN 30 AND 32) AND a!=31)
 1968:          OR b=1089
 1969:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
 1970:   }
 1971: } {30 32 43 85 89 99 scan 0 sort 0}
 1972: do_test where7-2.79.1 {
 1973:   count_steps_sort {
 1974:      SELECT a FROM t2
 1975:       WHERE b=399
 1976:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 1977:          OR (g='gfedcba' AND f GLOB 'mnopq*')
 1978:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 1979:          OR a=10
 1980:          OR b=1026
 1981:   }
 1982: } {9 10 11 57 90 scan 0 sort 0}
 1983: do_test where7-2.79.2 {
 1984:   count_steps_sort {
 1985:      SELECT a FROM t3
 1986:       WHERE b=399
 1987:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 1988:          OR (g='gfedcba' AND f GLOB 'mnopq*')
 1989:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 1990:          OR a=10
 1991:          OR b=1026
 1992:   }
 1993: } {9 10 11 57 90 scan 0 sort 0}
 1994: do_test where7-2.80.1 {
 1995:   count_steps_sort {
 1996:      SELECT a FROM t2
 1997:       WHERE (g='jihgfed' AND f GLOB 'yzabc*')
 1998:          OR b=465
 1999:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 2000:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 2001:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 2002:   }
 2003: } {5 43 65 76 scan 0 sort 0}
 2004: do_test where7-2.80.2 {
 2005:   count_steps_sort {
 2006:      SELECT a FROM t3
 2007:       WHERE (g='jihgfed' AND f GLOB 'yzabc*')
 2008:          OR b=465
 2009:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 2010:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 2011:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 2012:   }
 2013: } {5 43 65 76 scan 0 sort 0}
 2014: do_test where7-2.81.1 {
 2015:   count_steps_sort {
 2016:      SELECT a FROM t2
 2017:       WHERE a=25
 2018:          OR b=792
 2019:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 2020:   }
 2021: } {19 25 45 71 72 97 scan 0 sort 0}
 2022: do_test where7-2.81.2 {
 2023:   count_steps_sort {
 2024:      SELECT a FROM t3
 2025:       WHERE a=25
 2026:          OR b=792
 2027:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 2028:   }
 2029: } {19 25 45 71 72 97 scan 0 sort 0}
 2030: do_test where7-2.82.1 {
 2031:   count_steps_sort {
 2032:      SELECT a FROM t2
 2033:       WHERE b=979
 2034:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
 2035:          OR a=13
 2036:          OR a=15
 2037:          OR ((a BETWEEN 6 AND 8) AND a!=7)
 2038:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
 2039:          OR a=27
 2040:          OR ((a BETWEEN 98 AND 100) AND a!=99)
 2041:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
 2042:          OR a=32
 2043:          OR a=39
 2044:   }
 2045: } {6 8 13 15 21 27 32 39 67 89 98 100 scan 0 sort 0}
 2046: do_test where7-2.82.2 {
 2047:   count_steps_sort {
 2048:      SELECT a FROM t3
 2049:       WHERE b=979
 2050:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
 2051:          OR a=13
 2052:          OR a=15
 2053:          OR ((a BETWEEN 6 AND 8) AND a!=7)
 2054:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
 2055:          OR a=27
 2056:          OR ((a BETWEEN 98 AND 100) AND a!=99)
 2057:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
 2058:          OR a=32
 2059:          OR a=39
 2060:   }
 2061: } {6 8 13 15 21 27 32 39 67 89 98 100 scan 0 sort 0}
 2062: do_test where7-2.83.1 {
 2063:   count_steps_sort {
 2064:      SELECT a FROM t2
 2065:       WHERE f='hijklmnop'
 2066:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
 2067:          OR ((a BETWEEN 31 AND 33) AND a!=32)
 2068:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
 2069:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 2070:          OR ((a BETWEEN 77 AND 79) AND a!=78)
 2071:          OR b=528
 2072:          OR c=30030
 2073:          OR (g='qponmlk' AND f GLOB 'qrstu*')
 2074:   }
 2075: } {1 7 21 31 33 42 48 58 59 77 79 85 88 89 90 scan 0 sort 0}
 2076: do_test where7-2.83.2 {
 2077:   count_steps_sort {
 2078:      SELECT a FROM t3
 2079:       WHERE f='hijklmnop'
 2080:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
 2081:          OR ((a BETWEEN 31 AND 33) AND a!=32)
 2082:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
 2083:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 2084:          OR ((a BETWEEN 77 AND 79) AND a!=78)
 2085:          OR b=528
 2086:          OR c=30030
 2087:          OR (g='qponmlk' AND f GLOB 'qrstu*')
 2088:   }
 2089: } {1 7 21 31 33 42 48 58 59 77 79 85 88 89 90 scan 0 sort 0}
 2090: do_test where7-2.84.1 {
 2091:   count_steps_sort {
 2092:      SELECT a FROM t2
 2093:       WHERE b=69
 2094:          OR e IS NULL
 2095:          OR b=352
 2096:          OR 1000000<b
 2097:          OR b=289
 2098:   }
 2099: } {32 scan 0 sort 0}
 2100: do_test where7-2.84.2 {
 2101:   count_steps_sort {
 2102:      SELECT a FROM t3
 2103:       WHERE b=69
 2104:          OR e IS NULL
 2105:          OR b=352
 2106:          OR 1000000<b
 2107:          OR b=289
 2108:   }
 2109: } {32 scan 0 sort 0}
 2110: do_test where7-2.85.1 {
 2111:   count_steps_sort {
 2112:      SELECT a FROM t2
 2113:       WHERE (g='lkjihgf' AND f GLOB 'pqrst*')
 2114:          OR b=748
 2115:          OR b=696
 2116:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 2117:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
 2118:   }
 2119: } {4 30 43 56 67 68 82 scan 0 sort 0}
 2120: do_test where7-2.85.2 {
 2121:   count_steps_sort {
 2122:      SELECT a FROM t3
 2123:       WHERE (g='lkjihgf' AND f GLOB 'pqrst*')
 2124:          OR b=748
 2125:          OR b=696
 2126:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 2127:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
 2128:   }
 2129: } {4 30 43 56 67 68 82 scan 0 sort 0}
 2130: do_test where7-2.86.1 {
 2131:   count_steps_sort {
 2132:      SELECT a FROM t2
 2133:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
 2134:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 2135:          OR a=87
 2136:          OR a=80
 2137:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 2138:          OR b=784
 2139:          OR a=49
 2140:          OR ((a BETWEEN 34 AND 36) AND a!=35)
 2141:   }
 2142: } {34 36 40 49 68 71 73 80 87 scan 0 sort 0}
 2143: do_test where7-2.86.2 {
 2144:   count_steps_sort {
 2145:      SELECT a FROM t3
 2146:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
 2147:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 2148:          OR a=87
 2149:          OR a=80
 2150:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 2151:          OR b=784
 2152:          OR a=49
 2153:          OR ((a BETWEEN 34 AND 36) AND a!=35)
 2154:   }
 2155: } {34 36 40 49 68 71 73 80 87 scan 0 sort 0}
 2156: do_test where7-2.87.1 {
 2157:   count_steps_sort {
 2158:      SELECT a FROM t2
 2159:       WHERE ((a BETWEEN 14 AND 16) AND a!=15)
 2160:          OR (g='wvutsrq' AND f GLOB 'jklmn*')
 2161:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
 2162:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 2163:          OR c=1001
 2164:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
 2165:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
 2166:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 2167:          OR c=33033
 2168:   }
 2169: } {1 2 3 8 9 14 16 78 85 86 97 98 99 scan 0 sort 0}
 2170: do_test where7-2.87.2 {
 2171:   count_steps_sort {
 2172:      SELECT a FROM t3
 2173:       WHERE ((a BETWEEN 14 AND 16) AND a!=15)
 2174:          OR (g='wvutsrq' AND f GLOB 'jklmn*')
 2175:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
 2176:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 2177:          OR c=1001
 2178:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
 2179:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
 2180:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 2181:          OR c=33033
 2182:   }
 2183: } {1 2 3 8 9 14 16 78 85 86 97 98 99 scan 0 sort 0}
 2184: do_test where7-2.88.1 {
 2185:   count_steps_sort {
 2186:      SELECT a FROM t2
 2187:       WHERE b=311
 2188:          OR b=1103
 2189:          OR b=88
 2190:   }
 2191: } {8 scan 0 sort 0}
 2192: do_test where7-2.88.2 {
 2193:   count_steps_sort {
 2194:      SELECT a FROM t3
 2195:       WHERE b=311
 2196:          OR b=1103
 2197:          OR b=88
 2198:   }
 2199: } {8 scan 0 sort 0}
 2200: do_test where7-2.89.1 {
 2201:   count_steps_sort {
 2202:      SELECT a FROM t2
 2203:       WHERE ((a BETWEEN 65 AND 67) AND a!=66)
 2204:          OR ((a BETWEEN 26 AND 28) AND a!=27)
 2205:          OR c=5005
 2206:          OR b=1045
 2207:          OR c=8008
 2208:          OR f='bcdefghij'
 2209:   }
 2210: } {1 13 14 15 22 23 24 26 27 28 53 65 67 79 95 scan 0 sort 0}
 2211: do_test where7-2.89.2 {
 2212:   count_steps_sort {
 2213:      SELECT a FROM t3
 2214:       WHERE ((a BETWEEN 65 AND 67) AND a!=66)
 2215:          OR ((a BETWEEN 26 AND 28) AND a!=27)
 2216:          OR c=5005
 2217:          OR b=1045
 2218:          OR c=8008
 2219:          OR f='bcdefghij'
 2220:   }
 2221: } {1 13 14 15 22 23 24 26 27 28 53 65 67 79 95 scan 0 sort 0}
 2222: do_test where7-2.90.1 {
 2223:   count_steps_sort {
 2224:      SELECT a FROM t2
 2225:       WHERE b=66
 2226:          OR b=553
 2227:          OR a=64
 2228:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
 2229:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
 2230:          OR a=62
 2231:          OR b=1081
 2232:          OR b=770
 2233:          OR b=762
 2234:          OR b=803
 2235:          OR (g='srqponm' AND f GLOB 'efghi*')
 2236:   }
 2237: } {6 17 30 62 64 70 73 93 scan 0 sort 0}
 2238: do_test where7-2.90.2 {
 2239:   count_steps_sort {
 2240:      SELECT a FROM t3
 2241:       WHERE b=66
 2242:          OR b=553
 2243:          OR a=64
 2244:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
 2245:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
 2246:          OR a=62
 2247:          OR b=1081
 2248:          OR b=770
 2249:          OR b=762
 2250:          OR b=803
 2251:          OR (g='srqponm' AND f GLOB 'efghi*')
 2252:   }
 2253: } {6 17 30 62 64 70 73 93 scan 0 sort 0}
 2254: do_test where7-2.91.1 {
 2255:   count_steps_sort {
 2256:      SELECT a FROM t2
 2257:       WHERE (g='wvutsrq' AND f GLOB 'klmno*')
 2258:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 2259:          OR c=17017
 2260:          OR b=168
 2261:          OR ((a BETWEEN 77 AND 79) AND a!=78)
 2262:   }
 2263: } {10 19 45 49 50 51 71 77 79 97 scan 0 sort 0}
 2264: do_test where7-2.91.2 {
 2265:   count_steps_sort {
 2266:      SELECT a FROM t3
 2267:       WHERE (g='wvutsrq' AND f GLOB 'klmno*')
 2268:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 2269:          OR c=17017
 2270:          OR b=168
 2271:          OR ((a BETWEEN 77 AND 79) AND a!=78)
 2272:   }
 2273: } {10 19 45 49 50 51 71 77 79 97 scan 0 sort 0}
 2274: do_test where7-2.92.1 {
 2275:   count_steps_sort {
 2276:      SELECT a FROM t2
 2277:       WHERE c=34034
 2278:          OR (d>=68.0 AND d<69.0 AND d NOT NULL)
 2279:          OR a=44
 2280:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
 2281:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 2282:          OR c=31031
 2283:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 2284:          OR b=619
 2285:          OR (f GLOB '?efgh*' AND f GLOB 'defg*')
 2286:          OR ((a BETWEEN 29 AND 31) AND a!=30)
 2287:   }
 2288: } {3 12 23 29 31 44 55 68 78 81 91 92 93 100 scan 0 sort 0}
 2289: do_test where7-2.92.2 {
 2290:   count_steps_sort {
 2291:      SELECT a FROM t3
 2292:       WHERE c=34034
 2293:          OR (d>=68.0 AND d<69.0 AND d NOT NULL)
 2294:          OR a=44
 2295:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
 2296:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 2297:          OR c=31031
 2298:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 2299:          OR b=619
 2300:          OR (f GLOB '?efgh*' AND f GLOB 'defg*')
 2301:          OR ((a BETWEEN 29 AND 31) AND a!=30)
 2302:   }
 2303: } {3 12 23 29 31 44 55 68 78 81 91 92 93 100 scan 0 sort 0}
 2304: do_test where7-2.93.1 {
 2305:   count_steps_sort {
 2306:      SELECT a FROM t2
 2307:       WHERE a=48
 2308:          OR c=15015
 2309:          OR ((a BETWEEN 65 AND 67) AND a!=66)
 2310:          OR ((a BETWEEN 97 AND 99) AND a!=98)
 2311:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
 2312:          OR b=110
 2313:          OR f='klmnopqrs'
 2314:          OR (g='fedcbaz' AND f GLOB 'qrstu*')
 2315:          OR (g='onmlkji' AND f GLOB 'abcde*')
 2316:          OR b=674
 2317:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 2318:   }
 2319: } {10 36 43 44 45 48 52 62 65 67 88 94 96 97 99 scan 0 sort 0}
 2320: do_test where7-2.93.2 {
 2321:   count_steps_sort {
 2322:      SELECT a FROM t3
 2323:       WHERE a=48
 2324:          OR c=15015
 2325:          OR ((a BETWEEN 65 AND 67) AND a!=66)
 2326:          OR ((a BETWEEN 97 AND 99) AND a!=98)
 2327:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
 2328:          OR b=110
 2329:          OR f='klmnopqrs'
 2330:          OR (g='fedcbaz' AND f GLOB 'qrstu*')
 2331:          OR (g='onmlkji' AND f GLOB 'abcde*')
 2332:          OR b=674
 2333:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 2334:   }
 2335: } {10 36 43 44 45 48 52 62 65 67 88 94 96 97 99 scan 0 sort 0}
 2336: do_test where7-2.94.1 {
 2337:   count_steps_sort {
 2338:      SELECT a FROM t2
 2339:       WHERE a=72
 2340:          OR b=913
 2341:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 2342:          OR b=121
 2343:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
 2344:   }
 2345: } {2 11 28 72 83 scan 0 sort 0}
 2346: do_test where7-2.94.2 {
 2347:   count_steps_sort {
 2348:      SELECT a FROM t3
 2349:       WHERE a=72
 2350:          OR b=913
 2351:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 2352:          OR b=121
 2353:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
 2354:   }
 2355: } {2 11 28 72 83 scan 0 sort 0}
 2356: do_test where7-2.95.1 {
 2357:   count_steps_sort {
 2358:      SELECT a FROM t2
 2359:       WHERE a=18
 2360:          OR b=286
 2361:          OR b=1015
 2362:          OR a=49
 2363:          OR b=264
 2364:   }
 2365: } {18 24 26 49 scan 0 sort 0}
 2366: do_test where7-2.95.2 {
 2367:   count_steps_sort {
 2368:      SELECT a FROM t3
 2369:       WHERE a=18
 2370:          OR b=286
 2371:          OR b=1015
 2372:          OR a=49
 2373:          OR b=264
 2374:   }
 2375: } {18 24 26 49 scan 0 sort 0}
 2376: do_test where7-2.96.1 {
 2377:   count_steps_sort {
 2378:      SELECT a FROM t2
 2379:       WHERE b=69
 2380:          OR a=11
 2381:          OR c=1001
 2382:          OR ((a BETWEEN 54 AND 56) AND a!=55)
 2383:          OR a=57
 2384:          OR ((a BETWEEN 48 AND 50) AND a!=49)
 2385:   }
 2386: } {1 2 3 11 48 50 54 56 57 scan 0 sort 0}
 2387: do_test where7-2.96.2 {
 2388:   count_steps_sort {
 2389:      SELECT a FROM t3
 2390:       WHERE b=69
 2391:          OR a=11
 2392:          OR c=1001
 2393:          OR ((a BETWEEN 54 AND 56) AND a!=55)
 2394:          OR a=57
 2395:          OR ((a BETWEEN 48 AND 50) AND a!=49)
 2396:   }
 2397: } {1 2 3 11 48 50 54 56 57 scan 0 sort 0}
 2398: do_test where7-2.97.1 {
 2399:   count_steps_sort {
 2400:      SELECT a FROM t2
 2401:       WHERE b=231
 2402:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
 2403:   }
 2404: } {21 84 scan 0 sort 0}
 2405: do_test where7-2.97.2 {
 2406:   count_steps_sort {
 2407:      SELECT a FROM t3
 2408:       WHERE b=231
 2409:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
 2410:   }
 2411: } {21 84 scan 0 sort 0}
 2412: do_test where7-2.98.1 {
 2413:   count_steps_sort {
 2414:      SELECT a FROM t2
 2415:       WHERE b=25
 2416:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
 2417:          OR ((a BETWEEN 81 AND 83) AND a!=82)
 2418:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
 2419:          OR ((a BETWEEN 3 AND 5) AND a!=4)
 2420:          OR b=289
 2421:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 2422:   }
 2423: } {3 5 17 23 81 83 85 87 scan 0 sort 0}
 2424: do_test where7-2.98.2 {
 2425:   count_steps_sort {
 2426:      SELECT a FROM t3
 2427:       WHERE b=25
 2428:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
 2429:          OR ((a BETWEEN 81 AND 83) AND a!=82)
 2430:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
 2431:          OR ((a BETWEEN 3 AND 5) AND a!=4)
 2432:          OR b=289
 2433:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 2434:   }
 2435: } {3 5 17 23 81 83 85 87 scan 0 sort 0}
 2436: do_test where7-2.99.1 {
 2437:   count_steps_sort {
 2438:      SELECT a FROM t2
 2439:       WHERE f='defghijkl'
 2440:          OR b=465
 2441:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
 2442:          OR c=9009
 2443:          OR b=990
 2444:          OR b=132
 2445:          OR a=35
 2446:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
 2447:          OR a=81
 2448:          OR ((a BETWEEN 71 AND 73) AND a!=72)
 2449:   }
 2450: } {3 12 25 26 27 29 35 46 55 71 73 78 81 90 scan 0 sort 0}
 2451: do_test where7-2.99.2 {
 2452:   count_steps_sort {
 2453:      SELECT a FROM t3
 2454:       WHERE f='defghijkl'
 2455:          OR b=465
 2456:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
 2457:          OR c=9009
 2458:          OR b=990
 2459:          OR b=132
 2460:          OR a=35
 2461:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
 2462:          OR a=81
 2463:          OR ((a BETWEEN 71 AND 73) AND a!=72)
 2464:   }
 2465: } {3 12 25 26 27 29 35 46 55 71 73 78 81 90 scan 0 sort 0}
 2466: do_test where7-2.100.1 {
 2467:   count_steps_sort {
 2468:      SELECT a FROM t2
 2469:       WHERE c=26026
 2470:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
 2471:          OR f='lmnopqrst'
 2472:          OR a=6
 2473:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 2474:   }
 2475: } {6 9 11 37 59 61 63 76 77 78 89 scan 0 sort 0}
 2476: do_test where7-2.100.2 {
 2477:   count_steps_sort {
 2478:      SELECT a FROM t3
 2479:       WHERE c=26026
 2480:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
 2481:          OR f='lmnopqrst'
 2482:          OR a=6
 2483:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 2484:   }
 2485: } {6 9 11 37 59 61 63 76 77 78 89 scan 0 sort 0}
 2486: do_test where7-2.101.1 {
 2487:   count_steps_sort {
 2488:      SELECT a FROM t2
 2489:       WHERE ((a BETWEEN 98 AND 100) AND a!=99)
 2490:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
 2491:   }
 2492: } {7 98 100 scan 0 sort 0}
 2493: do_test where7-2.101.2 {
 2494:   count_steps_sort {
 2495:      SELECT a FROM t3
 2496:       WHERE ((a BETWEEN 98 AND 100) AND a!=99)
 2497:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
 2498:   }
 2499: } {7 98 100 scan 0 sort 0}
 2500: do_test where7-2.102.1 {
 2501:   count_steps_sort {
 2502:      SELECT a FROM t2
 2503:       WHERE c=11011
 2504:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
 2505:          OR b=630
 2506:          OR c=19019
 2507:          OR (g='gfedcba' AND f GLOB 'lmnop*')
 2508:          OR a=24
 2509:          OR (d>=95.0 AND d<96.0 AND d NOT NULL)
 2510:          OR ((a BETWEEN 51 AND 53) AND a!=52)
 2511:   }
 2512: } {24 31 32 33 51 53 55 56 57 89 95 scan 0 sort 0}
 2513: do_test where7-2.102.2 {
 2514:   count_steps_sort {
 2515:      SELECT a FROM t3
 2516:       WHERE c=11011
 2517:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
 2518:          OR b=630
 2519:          OR c=19019
 2520:          OR (g='gfedcba' AND f GLOB 'lmnop*')
 2521:          OR a=24
 2522:          OR (d>=95.0 AND d<96.0 AND d NOT NULL)
 2523:          OR ((a BETWEEN 51 AND 53) AND a!=52)
 2524:   }
 2525: } {24 31 32 33 51 53 55 56 57 89 95 scan 0 sort 0}
 2526: do_test where7-2.103.1 {
 2527:   count_steps_sort {
 2528:      SELECT a FROM t2
 2529:       WHERE ((a BETWEEN 91 AND 93) AND a!=92)
 2530:          OR b=993
 2531:          OR a=81
 2532:          OR b=366
 2533:          OR b=69
 2534:   }
 2535: } {81 91 93 scan 0 sort 0}
 2536: do_test where7-2.103.2 {
 2537:   count_steps_sort {
 2538:      SELECT a FROM t3
 2539:       WHERE ((a BETWEEN 91 AND 93) AND a!=92)
 2540:          OR b=993
 2541:          OR a=81
 2542:          OR b=366
 2543:          OR b=69
 2544:   }
 2545: } {81 91 93 scan 0 sort 0}
 2546: do_test where7-2.104.1 {
 2547:   count_steps_sort {
 2548:      SELECT a FROM t2
 2549:       WHERE f='stuvwxyza'
 2550:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
 2551:          OR ((a BETWEEN 1 AND 3) AND a!=2)
 2552:          OR b=1037
 2553:          OR f='zabcdefgh'
 2554:          OR (g='gfedcba' AND f GLOB 'mnopq*')
 2555:   }
 2556: } {1 3 18 24 25 44 50 51 70 76 77 90 96 scan 0 sort 0}
 2557: do_test where7-2.104.2 {
 2558:   count_steps_sort {
 2559:      SELECT a FROM t3
 2560:       WHERE f='stuvwxyza'
 2561:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
 2562:          OR ((a BETWEEN 1 AND 3) AND a!=2)
 2563:          OR b=1037
 2564:          OR f='zabcdefgh'
 2565:          OR (g='gfedcba' AND f GLOB 'mnopq*')
 2566:   }
 2567: } {1 3 18 24 25 44 50 51 70 76 77 90 96 scan 0 sort 0}
 2568: do_test where7-2.105.1 {
 2569:   count_steps_sort {
 2570:      SELECT a FROM t2
 2571:       WHERE (g='xwvutsr' AND f GLOB 'ghijk*')
 2572:          OR ((a BETWEEN 4 AND 6) AND a!=5)
 2573:          OR ((a BETWEEN 30 AND 32) AND a!=31)
 2574:   }
 2575: } {4 6 30 32 scan 0 sort 0}
 2576: do_test where7-2.105.2 {
 2577:   count_steps_sort {
 2578:      SELECT a FROM t3
 2579:       WHERE (g='xwvutsr' AND f GLOB 'ghijk*')
 2580:          OR ((a BETWEEN 4 AND 6) AND a!=5)
 2581:          OR ((a BETWEEN 30 AND 32) AND a!=31)
 2582:   }
 2583: } {4 6 30 32 scan 0 sort 0}
 2584: do_test where7-2.106.1 {
 2585:   count_steps_sort {
 2586:      SELECT a FROM t2
 2587:       WHERE b=847
 2588:          OR b=190
 2589:          OR ((a BETWEEN 38 AND 40) AND a!=39)
 2590:          OR ((a BETWEEN 70 AND 72) AND a!=71)
 2591:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
 2592:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
 2593:          OR b=704
 2594:   }
 2595: } {9 23 35 38 40 61 64 70 72 77 87 scan 0 sort 0}
 2596: do_test where7-2.106.2 {
 2597:   count_steps_sort {
 2598:      SELECT a FROM t3
 2599:       WHERE b=847
 2600:          OR b=190
 2601:          OR ((a BETWEEN 38 AND 40) AND a!=39)
 2602:          OR ((a BETWEEN 70 AND 72) AND a!=71)
 2603:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
 2604:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
 2605:          OR b=704
 2606:   }
 2607: } {9 23 35 38 40 61 64 70 72 77 87 scan 0 sort 0}
 2608: do_test where7-2.107.1 {
 2609:   count_steps_sort {
 2610:      SELECT a FROM t2
 2611:       WHERE b=88
 2612:          OR f='vwxyzabcd'
 2613:          OR f='fghijklmn'
 2614:          OR (g='gfedcba' AND f GLOB 'lmnop*')
 2615:   }
 2616: } {5 8 21 31 47 57 73 83 89 99 scan 0 sort 0}
 2617: do_test where7-2.107.2 {
 2618:   count_steps_sort {
 2619:      SELECT a FROM t3
 2620:       WHERE b=88
 2621:          OR f='vwxyzabcd'
 2622:          OR f='fghijklmn'
 2623:          OR (g='gfedcba' AND f GLOB 'lmnop*')
 2624:   }
 2625: } {5 8 21 31 47 57 73 83 89 99 scan 0 sort 0}
 2626: do_test where7-2.108.1 {
 2627:   count_steps_sort {
 2628:      SELECT a FROM t2
 2629:       WHERE b=498
 2630:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
 2631:          OR a=1
 2632:   }
 2633: } {1 69 scan 0 sort 0}
 2634: do_test where7-2.108.2 {
 2635:   count_steps_sort {
 2636:      SELECT a FROM t3
 2637:       WHERE b=498
 2638:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
 2639:          OR a=1
 2640:   }
 2641: } {1 69 scan 0 sort 0}
 2642: do_test where7-2.109.1 {
 2643:   count_steps_sort {
 2644:      SELECT a FROM t2
 2645:       WHERE ((a BETWEEN 47 AND 49) AND a!=48)
 2646:          OR a=5
 2647:          OR b=179
 2648:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
 2649:          OR a=69
 2650:   }
 2651: } {5 17 43 47 49 69 95 scan 0 sort 0}
 2652: do_test where7-2.109.2 {
 2653:   count_steps_sort {
 2654:      SELECT a FROM t3
 2655:       WHERE ((a BETWEEN 47 AND 49) AND a!=48)
 2656:          OR a=5
 2657:          OR b=179
 2658:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
 2659:          OR a=69
 2660:   }
 2661: } {5 17 43 47 49 69 95 scan 0 sort 0}
 2662: do_test where7-2.110.1 {
 2663:   count_steps_sort {
 2664:      SELECT a FROM t2
 2665:       WHERE b=971
 2666:          OR (g='xwvutsr' AND f GLOB 'hijkl*')
 2667:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
 2668:          OR b=828
 2669:          OR a=81
 2670:          OR ((a BETWEEN 23 AND 25) AND a!=24)
 2671:          OR b=627
 2672:          OR b=355
 2673:          OR b=377
 2674:          OR a=44
 2675:   }
 2676: } {1 7 23 25 44 57 81 scan 0 sort 0}
 2677: do_test where7-2.110.2 {
 2678:   count_steps_sort {
 2679:      SELECT a FROM t3
 2680:       WHERE b=971
 2681:          OR (g='xwvutsr' AND f GLOB 'hijkl*')
 2682:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
 2683:          OR b=828
 2684:          OR a=81
 2685:          OR ((a BETWEEN 23 AND 25) AND a!=24)
 2686:          OR b=627
 2687:          OR b=355
 2688:          OR b=377
 2689:          OR a=44
 2690:   }
 2691: } {1 7 23 25 44 57 81 scan 0 sort 0}
 2692: do_test where7-2.111.1 {
 2693:   count_steps_sort {
 2694:      SELECT a FROM t2
 2695:       WHERE b=850
 2696:          OR ((a BETWEEN 6 AND 8) AND a!=7)
 2697:   }
 2698: } {6 8 scan 0 sort 0}
 2699: do_test where7-2.111.2 {
 2700:   count_steps_sort {
 2701:      SELECT a FROM t3
 2702:       WHERE b=850
 2703:          OR ((a BETWEEN 6 AND 8) AND a!=7)
 2704:   }
 2705: } {6 8 scan 0 sort 0}
 2706: do_test where7-2.112.1 {
 2707:   count_steps_sort {
 2708:      SELECT a FROM t2
 2709:       WHERE (g='lkjihgf' AND f GLOB 'opqrs*')
 2710:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
 2711:   }
 2712: } {17 43 66 69 95 scan 0 sort 0}
 2713: do_test where7-2.112.2 {
 2714:   count_steps_sort {
 2715:      SELECT a FROM t3
 2716:       WHERE (g='lkjihgf' AND f GLOB 'opqrs*')
 2717:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
 2718:   }
 2719: } {17 43 66 69 95 scan 0 sort 0}
 2720: do_test where7-2.113.1 {
 2721:   count_steps_sort {
 2722:      SELECT a FROM t2
 2723:       WHERE b=726
 2724:          OR b=740
 2725:          OR a=33
 2726:          OR c=8008
 2727:          OR f='rstuvwxyz'
 2728:          OR b=168
 2729:   }
 2730: } {17 22 23 24 33 43 66 69 95 scan 0 sort 0}
 2731: do_test where7-2.113.2 {
 2732:   count_steps_sort {
 2733:      SELECT a FROM t3
 2734:       WHERE b=726
 2735:          OR b=740
 2736:          OR a=33
 2737:          OR c=8008
 2738:          OR f='rstuvwxyz'
 2739:          OR b=168
 2740:   }
 2741: } {17 22 23 24 33 43 66 69 95 scan 0 sort 0}
 2742: do_test where7-2.114.1 {
 2743:   count_steps_sort {
 2744:      SELECT a FROM t2
 2745:       WHERE (g='vutsrqp' AND f GLOB 'rstuv*')
 2746:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
 2747:          OR b=396
 2748:   }
 2749: } {17 19 36 scan 0 sort 0}
 2750: do_test where7-2.114.2 {
 2751:   count_steps_sort {
 2752:      SELECT a FROM t3
 2753:       WHERE (g='vutsrqp' AND f GLOB 'rstuv*')
 2754:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
 2755:          OR b=396
 2756:   }
 2757: } {17 19 36 scan 0 sort 0}
 2758: do_test where7-2.115.1 {
 2759:   count_steps_sort {
 2760:      SELECT a FROM t2
 2761:       WHERE a=77
 2762:          OR ((a BETWEEN 48 AND 50) AND a!=49)
 2763:          OR c<=10
 2764:          OR ((a BETWEEN 5 AND 7) AND a!=6)
 2765:   }
 2766: } {5 7 48 50 77 scan 0 sort 0}
 2767: do_test where7-2.115.2 {
 2768:   count_steps_sort {
 2769:      SELECT a FROM t3
 2770:       WHERE a=77
 2771:          OR ((a BETWEEN 48 AND 50) AND a!=49)
 2772:          OR c<=10
 2773:          OR ((a BETWEEN 5 AND 7) AND a!=6)
 2774:   }
 2775: } {5 7 48 50 77 scan 0 sort 0}
 2776: do_test where7-2.116.1 {
 2777:   count_steps_sort {
 2778:      SELECT a FROM t2
 2779:       WHERE ((a BETWEEN 12 AND 14) AND a!=13)
 2780:          OR ((a BETWEEN 13 AND 15) AND a!=14)
 2781:          OR b=253
 2782:          OR ((a BETWEEN 20 AND 22) AND a!=21)
 2783:          OR b=396
 2784:          OR b=630
 2785:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 2786:          OR c=3003
 2787:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
 2788:   }
 2789: } {1 7 8 9 12 13 14 15 20 22 23 27 36 49 53 79 scan 0 sort 0}
 2790: do_test where7-2.116.2 {
 2791:   count_steps_sort {
 2792:      SELECT a FROM t3
 2793:       WHERE ((a BETWEEN 12 AND 14) AND a!=13)
 2794:          OR ((a BETWEEN 13 AND 15) AND a!=14)
 2795:          OR b=253
 2796:          OR ((a BETWEEN 20 AND 22) AND a!=21)
 2797:          OR b=396
 2798:          OR b=630
 2799:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 2800:          OR c=3003
 2801:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
 2802:   }
 2803: } {1 7 8 9 12 13 14 15 20 22 23 27 36 49 53 79 scan 0 sort 0}
 2804: do_test where7-2.117.1 {
 2805:   count_steps_sort {
 2806:      SELECT a FROM t2
 2807:       WHERE b=957
 2808:          OR b=242
 2809:          OR b=113
 2810:          OR b=957
 2811:          OR b=311
 2812:          OR b=143
 2813:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
 2814:          OR (g='onmlkji' AND f GLOB 'wxyza*')
 2815:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
 2816:   }
 2817: } {9 10 13 22 35 48 61 87 scan 0 sort 0}
 2818: do_test where7-2.117.2 {
 2819:   count_steps_sort {
 2820:      SELECT a FROM t3
 2821:       WHERE b=957
 2822:          OR b=242
 2823:          OR b=113
 2824:          OR b=957
 2825:          OR b=311
 2826:          OR b=143
 2827:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
 2828:          OR (g='onmlkji' AND f GLOB 'wxyza*')
 2829:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
 2830:   }
 2831: } {9 10 13 22 35 48 61 87 scan 0 sort 0}
 2832: do_test where7-2.118.1 {
 2833:   count_steps_sort {
 2834:      SELECT a FROM t2
 2835:       WHERE ((a BETWEEN 74 AND 76) AND a!=75)
 2836:          OR ((a BETWEEN 94 AND 96) AND a!=95)
 2837:          OR b=451
 2838:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
 2839:   }
 2840: } {41 66 74 76 94 96 scan 0 sort 0}
 2841: do_test where7-2.118.2 {
 2842:   count_steps_sort {
 2843:      SELECT a FROM t3
 2844:       WHERE ((a BETWEEN 74 AND 76) AND a!=75)
 2845:          OR ((a BETWEEN 94 AND 96) AND a!=95)
 2846:          OR b=451
 2847:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
 2848:   }
 2849: } {41 66 74 76 94 96 scan 0 sort 0}
 2850: do_test where7-2.119.1 {
 2851:   count_steps_sort {
 2852:      SELECT a FROM t2
 2853:       WHERE (d>=3.0 AND d<4.0 AND d NOT NULL)
 2854:          OR b=451
 2855:          OR b=363
 2856:          OR b=330
 2857:          OR (g='srqponm' AND f GLOB 'efghi*')
 2858:          OR ((a BETWEEN 52 AND 54) AND a!=53)
 2859:          OR (g='xwvutsr' AND f GLOB 'defgh*')
 2860:          OR ((a BETWEEN 81 AND 83) AND a!=82)
 2861:          OR (g='gfedcba' AND f GLOB 'lmnop*')
 2862:   }
 2863: } {3 30 33 41 52 54 81 83 89 scan 0 sort 0}
 2864: do_test where7-2.119.2 {
 2865:   count_steps_sort {
 2866:      SELECT a FROM t3
 2867:       WHERE (d>=3.0 AND d<4.0 AND d NOT NULL)
 2868:          OR b=451
 2869:          OR b=363
 2870:          OR b=330
 2871:          OR (g='srqponm' AND f GLOB 'efghi*')
 2872:          OR ((a BETWEEN 52 AND 54) AND a!=53)
 2873:          OR (g='xwvutsr' AND f GLOB 'defgh*')
 2874:          OR ((a BETWEEN 81 AND 83) AND a!=82)
 2875:          OR (g='gfedcba' AND f GLOB 'lmnop*')
 2876:   }
 2877: } {3 30 33 41 52 54 81 83 89 scan 0 sort 0}
 2878: do_test where7-2.120.1 {
 2879:   count_steps_sort {
 2880:      SELECT a FROM t2
 2881:       WHERE (g='fedcbaz' AND f GLOB 'rstuv*')
 2882:          OR (d>=68.0 AND d<69.0 AND d NOT NULL)
 2883:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
 2884:          OR e IS NULL
 2885:          OR b=759
 2886:   }
 2887: } {15 68 69 95 scan 0 sort 0}
 2888: do_test where7-2.120.2 {
 2889:   count_steps_sort {
 2890:      SELECT a FROM t3
 2891:       WHERE (g='fedcbaz' AND f GLOB 'rstuv*')
 2892:          OR (d>=68.0 AND d<69.0 AND d NOT NULL)
 2893:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
 2894:          OR e IS NULL
 2895:          OR b=759
 2896:   }
 2897: } {15 68 69 95 scan 0 sort 0}
 2898: do_test where7-2.121.1 {
 2899:   count_steps_sort {
 2900:      SELECT a FROM t2
 2901:       WHERE (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 2902:          OR ((a BETWEEN 19 AND 21) AND a!=20)
 2903:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 2904:   }
 2905: } {19 21 45 71 74 97 scan 0 sort 0}
 2906: do_test where7-2.121.2 {
 2907:   count_steps_sort {
 2908:      SELECT a FROM t3
 2909:       WHERE (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 2910:          OR ((a BETWEEN 19 AND 21) AND a!=20)
 2911:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 2912:   }
 2913: } {19 21 45 71 74 97 scan 0 sort 0}
 2914: do_test where7-2.122.1 {
 2915:   count_steps_sort {
 2916:      SELECT a FROM t2
 2917:       WHERE b=1037
 2918:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
 2919:          OR ((a BETWEEN 43 AND 45) AND a!=44)
 2920:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
 2921:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 2922:          OR ((a BETWEEN 75 AND 77) AND a!=76)
 2923:   }
 2924: } {27 43 45 47 75 77 82 scan 0 sort 0}
 2925: do_test where7-2.122.2 {
 2926:   count_steps_sort {
 2927:      SELECT a FROM t3
 2928:       WHERE b=1037
 2929:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
 2930:          OR ((a BETWEEN 43 AND 45) AND a!=44)
 2931:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
 2932:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 2933:          OR ((a BETWEEN 75 AND 77) AND a!=76)
 2934:   }
 2935: } {27 43 45 47 75 77 82 scan 0 sort 0}
 2936: do_test where7-2.123.1 {
 2937:   count_steps_sort {
 2938:      SELECT a FROM t2
 2939:       WHERE b=1045
 2940:          OR ((a BETWEEN 36 AND 38) AND a!=37)
 2941:          OR ((a BETWEEN 37 AND 39) AND a!=38)
 2942:          OR c=12012
 2943:   }
 2944: } {34 35 36 37 38 39 95 scan 0 sort 0}
 2945: do_test where7-2.123.2 {
 2946:   count_steps_sort {
 2947:      SELECT a FROM t3
 2948:       WHERE b=1045
 2949:          OR ((a BETWEEN 36 AND 38) AND a!=37)
 2950:          OR ((a BETWEEN 37 AND 39) AND a!=38)
 2951:          OR c=12012
 2952:   }
 2953: } {34 35 36 37 38 39 95 scan 0 sort 0}
 2954: do_test where7-2.124.1 {
 2955:   count_steps_sort {
 2956:      SELECT a FROM t2
 2957:       WHERE (g='fedcbaz' AND f GLOB 'tuvwx*')
 2958:          OR b=421
 2959:          OR b=429
 2960:          OR b=498
 2961:          OR b=33
 2962:          OR b=198
 2963:          OR c=14014
 2964:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
 2965:   }
 2966: } {3 18 23 39 40 41 42 49 75 97 scan 0 sort 0}
 2967: do_test where7-2.124.2 {
 2968:   count_steps_sort {
 2969:      SELECT a FROM t3
 2970:       WHERE (g='fedcbaz' AND f GLOB 'tuvwx*')
 2971:          OR b=421
 2972:          OR b=429
 2973:          OR b=498
 2974:          OR b=33
 2975:          OR b=198
 2976:          OR c=14014
 2977:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
 2978:   }
 2979: } {3 18 23 39 40 41 42 49 75 97 scan 0 sort 0}
 2980: do_test where7-2.125.1 {
 2981:   count_steps_sort {
 2982:      SELECT a FROM t2
 2983:       WHERE b=47
 2984:          OR c=31031
 2985:          OR a=38
 2986:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 2987:          OR (g='srqponm' AND f GLOB 'fghij*')
 2988:          OR b=242
 2989:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
 2990:          OR b=352
 2991:          OR a=49
 2992:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 2993:   }
 2994: } {8 22 31 32 34 38 49 57 60 70 86 91 92 93 scan 0 sort 0}
 2995: do_test where7-2.125.2 {
 2996:   count_steps_sort {
 2997:      SELECT a FROM t3
 2998:       WHERE b=47
 2999:          OR c=31031
 3000:          OR a=38
 3001:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 3002:          OR (g='srqponm' AND f GLOB 'fghij*')
 3003:          OR b=242
 3004:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
 3005:          OR b=352
 3006:          OR a=49
 3007:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 3008:   }
 3009: } {8 22 31 32 34 38 49 57 60 70 86 91 92 93 scan 0 sort 0}
 3010: do_test where7-2.126.1 {
 3011:   count_steps_sort {
 3012:      SELECT a FROM t2
 3013:       WHERE (d>=87.0 AND d<88.0 AND d NOT NULL)
 3014:          OR b=704
 3015:          OR a=7
 3016:          OR a=8
 3017:          OR a=46
 3018:          OR b=740
 3019:          OR b=993
 3020:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
 3021:   }
 3022: } {7 8 38 46 64 87 scan 0 sort 0}
 3023: do_test where7-2.126.2 {
 3024:   count_steps_sort {
 3025:      SELECT a FROM t3
 3026:       WHERE (d>=87.0 AND d<88.0 AND d NOT NULL)
 3027:          OR b=704
 3028:          OR a=7
 3029:          OR a=8
 3030:          OR a=46
 3031:          OR b=740
 3032:          OR b=993
 3033:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
 3034:   }
 3035: } {7 8 38 46 64 87 scan 0 sort 0}
 3036: do_test where7-2.127.1 {
 3037:   count_steps_sort {
 3038:      SELECT a FROM t2
 3039:       WHERE ((a BETWEEN 62 AND 64) AND a!=63)
 3040:          OR c=32032
 3041:          OR a=76
 3042:   }
 3043: } {62 64 76 94 95 96 scan 0 sort 0}
 3044: do_test where7-2.127.2 {
 3045:   count_steps_sort {
 3046:      SELECT a FROM t3
 3047:       WHERE ((a BETWEEN 62 AND 64) AND a!=63)
 3048:          OR c=32032
 3049:          OR a=76
 3050:   }
 3051: } {62 64 76 94 95 96 scan 0 sort 0}
 3052: do_test where7-2.128.1 {
 3053:   count_steps_sort {
 3054:      SELECT a FROM t2
 3055:       WHERE (g='utsrqpo' AND f GLOB 'tuvwx*')
 3056:          OR b=528
 3057:          OR (g='gfedcba' AND f GLOB 'nopqr*')
 3058:   }
 3059: } {19 48 91 scan 0 sort 0}
 3060: do_test where7-2.128.2 {
 3061:   count_steps_sort {
 3062:      SELECT a FROM t3
 3063:       WHERE (g='utsrqpo' AND f GLOB 'tuvwx*')
 3064:          OR b=528
 3065:          OR (g='gfedcba' AND f GLOB 'nopqr*')
 3066:   }
 3067: } {19 48 91 scan 0 sort 0}
 3068: do_test where7-2.129.1 {
 3069:   count_steps_sort {
 3070:      SELECT a FROM t2
 3071:       WHERE (d>=26.0 AND d<27.0 AND d NOT NULL)
 3072:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
 3073:          OR a=65
 3074:   }
 3075: } {26 65 97 scan 0 sort 0}
 3076: do_test where7-2.129.2 {
 3077:   count_steps_sort {
 3078:      SELECT a FROM t3
 3079:       WHERE (d>=26.0 AND d<27.0 AND d NOT NULL)
 3080:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
 3081:          OR a=65
 3082:   }
 3083: } {26 65 97 scan 0 sort 0}
 3084: do_test where7-2.130.1 {
 3085:   count_steps_sort {
 3086:      SELECT a FROM t2
 3087:       WHERE (d>=71.0 AND d<72.0 AND d NOT NULL)
 3088:          OR 1000000<b
 3089:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
 3090:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
 3091:          OR a=24
 3092:   }
 3093: } {2 24 50 71 scan 0 sort 0}
 3094: do_test where7-2.130.2 {
 3095:   count_steps_sort {
 3096:      SELECT a FROM t3
 3097:       WHERE (d>=71.0 AND d<72.0 AND d NOT NULL)
 3098:          OR 1000000<b
 3099:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
 3100:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
 3101:          OR a=24
 3102:   }
 3103: } {2 24 50 71 scan 0 sort 0}
 3104: do_test where7-2.131.1 {
 3105:   count_steps_sort {
 3106:      SELECT a FROM t2
 3107:       WHERE a=60
 3108:          OR a=39
 3109:          OR ((a BETWEEN 93 AND 95) AND a!=94)
 3110:          OR b=36
 3111:          OR b=814
 3112:          OR a=14
 3113:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 3114:          OR b=440
 3115:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 3116:          OR (f GLOB '?abcd*' AND f GLOB 'zabc*')
 3117:   }
 3118: } {5 14 25 39 40 51 60 61 74 77 93 95 scan 0 sort 0}
 3119: do_test where7-2.131.2 {
 3120:   count_steps_sort {
 3121:      SELECT a FROM t3
 3122:       WHERE a=60
 3123:          OR a=39
 3124:          OR ((a BETWEEN 93 AND 95) AND a!=94)
 3125:          OR b=36
 3126:          OR b=814
 3127:          OR a=14
 3128:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 3129:          OR b=440
 3130:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 3131:          OR (f GLOB '?abcd*' AND f GLOB 'zabc*')
 3132:   }
 3133: } {5 14 25 39 40 51 60 61 74 77 93 95 scan 0 sort 0}
 3134: do_test where7-2.132.1 {
 3135:   count_steps_sort {
 3136:      SELECT a FROM t2
 3137:       WHERE f IS NULL
 3138:          OR ((a BETWEEN 39 AND 41) AND a!=40)
 3139:   }
 3140: } {39 41 scan 0 sort 0}
 3141: do_test where7-2.132.2 {
 3142:   count_steps_sort {
 3143:      SELECT a FROM t3
 3144:       WHERE f IS NULL
 3145:          OR ((a BETWEEN 39 AND 41) AND a!=40)
 3146:   }
 3147: } {39 41 scan 0 sort 0}
 3148: do_test where7-2.133.1 {
 3149:   count_steps_sort {
 3150:      SELECT a FROM t2
 3151:       WHERE b=44
 3152:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 3153:   }
 3154: } {4 17 19 scan 0 sort 0}
 3155: do_test where7-2.133.2 {
 3156:   count_steps_sort {
 3157:      SELECT a FROM t3
 3158:       WHERE b=44
 3159:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 3160:   }
 3161: } {4 17 19 scan 0 sort 0}
 3162: do_test where7-2.134.1 {
 3163:   count_steps_sort {
 3164:      SELECT a FROM t2
 3165:       WHERE (d>=80.0 AND d<81.0 AND d NOT NULL)
 3166:          OR a=82
 3167:   }
 3168: } {80 82 scan 0 sort 0}
 3169: do_test where7-2.134.2 {
 3170:   count_steps_sort {
 3171:      SELECT a FROM t3
 3172:       WHERE (d>=80.0 AND d<81.0 AND d NOT NULL)
 3173:          OR a=82
 3174:   }
 3175: } {80 82 scan 0 sort 0}
 3176: do_test where7-2.135.1 {
 3177:   count_steps_sort {
 3178:      SELECT a FROM t2
 3179:       WHERE ((a BETWEEN 84 AND 86) AND a!=85)
 3180:          OR c=24024
 3181:          OR b=946
 3182:          OR a=19
 3183:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
 3184:   }
 3185: } {19 47 70 71 72 84 86 scan 0 sort 0}
 3186: do_test where7-2.135.2 {
 3187:   count_steps_sort {
 3188:      SELECT a FROM t3
 3189:       WHERE ((a BETWEEN 84 AND 86) AND a!=85)
 3190:          OR c=24024
 3191:          OR b=946
 3192:          OR a=19
 3193:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
 3194:   }
 3195: } {19 47 70 71 72 84 86 scan 0 sort 0}
 3196: do_test where7-2.136.1 {
 3197:   count_steps_sort {
 3198:      SELECT a FROM t2
 3199:       WHERE a=27
 3200:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 3201:          OR ((a BETWEEN 89 AND 91) AND a!=90)
 3202:          OR (g='ihgfedc' AND f GLOB 'efghi*')
 3203:          OR b=1045
 3204:          OR a=84
 3205:          OR f='qrstuvwxy'
 3206:   }
 3207: } {16 19 27 42 45 68 71 82 84 89 91 94 95 97 scan 0 sort 0}
 3208: do_test where7-2.136.2 {
 3209:   count_steps_sort {
 3210:      SELECT a FROM t3
 3211:       WHERE a=27
 3212:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 3213:          OR ((a BETWEEN 89 AND 91) AND a!=90)
 3214:          OR (g='ihgfedc' AND f GLOB 'efghi*')
 3215:          OR b=1045
 3216:          OR a=84
 3217:          OR f='qrstuvwxy'
 3218:   }
 3219: } {16 19 27 42 45 68 71 82 84 89 91 94 95 97 scan 0 sort 0}
 3220: do_test where7-2.137.1 {
 3221:   count_steps_sort {
 3222:      SELECT a FROM t2
 3223:       WHERE b=704
 3224:          OR b=949
 3225:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
 3226:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 3227:          OR c=24024
 3228:          OR b=553
 3229:          OR a=18
 3230:          OR a=92
 3231:   }
 3232: } {18 22 64 70 71 72 92 scan 0 sort 0}
 3233: do_test where7-2.137.2 {
 3234:   count_steps_sort {
 3235:      SELECT a FROM t3
 3236:       WHERE b=704
 3237:          OR b=949
 3238:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
 3239:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 3240:          OR c=24024
 3241:          OR b=553
 3242:          OR a=18
 3243:          OR a=92
 3244:   }
 3245: } {18 22 64 70 71 72 92 scan 0 sort 0}
 3246: do_test where7-2.138.1 {
 3247:   count_steps_sort {
 3248:      SELECT a FROM t2
 3249:       WHERE (f GLOB '?cdef*' AND f GLOB 'bcde*')
 3250:          OR (g='ihgfedc' AND f GLOB 'efghi*')
 3251:          OR b=902
 3252:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 3253:          OR b=25
 3254:          OR ((a BETWEEN 16 AND 18) AND a!=17)
 3255:          OR f='zabcdefgh'
 3256:          OR b=385
 3257:   }
 3258: } {1 16 18 25 27 35 51 53 61 77 79 82 scan 0 sort 0}
 3259: do_test where7-2.138.2 {
 3260:   count_steps_sort {
 3261:      SELECT a FROM t3
 3262:       WHERE (f GLOB '?cdef*' AND f GLOB 'bcde*')
 3263:          OR (g='ihgfedc' AND f GLOB 'efghi*')
 3264:          OR b=902
 3265:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 3266:          OR b=25
 3267:          OR ((a BETWEEN 16 AND 18) AND a!=17)
 3268:          OR f='zabcdefgh'
 3269:          OR b=385
 3270:   }
 3271: } {1 16 18 25 27 35 51 53 61 77 79 82 scan 0 sort 0}
 3272: do_test where7-2.139.1 {
 3273:   count_steps_sort {
 3274:      SELECT a FROM t2
 3275:       WHERE a=22
 3276:          OR b=36
 3277:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 3278:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 3279:          OR ((a BETWEEN 81 AND 83) AND a!=82)
 3280:   }
 3281: } {22 31 57 59 81 83 scan 0 sort 0}
 3282: do_test where7-2.139.2 {
 3283:   count_steps_sort {
 3284:      SELECT a FROM t3
 3285:       WHERE a=22
 3286:          OR b=36
 3287:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 3288:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 3289:          OR ((a BETWEEN 81 AND 83) AND a!=82)
 3290:   }
 3291: } {22 31 57 59 81 83 scan 0 sort 0}
 3292: do_test where7-2.140.1 {
 3293:   count_steps_sort {
 3294:      SELECT a FROM t2
 3295:       WHERE b=253
 3296:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
 3297:   }
 3298: } {23 60 scan 0 sort 0}
 3299: do_test where7-2.140.2 {
 3300:   count_steps_sort {
 3301:      SELECT a FROM t3
 3302:       WHERE b=253
 3303:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
 3304:   }
 3305: } {23 60 scan 0 sort 0}
 3306: do_test where7-2.141.1 {
 3307:   count_steps_sort {
 3308:      SELECT a FROM t2
 3309:       WHERE (f GLOB '?qrst*' AND f GLOB 'pqrs*')
 3310:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 3311:          OR b=641
 3312:          OR ((a BETWEEN 36 AND 38) AND a!=37)
 3313:   }
 3314: } {1 15 27 36 38 41 53 67 79 93 scan 0 sort 0}
 3315: do_test where7-2.141.2 {
 3316:   count_steps_sort {
 3317:      SELECT a FROM t3
 3318:       WHERE (f GLOB '?qrst*' AND f GLOB 'pqrs*')
 3319:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 3320:          OR b=641
 3321:          OR ((a BETWEEN 36 AND 38) AND a!=37)
 3322:   }
 3323: } {1 15 27 36 38 41 53 67 79 93 scan 0 sort 0}
 3324: do_test where7-2.142.1 {
 3325:   count_steps_sort {
 3326:      SELECT a FROM t2
 3327:       WHERE c=30030
 3328:          OR a=18
 3329:          OR ((a BETWEEN 44 AND 46) AND a!=45)
 3330:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 3331:          OR b=11
 3332:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 3333:          OR a=52
 3334:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 3335:          OR a=13
 3336:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
 3337:   }
 3338: } {1 13 18 22 40 44 46 52 65 88 89 90 scan 0 sort 0}
 3339: do_test where7-2.142.2 {
 3340:   count_steps_sort {
 3341:      SELECT a FROM t3
 3342:       WHERE c=30030
 3343:          OR a=18
 3344:          OR ((a BETWEEN 44 AND 46) AND a!=45)
 3345:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 3346:          OR b=11
 3347:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 3348:          OR a=52
 3349:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 3350:          OR a=13
 3351:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
 3352:   }
 3353: } {1 13 18 22 40 44 46 52 65 88 89 90 scan 0 sort 0}
 3354: do_test where7-2.143.1 {
 3355:   count_steps_sort {
 3356:      SELECT a FROM t2
 3357:       WHERE c=23023
 3358:          OR f='efghijklm'
 3359:          OR ((a BETWEEN 39 AND 41) AND a!=40)
 3360:          OR b=1045
 3361:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
 3362:          OR f='uvwxyzabc'
 3363:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
 3364:   }
 3365: } {4 20 24 30 39 41 46 50 56 67 68 69 72 76 82 95 98 scan 0 sort 0}
 3366: do_test where7-2.143.2 {
 3367:   count_steps_sort {
 3368:      SELECT a FROM t3
 3369:       WHERE c=23023
 3370:          OR f='efghijklm'
 3371:          OR ((a BETWEEN 39 AND 41) AND a!=40)
 3372:          OR b=1045
 3373:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
 3374:          OR f='uvwxyzabc'
 3375:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
 3376:   }
 3377: } {4 20 24 30 39 41 46 50 56 67 68 69 72 76 82 95 98 scan 0 sort 0}
 3378: do_test where7-2.144.1 {
 3379:   count_steps_sort {
 3380:      SELECT a FROM t2
 3381:       WHERE b=476
 3382:          OR a=11
 3383:          OR a=52
 3384:          OR b=858
 3385:          OR b=264
 3386:          OR f='wxyzabcde'
 3387:          OR c=18018
 3388:          OR b=597
 3389:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
 3390:   }
 3391: } {11 22 24 48 52 53 54 69 74 78 100 scan 0 sort 0}
 3392: do_test where7-2.144.2 {
 3393:   count_steps_sort {
 3394:      SELECT a FROM t3
 3395:       WHERE b=476
 3396:          OR a=11
 3397:          OR a=52
 3398:          OR b=858
 3399:          OR b=264
 3400:          OR f='wxyzabcde'
 3401:          OR c=18018
 3402:          OR b=597
 3403:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
 3404:   }
 3405: } {11 22 24 48 52 53 54 69 74 78 100 scan 0 sort 0}
 3406: do_test where7-2.145.1 {
 3407:   count_steps_sort {
 3408:      SELECT a FROM t2
 3409:       WHERE b=91
 3410:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 3411:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
 3412:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 3413:          OR ((a BETWEEN 89 AND 91) AND a!=90)
 3414:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
 3415:          OR b=102
 3416:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
 3417:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 3418:          OR b=784
 3419:   }
 3420: } {12 21 22 36 59 61 85 89 91 scan 0 sort 0}
 3421: do_test where7-2.145.2 {
 3422:   count_steps_sort {
 3423:      SELECT a FROM t3
 3424:       WHERE b=91
 3425:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 3426:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
 3427:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 3428:          OR ((a BETWEEN 89 AND 91) AND a!=90)
 3429:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
 3430:          OR b=102
 3431:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
 3432:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 3433:          OR b=784
 3434:   }
 3435: } {12 21 22 36 59 61 85 89 91 scan 0 sort 0}
 3436: do_test where7-2.146.1 {
 3437:   count_steps_sort {
 3438:      SELECT a FROM t2
 3439:       WHERE (g='vutsrqp' AND f GLOB 'opqrs*')
 3440:          OR (g='gfedcba' AND f GLOB 'nopqr*')
 3441:          OR b=990
 3442:          OR a=52
 3443:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
 3444:   }
 3445: } {14 38 52 90 91 scan 0 sort 0}
 3446: do_test where7-2.146.2 {
 3447:   count_steps_sort {
 3448:      SELECT a FROM t3
 3449:       WHERE (g='vutsrqp' AND f GLOB 'opqrs*')
 3450:          OR (g='gfedcba' AND f GLOB 'nopqr*')
 3451:          OR b=990
 3452:          OR a=52
 3453:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
 3454:   }
 3455: } {14 38 52 90 91 scan 0 sort 0}
 3456: do_test where7-2.147.1 {
 3457:   count_steps_sort {
 3458:      SELECT a FROM t2
 3459:       WHERE c=22022
 3460:          OR b=960
 3461:          OR ((a BETWEEN 43 AND 45) AND a!=44)
 3462:          OR a=48
 3463:          OR b=729
 3464:          OR ((a BETWEEN 41 AND 43) AND a!=42)
 3465:          OR a=44
 3466:          OR b=773
 3467:   }
 3468: } {41 43 44 45 48 64 65 66 scan 0 sort 0}
 3469: do_test where7-2.147.2 {
 3470:   count_steps_sort {
 3471:      SELECT a FROM t3
 3472:       WHERE c=22022
 3473:          OR b=960
 3474:          OR ((a BETWEEN 43 AND 45) AND a!=44)
 3475:          OR a=48
 3476:          OR b=729
 3477:          OR ((a BETWEEN 41 AND 43) AND a!=42)
 3478:          OR a=44
 3479:          OR b=773
 3480:   }
 3481: } {41 43 44 45 48 64 65 66 scan 0 sort 0}
 3482: do_test where7-2.148.1 {
 3483:   count_steps_sort {
 3484:      SELECT a FROM t2
 3485:       WHERE ((a BETWEEN 68 AND 70) AND a!=69)
 3486:          OR b=421
 3487:          OR ((a BETWEEN 22 AND 24) AND a!=23)
 3488:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
 3489:          OR (g='srqponm' AND f GLOB 'defgh*')
 3490:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 3491:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
 3492:          OR c=22022
 3493:          OR b=825
 3494:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 3495:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
 3496:   }
 3497: } {2 6 17 19 22 24 29 32 58 64 65 66 68 70 75 84 89 scan 0 sort 0}
 3498: do_test where7-2.148.2 {
 3499:   count_steps_sort {
 3500:      SELECT a FROM t3
 3501:       WHERE ((a BETWEEN 68 AND 70) AND a!=69)
 3502:          OR b=421
 3503:          OR ((a BETWEEN 22 AND 24) AND a!=23)
 3504:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
 3505:          OR (g='srqponm' AND f GLOB 'defgh*')
 3506:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 3507:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
 3508:          OR c=22022
 3509:          OR b=825
 3510:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 3511:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
 3512:   }
 3513: } {2 6 17 19 22 24 29 32 58 64 65 66 68 70 75 84 89 scan 0 sort 0}
 3514: do_test where7-2.149.1 {
 3515:   count_steps_sort {
 3516:      SELECT a FROM t2
 3517:       WHERE (d>=44.0 AND d<45.0 AND d NOT NULL)
 3518:          OR b=484
 3519:          OR b=1026
 3520:          OR a=90
 3521:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 3522:          OR b=608
 3523:          OR a=32
 3524:   }
 3525: } {32 44 74 90 scan 0 sort 0}
 3526: do_test where7-2.149.2 {
 3527:   count_steps_sort {
 3528:      SELECT a FROM t3
 3529:       WHERE (d>=44.0 AND d<45.0 AND d NOT NULL)
 3530:          OR b=484
 3531:          OR b=1026
 3532:          OR a=90
 3533:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 3534:          OR b=608
 3535:          OR a=32
 3536:   }
 3537: } {32 44 74 90 scan 0 sort 0}
 3538: do_test where7-2.150.1 {
 3539:   count_steps_sort {
 3540:      SELECT a FROM t2
 3541:       WHERE c<=10
 3542:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
 3543:          OR b=154
 3544:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
 3545:          OR b=880
 3546:          OR a=55
 3547:          OR b=773
 3548:          OR b=319
 3549:          OR (g='hgfedcb' AND f GLOB 'fghij*')
 3550:   }
 3551: } {14 29 55 76 77 80 83 scan 0 sort 0}
 3552: do_test where7-2.150.2 {
 3553:   count_steps_sort {
 3554:      SELECT a FROM t3
 3555:       WHERE c<=10
 3556:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
 3557:          OR b=154
 3558:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
 3559:          OR b=880
 3560:          OR a=55
 3561:          OR b=773
 3562:          OR b=319
 3563:          OR (g='hgfedcb' AND f GLOB 'fghij*')
 3564:   }
 3565: } {14 29 55 76 77 80 83 scan 0 sort 0}
 3566: do_test where7-2.151.1 {
 3567:   count_steps_sort {
 3568:      SELECT a FROM t2
 3569:       WHERE (g='wvutsrq' AND f GLOB 'ijklm*')
 3570:          OR f='mnopqrstu'
 3571:          OR a=62
 3572:   }
 3573: } {8 12 38 62 64 90 scan 0 sort 0}
 3574: do_test where7-2.151.2 {
 3575:   count_steps_sort {
 3576:      SELECT a FROM t3
 3577:       WHERE (g='wvutsrq' AND f GLOB 'ijklm*')
 3578:          OR f='mnopqrstu'
 3579:          OR a=62
 3580:   }
 3581: } {8 12 38 62 64 90 scan 0 sort 0}
 3582: do_test where7-2.152.1 {
 3583:   count_steps_sort {
 3584:      SELECT a FROM t2
 3585:       WHERE a=33
 3586:          OR b=1045
 3587:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
 3588:          OR c=13013
 3589:          OR (g='gfedcba' AND f GLOB 'mnopq*')
 3590:          OR b=124
 3591:          OR (g='gfedcba' AND f GLOB 'klmno*')
 3592:   }
 3593: } {33 37 38 39 40 88 90 95 scan 0 sort 0}
 3594: do_test where7-2.152.2 {
 3595:   count_steps_sort {
 3596:      SELECT a FROM t3
 3597:       WHERE a=33
 3598:          OR b=1045
 3599:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
 3600:          OR c=13013
 3601:          OR (g='gfedcba' AND f GLOB 'mnopq*')
 3602:          OR b=124
 3603:          OR (g='gfedcba' AND f GLOB 'klmno*')
 3604:   }
 3605: } {33 37 38 39 40 88 90 95 scan 0 sort 0}
 3606: do_test where7-2.153.1 {
 3607:   count_steps_sort {
 3608:      SELECT a FROM t2
 3609:       WHERE b=883
 3610:          OR c=32032
 3611:          OR f='fghijklmn'
 3612:          OR ((a BETWEEN 49 AND 51) AND a!=50)
 3613:          OR b=421
 3614:          OR b=803
 3615:          OR c=4004
 3616:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 3617:   }
 3618: } {2 5 10 11 12 28 31 49 51 54 57 73 80 83 94 95 96 scan 0 sort 0}
 3619: do_test where7-2.153.2 {
 3620:   count_steps_sort {
 3621:      SELECT a FROM t3
 3622:       WHERE b=883
 3623:          OR c=32032
 3624:          OR f='fghijklmn'
 3625:          OR ((a BETWEEN 49 AND 51) AND a!=50)
 3626:          OR b=421
 3627:          OR b=803
 3628:          OR c=4004
 3629:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 3630:   }
 3631: } {2 5 10 11 12 28 31 49 51 54 57 73 80 83 94 95 96 scan 0 sort 0}
 3632: do_test where7-2.154.1 {
 3633:   count_steps_sort {
 3634:      SELECT a FROM t2
 3635:       WHERE (f GLOB '?rstu*' AND f GLOB 'qrst*')
 3636:          OR b=99
 3637:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
 3638:   }
 3639: } {9 16 42 68 72 94 scan 0 sort 0}
 3640: do_test where7-2.154.2 {
 3641:   count_steps_sort {
 3642:      SELECT a FROM t3
 3643:       WHERE (f GLOB '?rstu*' AND f GLOB 'qrst*')
 3644:          OR b=99
 3645:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
 3646:   }
 3647: } {9 16 42 68 72 94 scan 0 sort 0}
 3648: do_test where7-2.155.1 {
 3649:   count_steps_sort {
 3650:      SELECT a FROM t2
 3651:       WHERE f='defghijkl'
 3652:          OR b=308
 3653:   }
 3654: } {3 28 29 55 81 scan 0 sort 0}
 3655: do_test where7-2.155.2 {
 3656:   count_steps_sort {
 3657:      SELECT a FROM t3
 3658:       WHERE f='defghijkl'
 3659:          OR b=308
 3660:   }
 3661: } {3 28 29 55 81 scan 0 sort 0}
 3662: do_test where7-2.156.1 {
 3663:   count_steps_sort {
 3664:      SELECT a FROM t2
 3665:       WHERE b=795
 3666:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
 3667:          OR f='jklmnopqr'
 3668:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 3669:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
 3670:          OR b=1056
 3671:   }
 3672: } {2 9 28 35 51 54 61 80 87 96 scan 0 sort 0}
 3673: do_test where7-2.156.2 {
 3674:   count_steps_sort {
 3675:      SELECT a FROM t3
 3676:       WHERE b=795
 3677:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
 3678:          OR f='jklmnopqr'
 3679:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 3680:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
 3681:          OR b=1056
 3682:   }
 3683: } {2 9 28 35 51 54 61 80 87 96 scan 0 sort 0}
 3684: do_test where7-2.157.1 {
 3685:   count_steps_sort {
 3686:      SELECT a FROM t2
 3687:       WHERE a=47
 3688:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
 3689:          OR b=410
 3690:          OR b=682
 3691:          OR ((a BETWEEN 98 AND 100) AND a!=99)
 3692:          OR f='hijklmnop'
 3693:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
 3694:          OR b=168
 3695:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
 3696:          OR a=32
 3697:          OR a=72
 3698:   }
 3699: } {7 32 33 40 47 51 59 62 72 85 94 98 100 scan 0 sort 0}
 3700: do_test where7-2.157.2 {
 3701:   count_steps_sort {
 3702:      SELECT a FROM t3
 3703:       WHERE a=47
 3704:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
 3705:          OR b=410
 3706:          OR b=682
 3707:          OR ((a BETWEEN 98 AND 100) AND a!=99)
 3708:          OR f='hijklmnop'
 3709:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
 3710:          OR b=168
 3711:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
 3712:          OR a=32
 3713:          OR a=72
 3714:   }
 3715: } {7 32 33 40 47 51 59 62 72 85 94 98 100 scan 0 sort 0}
 3716: do_test where7-2.158.1 {
 3717:   count_steps_sort {
 3718:      SELECT a FROM t2
 3719:       WHERE b=616
 3720:          OR ((a BETWEEN 25 AND 27) AND a!=26)
 3721:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
 3722:          OR a=96
 3723:   }
 3724: } {25 27 38 56 96 scan 0 sort 0}
 3725: do_test where7-2.158.2 {
 3726:   count_steps_sort {
 3727:      SELECT a FROM t3
 3728:       WHERE b=616
 3729:          OR ((a BETWEEN 25 AND 27) AND a!=26)
 3730:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
 3731:          OR a=96
 3732:   }
 3733: } {25 27 38 56 96 scan 0 sort 0}
 3734: do_test where7-2.159.1 {
 3735:   count_steps_sort {
 3736:      SELECT a FROM t2
 3737:       WHERE (d>=66.0 AND d<67.0 AND d NOT NULL)
 3738:          OR b=352
 3739:   }
 3740: } {32 66 scan 0 sort 0}
 3741: do_test where7-2.159.2 {
 3742:   count_steps_sort {
 3743:      SELECT a FROM t3
 3744:       WHERE (d>=66.0 AND d<67.0 AND d NOT NULL)
 3745:          OR b=352
 3746:   }
 3747: } {32 66 scan 0 sort 0}
 3748: do_test where7-2.160.1 {
 3749:   count_steps_sort {
 3750:      SELECT a FROM t2
 3751:       WHERE b=795
 3752:          OR c=13013
 3753:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 3754:          OR b=597
 3755:   }
 3756: } {28 37 38 39 scan 0 sort 0}
 3757: do_test where7-2.160.2 {
 3758:   count_steps_sort {
 3759:      SELECT a FROM t3
 3760:       WHERE b=795
 3761:          OR c=13013
 3762:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 3763:          OR b=597
 3764:   }
 3765: } {28 37 38 39 scan 0 sort 0}
 3766: do_test where7-2.161.1 {
 3767:   count_steps_sort {
 3768:      SELECT a FROM t2
 3769:       WHERE a=23
 3770:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 3771:          OR b=641
 3772:          OR b=352
 3773:          OR b=179
 3774:          OR b=806
 3775:          OR b=839
 3776:          OR b=33
 3777:   }
 3778: } {3 23 32 68 scan 0 sort 0}
 3779: do_test where7-2.161.2 {
 3780:   count_steps_sort {
 3781:      SELECT a FROM t3
 3782:       WHERE a=23
 3783:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 3784:          OR b=641
 3785:          OR b=352
 3786:          OR b=179
 3787:          OR b=806
 3788:          OR b=839
 3789:          OR b=33
 3790:   }
 3791: } {3 23 32 68 scan 0 sort 0}
 3792: do_test where7-2.162.1 {
 3793:   count_steps_sort {
 3794:      SELECT a FROM t2
 3795:       WHERE b=1070
 3796:          OR b=1078
 3797:          OR ((a BETWEEN 11 AND 13) AND a!=12)
 3798:          OR c=12012
 3799:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
 3800:          OR b=319
 3801:          OR c=5005
 3802:          OR 1000000<b
 3803:          OR b=1037
 3804:          OR b=234
 3805:   }
 3806: } {11 13 14 15 29 34 35 36 84 98 scan 0 sort 0}
 3807: do_test where7-2.162.2 {
 3808:   count_steps_sort {
 3809:      SELECT a FROM t3
 3810:       WHERE b=1070
 3811:          OR b=1078
 3812:          OR ((a BETWEEN 11 AND 13) AND a!=12)
 3813:          OR c=12012
 3814:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
 3815:          OR b=319
 3816:          OR c=5005
 3817:          OR 1000000<b
 3818:          OR b=1037
 3819:          OR b=234
 3820:   }
 3821: } {11 13 14 15 29 34 35 36 84 98 scan 0 sort 0}
 3822: do_test where7-2.163.1 {
 3823:   count_steps_sort {
 3824:      SELECT a FROM t2
 3825:       WHERE f='cdefghijk'
 3826:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
 3827:          OR (g='ihgfedc' AND f GLOB 'defgh*')
 3828:          OR (d>=59.0 AND d<60.0 AND d NOT NULL)
 3829:   }
 3830: } {2 17 28 43 54 59 69 80 81 95 scan 0 sort 0}
 3831: do_test where7-2.163.2 {
 3832:   count_steps_sort {
 3833:      SELECT a FROM t3
 3834:       WHERE f='cdefghijk'
 3835:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
 3836:          OR (g='ihgfedc' AND f GLOB 'defgh*')
 3837:          OR (d>=59.0 AND d<60.0 AND d NOT NULL)
 3838:   }
 3839: } {2 17 28 43 54 59 69 80 81 95 scan 0 sort 0}
 3840: do_test where7-2.164.1 {
 3841:   count_steps_sort {
 3842:      SELECT a FROM t2
 3843:       WHERE a=65
 3844:          OR c=14014
 3845:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
 3846:          OR a=47
 3847:          OR b=220
 3848:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
 3849:   }
 3850: } {20 37 40 41 42 47 65 88 scan 0 sort 0}
 3851: do_test where7-2.164.2 {
 3852:   count_steps_sort {
 3853:      SELECT a FROM t3
 3854:       WHERE a=65
 3855:          OR c=14014
 3856:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
 3857:          OR a=47
 3858:          OR b=220
 3859:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
 3860:   }
 3861: } {20 37 40 41 42 47 65 88 scan 0 sort 0}
 3862: do_test where7-2.165.1 {
 3863:   count_steps_sort {
 3864:      SELECT a FROM t2
 3865:       WHERE (g='hgfedcb' AND f GLOB 'ijklm*')
 3866:          OR (g='rqponml' AND f GLOB 'jklmn*')
 3867:          OR b=891
 3868:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 3869:          OR b=484
 3870:          OR a=62
 3871:          OR (g='ihgfedc' AND f GLOB 'defgh*')
 3872:   }
 3873: } {35 44 57 62 81 86 scan 0 sort 0}
 3874: do_test where7-2.165.2 {
 3875:   count_steps_sort {
 3876:      SELECT a FROM t3
 3877:       WHERE (g='hgfedcb' AND f GLOB 'ijklm*')
 3878:          OR (g='rqponml' AND f GLOB 'jklmn*')
 3879:          OR b=891
 3880:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 3881:          OR b=484
 3882:          OR a=62
 3883:          OR (g='ihgfedc' AND f GLOB 'defgh*')
 3884:   }
 3885: } {35 44 57 62 81 86 scan 0 sort 0}
 3886: do_test where7-2.166.1 {
 3887:   count_steps_sort {
 3888:      SELECT a FROM t2
 3889:       WHERE b=363
 3890:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
 3891:          OR ((a BETWEEN 58 AND 60) AND a!=59)
 3892:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
 3893:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
 3894:          OR (g='wvutsrq' AND f GLOB 'klmno*')
 3895:          OR a=39
 3896:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 3897:   }
 3898: } {2 10 25 33 39 46 54 58 60 scan 0 sort 0}
 3899: do_test where7-2.166.2 {
 3900:   count_steps_sort {
 3901:      SELECT a FROM t3
 3902:       WHERE b=363
 3903:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
 3904:          OR ((a BETWEEN 58 AND 60) AND a!=59)
 3905:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
 3906:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
 3907:          OR (g='wvutsrq' AND f GLOB 'klmno*')
 3908:          OR a=39
 3909:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 3910:   }
 3911: } {2 10 25 33 39 46 54 58 60 scan 0 sort 0}
 3912: do_test where7-2.167.1 {
 3913:   count_steps_sort {
 3914:      SELECT a FROM t2
 3915:       WHERE c=30030
 3916:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
 3917:          OR b=850
 3918:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
 3919:   }
 3920: } {20 46 52 72 88 89 90 98 scan 0 sort 0}
 3921: do_test where7-2.167.2 {
 3922:   count_steps_sort {
 3923:      SELECT a FROM t3
 3924:       WHERE c=30030
 3925:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
 3926:          OR b=850
 3927:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
 3928:   }
 3929: } {20 46 52 72 88 89 90 98 scan 0 sort 0}
 3930: do_test where7-2.168.1 {
 3931:   count_steps_sort {
 3932:      SELECT a FROM t2
 3933:       WHERE (d>=23.0 AND d<24.0 AND d NOT NULL)
 3934:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
 3935:          OR b=80
 3936:   }
 3937: } {23 91 scan 0 sort 0}
 3938: do_test where7-2.168.2 {
 3939:   count_steps_sort {
 3940:      SELECT a FROM t3
 3941:       WHERE (d>=23.0 AND d<24.0 AND d NOT NULL)
 3942:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
 3943:          OR b=80
 3944:   }
 3945: } {23 91 scan 0 sort 0}
 3946: do_test where7-2.169.1 {
 3947:   count_steps_sort {
 3948:      SELECT a FROM t2
 3949:       WHERE ((a BETWEEN 59 AND 61) AND a!=60)
 3950:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
 3951:          OR b=462
 3952:          OR a=51
 3953:          OR b=344
 3954:          OR b=333
 3955:          OR ((a BETWEEN 61 AND 63) AND a!=62)
 3956:   }
 3957: } {42 51 59 61 63 77 scan 0 sort 0}
 3958: do_test where7-2.169.2 {
 3959:   count_steps_sort {
 3960:      SELECT a FROM t3
 3961:       WHERE ((a BETWEEN 59 AND 61) AND a!=60)
 3962:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
 3963:          OR b=462
 3964:          OR a=51
 3965:          OR b=344
 3966:          OR b=333
 3967:          OR ((a BETWEEN 61 AND 63) AND a!=62)
 3968:   }
 3969: } {42 51 59 61 63 77 scan 0 sort 0}
 3970: do_test where7-2.170.1 {
 3971:   count_steps_sort {
 3972:      SELECT a FROM t2
 3973:       WHERE b=586
 3974:          OR a=21
 3975:          OR b=638
 3976:   }
 3977: } {21 58 scan 0 sort 0}
 3978: do_test where7-2.170.2 {
 3979:   count_steps_sort {
 3980:      SELECT a FROM t3
 3981:       WHERE b=586
 3982:          OR a=21
 3983:          OR b=638
 3984:   }
 3985: } {21 58 scan 0 sort 0}
 3986: do_test where7-2.171.1 {
 3987:   count_steps_sort {
 3988:      SELECT a FROM t2
 3989:       WHERE b=179
 3990:          OR ((a BETWEEN 2 AND 4) AND a!=3)
 3991:          OR ((a BETWEEN 40 AND 42) AND a!=41)
 3992:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
 3993:          OR ((a BETWEEN 72 AND 74) AND a!=73)
 3994:   }
 3995: } {2 4 13 40 42 72 74 scan 0 sort 0}
 3996: do_test where7-2.171.2 {
 3997:   count_steps_sort {
 3998:      SELECT a FROM t3
 3999:       WHERE b=179
 4000:          OR ((a BETWEEN 2 AND 4) AND a!=3)
 4001:          OR ((a BETWEEN 40 AND 42) AND a!=41)
 4002:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
 4003:          OR ((a BETWEEN 72 AND 74) AND a!=73)
 4004:   }
 4005: } {2 4 13 40 42 72 74 scan 0 sort 0}
 4006: do_test where7-2.172.1 {
 4007:   count_steps_sort {
 4008:      SELECT a FROM t2
 4009:       WHERE b=333
 4010:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
 4011:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
 4012:          OR b=407
 4013:          OR a=5
 4014:          OR b=817
 4015:          OR b=891
 4016:   }
 4017: } {5 37 53 62 81 scan 0 sort 0}
 4018: do_test where7-2.172.2 {
 4019:   count_steps_sort {
 4020:      SELECT a FROM t3
 4021:       WHERE b=333
 4022:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
 4023:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
 4024:          OR b=407
 4025:          OR a=5
 4026:          OR b=817
 4027:          OR b=891
 4028:   }
 4029: } {5 37 53 62 81 scan 0 sort 0}
 4030: do_test where7-2.173.1 {
 4031:   count_steps_sort {
 4032:      SELECT a FROM t2
 4033:       WHERE b<0
 4034:          OR b=352
 4035:          OR b=517
 4036:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
 4037:          OR ((a BETWEEN 12 AND 14) AND a!=13)
 4038:          OR b=1012
 4039:          OR ((a BETWEEN 11 AND 13) AND a!=12)
 4040:   }
 4041: } {11 12 13 14 32 47 92 97 scan 0 sort 0}
 4042: do_test where7-2.173.2 {
 4043:   count_steps_sort {
 4044:      SELECT a FROM t3
 4045:       WHERE b<0
 4046:          OR b=352
 4047:          OR b=517
 4048:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
 4049:          OR ((a BETWEEN 12 AND 14) AND a!=13)
 4050:          OR b=1012
 4051:          OR ((a BETWEEN 11 AND 13) AND a!=12)
 4052:   }
 4053: } {11 12 13 14 32 47 92 97 scan 0 sort 0}
 4054: do_test where7-2.174.1 {
 4055:   count_steps_sort {
 4056:      SELECT a FROM t2
 4057:       WHERE (g='qponmlk' AND f GLOB 'pqrst*')
 4058:          OR c<=10
 4059:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
 4060:          OR a=32
 4061:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 4062:          OR d<0.0
 4063:   }
 4064: } {12 14 32 41 scan 0 sort 0}
 4065: do_test where7-2.174.2 {
 4066:   count_steps_sort {
 4067:      SELECT a FROM t3
 4068:       WHERE (g='qponmlk' AND f GLOB 'pqrst*')
 4069:          OR c<=10
 4070:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
 4071:          OR a=32
 4072:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 4073:          OR d<0.0
 4074:   }
 4075: } {12 14 32 41 scan 0 sort 0}
 4076: do_test where7-2.175.1 {
 4077:   count_steps_sort {
 4078:      SELECT a FROM t2
 4079:       WHERE ((a BETWEEN 20 AND 22) AND a!=21)
 4080:          OR b=1045
 4081:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 4082:          OR a=26
 4083:          OR (g='gfedcba' AND f GLOB 'opqrs*')
 4084:   }
 4085: } {20 22 26 78 92 95 scan 0 sort 0}
 4086: do_test where7-2.175.2 {
 4087:   count_steps_sort {
 4088:      SELECT a FROM t3
 4089:       WHERE ((a BETWEEN 20 AND 22) AND a!=21)
 4090:          OR b=1045
 4091:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 4092:          OR a=26
 4093:          OR (g='gfedcba' AND f GLOB 'opqrs*')
 4094:   }
 4095: } {20 22 26 78 92 95 scan 0 sort 0}
 4096: do_test where7-2.176.1 {
 4097:   count_steps_sort {
 4098:      SELECT a FROM t2
 4099:       WHERE a=49
 4100:          OR b=58
 4101:   }
 4102: } {49 scan 0 sort 0}
 4103: do_test where7-2.176.2 {
 4104:   count_steps_sort {
 4105:      SELECT a FROM t3
 4106:       WHERE a=49
 4107:          OR b=58
 4108:   }
 4109: } {49 scan 0 sort 0}
 4110: do_test where7-2.177.1 {
 4111:   count_steps_sort {
 4112:      SELECT a FROM t2
 4113:       WHERE (d>=3.0 AND d<4.0 AND d NOT NULL)
 4114:          OR (g='jihgfed' AND f GLOB 'xyzab*')
 4115:          OR c=32032
 4116:          OR b=289
 4117:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 4118:          OR ((a BETWEEN 14 AND 16) AND a!=15)
 4119:   }
 4120: } {3 14 16 17 19 75 94 95 96 scan 0 sort 0}
 4121: do_test where7-2.177.2 {
 4122:   count_steps_sort {
 4123:      SELECT a FROM t3
 4124:       WHERE (d>=3.0 AND d<4.0 AND d NOT NULL)
 4125:          OR (g='jihgfed' AND f GLOB 'xyzab*')
 4126:          OR c=32032
 4127:          OR b=289
 4128:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 4129:          OR ((a BETWEEN 14 AND 16) AND a!=15)
 4130:   }
 4131: } {3 14 16 17 19 75 94 95 96 scan 0 sort 0}
 4132: do_test where7-2.178.1 {
 4133:   count_steps_sort {
 4134:      SELECT a FROM t2
 4135:       WHERE ((a BETWEEN 15 AND 17) AND a!=16)
 4136:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 4137:          OR b=33
 4138:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
 4139:   }
 4140: } {3 15 17 43 57 59 69 95 scan 0 sort 0}
 4141: do_test where7-2.178.2 {
 4142:   count_steps_sort {
 4143:      SELECT a FROM t3
 4144:       WHERE ((a BETWEEN 15 AND 17) AND a!=16)
 4145:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 4146:          OR b=33
 4147:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
 4148:   }
 4149: } {3 15 17 43 57 59 69 95 scan 0 sort 0}
 4150: do_test where7-2.179.1 {
 4151:   count_steps_sort {
 4152:      SELECT a FROM t2
 4153:       WHERE b=828
 4154:          OR b=341
 4155:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
 4156:          OR b=902
 4157:          OR ((a BETWEEN 64 AND 66) AND a!=65)
 4158:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 4159:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
 4160:          OR b=242
 4161:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
 4162:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
 4163:          OR (g='qponmlk' AND f GLOB 'qrstu*')
 4164:   }
 4165: } {1 2 16 22 31 42 64 66 68 82 91 94 95 scan 0 sort 0}
 4166: do_test where7-2.179.2 {
 4167:   count_steps_sort {
 4168:      SELECT a FROM t3
 4169:       WHERE b=828
 4170:          OR b=341
 4171:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
 4172:          OR b=902
 4173:          OR ((a BETWEEN 64 AND 66) AND a!=65)
 4174:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 4175:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
 4176:          OR b=242
 4177:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
 4178:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
 4179:          OR (g='qponmlk' AND f GLOB 'qrstu*')
 4180:   }
 4181: } {1 2 16 22 31 42 64 66 68 82 91 94 95 scan 0 sort 0}
 4182: do_test where7-2.180.1 {
 4183:   count_steps_sort {
 4184:      SELECT a FROM t2
 4185:       WHERE (g='nmlkjih' AND f GLOB 'efghi*')
 4186:          OR b=982
 4187:          OR b=781
 4188:          OR ((a BETWEEN 66 AND 68) AND a!=67)
 4189:          OR d>1e10
 4190:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
 4191:   }
 4192: } {56 66 68 71 scan 0 sort 0}
 4193: do_test where7-2.180.2 {
 4194:   count_steps_sort {
 4195:      SELECT a FROM t3
 4196:       WHERE (g='nmlkjih' AND f GLOB 'efghi*')
 4197:          OR b=982
 4198:          OR b=781
 4199:          OR ((a BETWEEN 66 AND 68) AND a!=67)
 4200:          OR d>1e10
 4201:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
 4202:   }
 4203: } {56 66 68 71 scan 0 sort 0}
 4204: do_test where7-2.181.1 {
 4205:   count_steps_sort {
 4206:      SELECT a FROM t2
 4207:       WHERE (g='kjihgfe' AND f GLOB 'rstuv*')
 4208:          OR a=31
 4209:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 4210:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 4211:          OR a=76
 4212:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
 4213:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 4214:          OR b=176
 4215:   }
 4216: } {8 16 23 31 34 57 59 60 69 74 76 86 scan 0 sort 0}
 4217: do_test where7-2.181.2 {
 4218:   count_steps_sort {
 4219:      SELECT a FROM t3
 4220:       WHERE (g='kjihgfe' AND f GLOB 'rstuv*')
 4221:          OR a=31
 4222:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 4223:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 4224:          OR a=76
 4225:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
 4226:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 4227:          OR b=176
 4228:   }
 4229: } {8 16 23 31 34 57 59 60 69 74 76 86 scan 0 sort 0}
 4230: do_test where7-2.182.1 {
 4231:   count_steps_sort {
 4232:      SELECT a FROM t2
 4233:       WHERE (g='ponmlkj' AND f GLOB 'vwxyz*')
 4234:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 4235:          OR (g='nmlkjih' AND f GLOB 'defgh*')
 4236:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
 4237:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 4238:          OR b=14
 4239:          OR ((a BETWEEN 88 AND 90) AND a!=89)
 4240:          OR f='zabcdefgh'
 4241:   }
 4242: } {12 25 47 51 55 59 60 61 77 88 90 scan 0 sort 0}
 4243: do_test where7-2.182.2 {
 4244:   count_steps_sort {
 4245:      SELECT a FROM t3
 4246:       WHERE (g='ponmlkj' AND f GLOB 'vwxyz*')
 4247:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 4248:          OR (g='nmlkjih' AND f GLOB 'defgh*')
 4249:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
 4250:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 4251:          OR b=14
 4252:          OR ((a BETWEEN 88 AND 90) AND a!=89)
 4253:          OR f='zabcdefgh'
 4254:   }
 4255: } {12 25 47 51 55 59 60 61 77 88 90 scan 0 sort 0}
 4256: do_test where7-2.183.1 {
 4257:   count_steps_sort {
 4258:      SELECT a FROM t2
 4259:       WHERE (g='tsrqpon' AND f GLOB 'zabcd*')
 4260:          OR b=286
 4261:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 4262:          OR b=91
 4263:          OR ((a BETWEEN 43 AND 45) AND a!=44)
 4264:   }
 4265: } {25 26 31 43 45 scan 0 sort 0}
 4266: do_test where7-2.183.2 {
 4267:   count_steps_sort {
 4268:      SELECT a FROM t3
 4269:       WHERE (g='tsrqpon' AND f GLOB 'zabcd*')
 4270:          OR b=286
 4271:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 4272:          OR b=91
 4273:          OR ((a BETWEEN 43 AND 45) AND a!=44)
 4274:   }
 4275: } {25 26 31 43 45 scan 0 sort 0}
 4276: do_test where7-2.184.1 {
 4277:   count_steps_sort {
 4278:      SELECT a FROM t2
 4279:       WHERE (g='lkjihgf' AND f GLOB 'nopqr*')
 4280:          OR c=19019
 4281:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
 4282:          OR b=374
 4283:   }
 4284: } {22 34 48 55 56 57 65 74 100 scan 0 sort 0}
 4285: do_test where7-2.184.2 {
 4286:   count_steps_sort {
 4287:      SELECT a FROM t3
 4288:       WHERE (g='lkjihgf' AND f GLOB 'nopqr*')
 4289:          OR c=19019
 4290:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
 4291:          OR b=374
 4292:   }
 4293: } {22 34 48 55 56 57 65 74 100 scan 0 sort 0}
 4294: do_test where7-2.185.1 {
 4295:   count_steps_sort {
 4296:      SELECT a FROM t2
 4297:       WHERE g IS NULL
 4298:          OR (g='onmlkji' AND f GLOB 'wxyza*')
 4299:   }
 4300: } {48 scan 0 sort 0}
 4301: do_test where7-2.185.2 {
 4302:   count_steps_sort {
 4303:      SELECT a FROM t3
 4304:       WHERE g IS NULL
 4305:          OR (g='onmlkji' AND f GLOB 'wxyza*')
 4306:   }
 4307: } {48 scan 0 sort 0}
 4308: do_test where7-2.186.1 {
 4309:   count_steps_sort {
 4310:      SELECT a FROM t2
 4311:       WHERE a=4
 4312:          OR b=407
 4313:   }
 4314: } {4 37 scan 0 sort 0}
 4315: do_test where7-2.186.2 {
 4316:   count_steps_sort {
 4317:      SELECT a FROM t3
 4318:       WHERE a=4
 4319:          OR b=407
 4320:   }
 4321: } {4 37 scan 0 sort 0}
 4322: do_test where7-2.187.1 {
 4323:   count_steps_sort {
 4324:      SELECT a FROM t2
 4325:       WHERE ((a BETWEEN 66 AND 68) AND a!=67)
 4326:          OR b=564
 4327:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 4328:          OR b=234
 4329:          OR b=641
 4330:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
 4331:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 4332:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
 4333:          OR a=98
 4334:   }
 4335: } {1 5 12 13 27 39 53 65 66 68 79 91 98 scan 0 sort 0}
 4336: do_test where7-2.187.2 {
 4337:   count_steps_sort {
 4338:      SELECT a FROM t3
 4339:       WHERE ((a BETWEEN 66 AND 68) AND a!=67)
 4340:          OR b=564
 4341:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 4342:          OR b=234
 4343:          OR b=641
 4344:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
 4345:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 4346:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
 4347:          OR a=98
 4348:   }
 4349: } {1 5 12 13 27 39 53 65 66 68 79 91 98 scan 0 sort 0}
 4350: do_test where7-2.188.1 {
 4351:   count_steps_sort {
 4352:      SELECT a FROM t2
 4353:       WHERE a=73
 4354:          OR b=44
 4355:          OR b=539
 4356:          OR c=11011
 4357:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
 4358:          OR b=69
 4359:          OR b=1001
 4360:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
 4361:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
 4362:          OR (g='ihgfedc' AND f GLOB 'defgh*')
 4363:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 4364:   }
 4365: } {4 23 26 31 32 33 34 49 73 81 91 95 scan 0 sort 0}
 4366: do_test where7-2.188.2 {
 4367:   count_steps_sort {
 4368:      SELECT a FROM t3
 4369:       WHERE a=73
 4370:          OR b=44
 4371:          OR b=539
 4372:          OR c=11011
 4373:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
 4374:          OR b=69
 4375:          OR b=1001
 4376:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
 4377:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
 4378:          OR (g='ihgfedc' AND f GLOB 'defgh*')
 4379:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 4380:   }
 4381: } {4 23 26 31 32 33 34 49 73 81 91 95 scan 0 sort 0}
 4382: do_test where7-2.189.1 {
 4383:   count_steps_sort {
 4384:      SELECT a FROM t2
 4385:       WHERE b=264
 4386:          OR b=143
 4387:          OR a=48
 4388:   }
 4389: } {13 24 48 scan 0 sort 0}
 4390: do_test where7-2.189.2 {
 4391:   count_steps_sort {
 4392:      SELECT a FROM t3
 4393:       WHERE b=264
 4394:          OR b=143
 4395:          OR a=48
 4396:   }
 4397: } {13 24 48 scan 0 sort 0}
 4398: do_test where7-2.190.1 {
 4399:   count_steps_sort {
 4400:      SELECT a FROM t2
 4401:       WHERE b=1001
 4402:          OR b=1070
 4403:          OR ((a BETWEEN 72 AND 74) AND a!=73)
 4404:          OR b=14
 4405:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 4406:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
 4407:          OR a=66
 4408:   }
 4409: } {18 56 58 66 72 74 91 scan 0 sort 0}
 4410: do_test where7-2.190.2 {
 4411:   count_steps_sort {
 4412:      SELECT a FROM t3
 4413:       WHERE b=1001
 4414:          OR b=1070
 4415:          OR ((a BETWEEN 72 AND 74) AND a!=73)
 4416:          OR b=14
 4417:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 4418:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
 4419:          OR a=66
 4420:   }
 4421: } {18 56 58 66 72 74 91 scan 0 sort 0}
 4422: do_test where7-2.191.1 {
 4423:   count_steps_sort {
 4424:      SELECT a FROM t2
 4425:       WHERE c=23023
 4426:          OR (d>=83.0 AND d<84.0 AND d NOT NULL)
 4427:          OR a=66
 4428:          OR (g='onmlkji' AND f GLOB 'zabcd*')
 4429:          OR a=51
 4430:          OR a=23
 4431:          OR c=4004
 4432:   }
 4433: } {10 11 12 23 51 66 67 68 69 83 scan 0 sort 0}
 4434: do_test where7-2.191.2 {
 4435:   count_steps_sort {
 4436:      SELECT a FROM t3
 4437:       WHERE c=23023
 4438:          OR (d>=83.0 AND d<84.0 AND d NOT NULL)
 4439:          OR a=66
 4440:          OR (g='onmlkji' AND f GLOB 'zabcd*')
 4441:          OR a=51
 4442:          OR a=23
 4443:          OR c=4004
 4444:   }
 4445: } {10 11 12 23 51 66 67 68 69 83 scan 0 sort 0}
 4446: do_test where7-2.192.1 {
 4447:   count_steps_sort {
 4448:      SELECT a FROM t2
 4449:       WHERE b=36
 4450:          OR (g='rqponml' AND f GLOB 'lmnop*')
 4451:          OR a=80
 4452:   }
 4453: } {37 80 scan 0 sort 0}
 4454: do_test where7-2.192.2 {
 4455:   count_steps_sort {
 4456:      SELECT a FROM t3
 4457:       WHERE b=36
 4458:          OR (g='rqponml' AND f GLOB 'lmnop*')
 4459:          OR a=80
 4460:   }
 4461: } {37 80 scan 0 sort 0}
 4462: do_test where7-2.193.1 {
 4463:   count_steps_sort {
 4464:      SELECT a FROM t2
 4465:       WHERE (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 4466:          OR ((a BETWEEN 37 AND 39) AND a!=38)
 4467:          OR a=55
 4468:          OR f='efghijklm'
 4469:          OR a=8
 4470:          OR a=80
 4471:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
 4472:          OR b=256
 4473:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
 4474:   }
 4475: } {4 8 30 34 37 39 55 56 60 72 80 82 86 scan 0 sort 0}
 4476: do_test where7-2.193.2 {
 4477:   count_steps_sort {
 4478:      SELECT a FROM t3
 4479:       WHERE (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 4480:          OR ((a BETWEEN 37 AND 39) AND a!=38)
 4481:          OR a=55
 4482:          OR f='efghijklm'
 4483:          OR a=8
 4484:          OR a=80
 4485:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
 4486:          OR b=256
 4487:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
 4488:   }
 4489: } {4 8 30 34 37 39 55 56 60 72 80 82 86 scan 0 sort 0}
 4490: do_test where7-2.194.1 {
 4491:   count_steps_sort {
 4492:      SELECT a FROM t2
 4493:       WHERE (d>=87.0 AND d<88.0 AND d NOT NULL)
 4494:          OR b=836
 4495:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 4496:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
 4497:          OR a=91
 4498:          OR b=594
 4499:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
 4500:   }
 4501: } {2 8 28 47 54 76 80 87 91 scan 0 sort 0}
 4502: do_test where7-2.194.2 {
 4503:   count_steps_sort {
 4504:      SELECT a FROM t3
 4505:       WHERE (d>=87.0 AND d<88.0 AND d NOT NULL)
 4506:          OR b=836
 4507:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 4508:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
 4509:          OR a=91
 4510:          OR b=594
 4511:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
 4512:   }
 4513: } {2 8 28 47 54 76 80 87 91 scan 0 sort 0}
 4514: do_test where7-2.195.1 {
 4515:   count_steps_sort {
 4516:      SELECT a FROM t2
 4517:       WHERE (g='tsrqpon' AND f GLOB 'yzabc*')
 4518:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 4519:          OR ((a BETWEEN 62 AND 64) AND a!=63)
 4520:          OR c=6006
 4521:          OR ((a BETWEEN 50 AND 52) AND a!=51)
 4522:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 4523:          OR ((a BETWEEN 88 AND 90) AND a!=89)
 4524:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
 4525:   }
 4526: } {12 16 17 18 24 43 50 52 62 64 88 90 scan 0 sort 0}
 4527: do_test where7-2.195.2 {
 4528:   count_steps_sort {
 4529:      SELECT a FROM t3
 4530:       WHERE (g='tsrqpon' AND f GLOB 'yzabc*')
 4531:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 4532:          OR ((a BETWEEN 62 AND 64) AND a!=63)
 4533:          OR c=6006
 4534:          OR ((a BETWEEN 50 AND 52) AND a!=51)
 4535:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 4536:          OR ((a BETWEEN 88 AND 90) AND a!=89)
 4537:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
 4538:   }
 4539: } {12 16 17 18 24 43 50 52 62 64 88 90 scan 0 sort 0}
 4540: do_test where7-2.196.1 {
 4541:   count_steps_sort {
 4542:      SELECT a FROM t2
 4543:       WHERE ((a BETWEEN 83 AND 85) AND a!=84)
 4544:          OR ((a BETWEEN 14 AND 16) AND a!=15)
 4545:          OR a=13
 4546:          OR b=121
 4547:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
 4548:          OR ((a BETWEEN 12 AND 14) AND a!=13)
 4549:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
 4550:          OR b=660
 4551:          OR b=792
 4552:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
 4553:   }
 4554: } {6 11 12 13 14 16 18 44 60 72 83 85 scan 0 sort 0}
 4555: do_test where7-2.196.2 {
 4556:   count_steps_sort {
 4557:      SELECT a FROM t3
 4558:       WHERE ((a BETWEEN 83 AND 85) AND a!=84)
 4559:          OR ((a BETWEEN 14 AND 16) AND a!=15)
 4560:          OR a=13
 4561:          OR b=121
 4562:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
 4563:          OR ((a BETWEEN 12 AND 14) AND a!=13)
 4564:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
 4565:          OR b=660
 4566:          OR b=792
 4567:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
 4568:   }
 4569: } {6 11 12 13 14 16 18 44 60 72 83 85 scan 0 sort 0}
 4570: do_test where7-2.197.1 {
 4571:   count_steps_sort {
 4572:      SELECT a FROM t2
 4573:       WHERE b=1089
 4574:          OR b=495
 4575:          OR b=157
 4576:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
 4577:          OR (d>=59.0 AND d<60.0 AND d NOT NULL)
 4578:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
 4579:          OR (g='xwvutsr' AND f GLOB 'hijkl*')
 4580:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 4581:          OR f='wxyzabcde'
 4582:   }
 4583: } {1 7 20 22 45 46 48 59 72 74 98 99 100 scan 0 sort 0}
 4584: do_test where7-2.197.2 {
 4585:   count_steps_sort {
 4586:      SELECT a FROM t3
 4587:       WHERE b=1089
 4588:          OR b=495
 4589:          OR b=157
 4590:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
 4591:          OR (d>=59.0 AND d<60.0 AND d NOT NULL)
 4592:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
 4593:          OR (g='xwvutsr' AND f GLOB 'hijkl*')
 4594:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 4595:          OR f='wxyzabcde'
 4596:   }
 4597: } {1 7 20 22 45 46 48 59 72 74 98 99 100 scan 0 sort 0}
 4598: do_test where7-2.198.1 {
 4599:   count_steps_sort {
 4600:      SELECT a FROM t2
 4601:       WHERE f='bcdefghij'
 4602:          OR ((a BETWEEN 40 AND 42) AND a!=41)
 4603:          OR (g='srqponm' AND f GLOB 'ghijk*')
 4604:          OR b=157
 4605:          OR b=267
 4606:          OR c=34034
 4607:   }
 4608: } {1 27 32 40 42 53 79 100 scan 0 sort 0}
 4609: do_test where7-2.198.2 {
 4610:   count_steps_sort {
 4611:      SELECT a FROM t3
 4612:       WHERE f='bcdefghij'
 4613:          OR ((a BETWEEN 40 AND 42) AND a!=41)
 4614:          OR (g='srqponm' AND f GLOB 'ghijk*')
 4615:          OR b=157
 4616:          OR b=267
 4617:          OR c=34034
 4618:   }
 4619: } {1 27 32 40 42 53 79 100 scan 0 sort 0}
 4620: do_test where7-2.199.1 {
 4621:   count_steps_sort {
 4622:      SELECT a FROM t2
 4623:       WHERE a=19
 4624:          OR a=23
 4625:          OR c<=10
 4626:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
 4627:   }
 4628: } {19 23 66 scan 0 sort 0}
 4629: do_test where7-2.199.2 {
 4630:   count_steps_sort {
 4631:      SELECT a FROM t3
 4632:       WHERE a=19
 4633:          OR a=23
 4634:          OR c<=10
 4635:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
 4636:   }
 4637: } {19 23 66 scan 0 sort 0}
 4638: do_test where7-2.200.1 {
 4639:   count_steps_sort {
 4640:      SELECT a FROM t2
 4641:       WHERE ((a BETWEEN 1 AND 3) AND a!=2)
 4642:          OR b=792
 4643:          OR b=803
 4644:          OR b=36
 4645:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 4646:   }
 4647: } {1 3 27 53 72 73 79 scan 0 sort 0}
 4648: do_test where7-2.200.2 {
 4649:   count_steps_sort {
 4650:      SELECT a FROM t3
 4651:       WHERE ((a BETWEEN 1 AND 3) AND a!=2)
 4652:          OR b=792
 4653:          OR b=803
 4654:          OR b=36
 4655:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 4656:   }
 4657: } {1 3 27 53 72 73 79 scan 0 sort 0}
 4658: do_test where7-2.201.1 {
 4659:   count_steps_sort {
 4660:      SELECT a FROM t2
 4661:       WHERE (g='utsrqpo' AND f GLOB 'uvwxy*')
 4662:          OR ((a BETWEEN 71 AND 73) AND a!=72)
 4663:          OR ((a BETWEEN 76 AND 78) AND a!=77)
 4664:          OR f='jklmnopqr'
 4665:          OR (g='onmlkji' AND f GLOB 'yzabc*')
 4666:          OR b=891
 4667:          OR a=40
 4668:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
 4669:   }
 4670: } {9 20 35 40 50 61 67 71 73 76 78 81 87 scan 0 sort 0}
 4671: do_test where7-2.201.2 {
 4672:   count_steps_sort {
 4673:      SELECT a FROM t3
 4674:       WHERE (g='utsrqpo' AND f GLOB 'uvwxy*')
 4675:          OR ((a BETWEEN 71 AND 73) AND a!=72)
 4676:          OR ((a BETWEEN 76 AND 78) AND a!=77)
 4677:          OR f='jklmnopqr'
 4678:          OR (g='onmlkji' AND f GLOB 'yzabc*')
 4679:          OR b=891
 4680:          OR a=40
 4681:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
 4682:   }
 4683: } {9 20 35 40 50 61 67 71 73 76 78 81 87 scan 0 sort 0}
 4684: do_test where7-2.202.1 {
 4685:   count_steps_sort {
 4686:      SELECT a FROM t2
 4687:       WHERE (d>=15.0 AND d<16.0 AND d NOT NULL)
 4688:          OR a=32
 4689:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
 4690:          OR a=95
 4691:          OR d>1e10
 4692:          OR b=429
 4693:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 4694:          OR (g='jihgfed' AND f GLOB 'yzabc*')
 4695:          OR c=10010
 4696:          OR ((a BETWEEN 83 AND 85) AND a!=84)
 4697:   }
 4698: } {15 28 29 30 32 39 54 76 83 85 88 95 scan 0 sort 0}
 4699: do_test where7-2.202.2 {
 4700:   count_steps_sort {
 4701:      SELECT a FROM t3
 4702:       WHERE (d>=15.0 AND d<16.0 AND d NOT NULL)
 4703:          OR a=32
 4704:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
 4705:          OR a=95
 4706:          OR d>1e10
 4707:          OR b=429
 4708:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 4709:          OR (g='jihgfed' AND f GLOB 'yzabc*')
 4710:          OR c=10010
 4711:          OR ((a BETWEEN 83 AND 85) AND a!=84)
 4712:   }
 4713: } {15 28 29 30 32 39 54 76 83 85 88 95 scan 0 sort 0}
 4714: do_test where7-2.203.1 {
 4715:   count_steps_sort {
 4716:      SELECT a FROM t2
 4717:       WHERE (g='xwvutsr' AND f GLOB 'defgh*')
 4718:          OR a=22
 4719:          OR a=26
 4720:          OR a=81
 4721:          OR a=53
 4722:          OR ((a BETWEEN 92 AND 94) AND a!=93)
 4723:          OR c=30030
 4724:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
 4725:          OR a=82
 4726:          OR b=594
 4727:   }
 4728: } {3 8 22 26 53 54 81 82 88 89 90 92 94 scan 0 sort 0}
 4729: do_test where7-2.203.2 {
 4730:   count_steps_sort {
 4731:      SELECT a FROM t3
 4732:       WHERE (g='xwvutsr' AND f GLOB 'defgh*')
 4733:          OR a=22
 4734:          OR a=26
 4735:          OR a=81
 4736:          OR a=53
 4737:          OR ((a BETWEEN 92 AND 94) AND a!=93)
 4738:          OR c=30030
 4739:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
 4740:          OR a=82
 4741:          OR b=594
 4742:   }
 4743: } {3 8 22 26 53 54 81 82 88 89 90 92 94 scan 0 sort 0}
 4744: do_test where7-2.204.1 {
 4745:   count_steps_sort {
 4746:      SELECT a FROM t2
 4747:       WHERE ((a BETWEEN 34 AND 36) AND a!=35)
 4748:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
 4749:          OR (g='srqponm' AND f GLOB 'efghi*')
 4750:          OR a=83
 4751:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 4752:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 4753:          OR ((a BETWEEN 99 AND 101) AND a!=100)
 4754:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 4755:          OR b=1092
 4756:          OR (g='srqponm' AND f GLOB 'efghi*')
 4757:          OR b=25
 4758:   }
 4759: } {12 30 34 36 57 68 83 86 99 scan 0 sort 0}
 4760: do_test where7-2.204.2 {
 4761:   count_steps_sort {
 4762:      SELECT a FROM t3
 4763:       WHERE ((a BETWEEN 34 AND 36) AND a!=35)
 4764:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
 4765:          OR (g='srqponm' AND f GLOB 'efghi*')
 4766:          OR a=83
 4767:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 4768:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 4769:          OR ((a BETWEEN 99 AND 101) AND a!=100)
 4770:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 4771:          OR b=1092
 4772:          OR (g='srqponm' AND f GLOB 'efghi*')
 4773:          OR b=25
 4774:   }
 4775: } {12 30 34 36 57 68 83 86 99 scan 0 sort 0}
 4776: do_test where7-2.205.1 {
 4777:   count_steps_sort {
 4778:      SELECT a FROM t2
 4779:       WHERE a=20
 4780:          OR b=421
 4781:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 4782:          OR a=50
 4783:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 4784:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
 4785:   }
 4786: } {5 20 40 50 53 scan 0 sort 0}
 4787: do_test where7-2.205.2 {
 4788:   count_steps_sort {
 4789:      SELECT a FROM t3
 4790:       WHERE a=20
 4791:          OR b=421
 4792:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 4793:          OR a=50
 4794:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 4795:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
 4796:   }
 4797: } {5 20 40 50 53 scan 0 sort 0}
 4798: do_test where7-2.206.1 {
 4799:   count_steps_sort {
 4800:      SELECT a FROM t2
 4801:       WHERE b=960
 4802:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
 4803:   }
 4804: } {13 39 65 91 scan 0 sort 0}
 4805: do_test where7-2.206.2 {
 4806:   count_steps_sort {
 4807:      SELECT a FROM t3
 4808:       WHERE b=960
 4809:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
 4810:   }
 4811: } {13 39 65 91 scan 0 sort 0}
 4812: do_test where7-2.207.1 {
 4813:   count_steps_sort {
 4814:      SELECT a FROM t2
 4815:       WHERE b=891
 4816:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 4817:          OR f='nopqrstuv'
 4818:   }
 4819: } {13 31 39 65 81 91 scan 0 sort 0}
 4820: do_test where7-2.207.2 {
 4821:   count_steps_sort {
 4822:      SELECT a FROM t3
 4823:       WHERE b=891
 4824:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 4825:          OR f='nopqrstuv'
 4826:   }
 4827: } {13 31 39 65 81 91 scan 0 sort 0}
 4828: do_test where7-2.208.1 {
 4829:   count_steps_sort {
 4830:      SELECT a FROM t2
 4831:       WHERE b=157
 4832:          OR b=289
 4833:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 4834:          OR b=1001
 4835:          OR b=707
 4836:   }
 4837: } {32 34 91 scan 0 sort 0}
 4838: do_test where7-2.208.2 {
 4839:   count_steps_sort {
 4840:      SELECT a FROM t3
 4841:       WHERE b=157
 4842:          OR b=289
 4843:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 4844:          OR b=1001
 4845:          OR b=707
 4846:   }
 4847: } {32 34 91 scan 0 sort 0}
 4848: do_test where7-2.209.1 {
 4849:   count_steps_sort {
 4850:      SELECT a FROM t2
 4851:       WHERE (g='edcbazy' AND f GLOB 'wxyza*')
 4852:          OR b=957
 4853:          OR ((a BETWEEN 48 AND 50) AND a!=49)
 4854:   }
 4855: } {48 50 87 100 scan 0 sort 0}
 4856: do_test where7-2.209.2 {
 4857:   count_steps_sort {
 4858:      SELECT a FROM t3
 4859:       WHERE (g='edcbazy' AND f GLOB 'wxyza*')
 4860:          OR b=957
 4861:          OR ((a BETWEEN 48 AND 50) AND a!=49)
 4862:   }
 4863: } {48 50 87 100 scan 0 sort 0}
 4864: do_test where7-2.210.1 {
 4865:   count_steps_sort {
 4866:      SELECT a FROM t2
 4867:       WHERE (d>=40.0 AND d<41.0 AND d NOT NULL)
 4868:          OR a=77
 4869:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
 4870:   }
 4871: } {40 77 85 scan 0 sort 0}
 4872: do_test where7-2.210.2 {
 4873:   count_steps_sort {
 4874:      SELECT a FROM t3
 4875:       WHERE (d>=40.0 AND d<41.0 AND d NOT NULL)
 4876:          OR a=77
 4877:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
 4878:   }
 4879: } {40 77 85 scan 0 sort 0}
 4880: do_test where7-2.211.1 {
 4881:   count_steps_sort {
 4882:      SELECT a FROM t2
 4883:       WHERE (d>=66.0 AND d<67.0 AND d NOT NULL)
 4884:          OR b=11
 4885:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 4886:          OR ((a BETWEEN 14 AND 16) AND a!=15)
 4887:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
 4888:          OR a=99
 4889:   }
 4890: } {1 14 16 38 66 96 99 scan 0 sort 0}
 4891: do_test where7-2.211.2 {
 4892:   count_steps_sort {
 4893:      SELECT a FROM t3
 4894:       WHERE (d>=66.0 AND d<67.0 AND d NOT NULL)
 4895:          OR b=11
 4896:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 4897:          OR ((a BETWEEN 14 AND 16) AND a!=15)
 4898:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
 4899:          OR a=99
 4900:   }
 4901: } {1 14 16 38 66 96 99 scan 0 sort 0}
 4902: do_test where7-2.212.1 {
 4903:   count_steps_sort {
 4904:      SELECT a FROM t2
 4905:       WHERE f='fghijklmn'
 4906:          OR a=16
 4907:          OR (g='xwvutsr' AND f GLOB 'defgh*')
 4908:          OR ((a BETWEEN 60 AND 62) AND a!=61)
 4909:          OR ((a BETWEEN 90 AND 92) AND a!=91)
 4910:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 4911:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
 4912:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
 4913:          OR b=80
 4914:   }
 4915: } {3 5 9 11 16 31 52 57 60 62 71 83 90 92 scan 0 sort 0}
 4916: do_test where7-2.212.2 {
 4917:   count_steps_sort {
 4918:      SELECT a FROM t3
 4919:       WHERE f='fghijklmn'
 4920:          OR a=16
 4921:          OR (g='xwvutsr' AND f GLOB 'defgh*')
 4922:          OR ((a BETWEEN 60 AND 62) AND a!=61)
 4923:          OR ((a BETWEEN 90 AND 92) AND a!=91)
 4924:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 4925:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
 4926:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
 4927:          OR b=80
 4928:   }
 4929: } {3 5 9 11 16 31 52 57 60 62 71 83 90 92 scan 0 sort 0}
 4930: do_test where7-2.213.1 {
 4931:   count_steps_sort {
 4932:      SELECT a FROM t2
 4933:       WHERE (g='wvutsrq' AND f GLOB 'mnopq*')
 4934:          OR a=44
 4935:          OR a=43
 4936:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
 4937:          OR b=25
 4938:   }
 4939: } {12 43 44 66 scan 0 sort 0}
 4940: do_test where7-2.213.2 {
 4941:   count_steps_sort {
 4942:      SELECT a FROM t3
 4943:       WHERE (g='wvutsrq' AND f GLOB 'mnopq*')
 4944:          OR a=44
 4945:          OR a=43
 4946:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
 4947:          OR b=25
 4948:   }
 4949: } {12 43 44 66 scan 0 sort 0}
 4950: do_test where7-2.214.1 {
 4951:   count_steps_sort {
 4952:      SELECT a FROM t2
 4953:       WHERE f='vwxyzabcd'
 4954:          OR a=73
 4955:          OR b=597
 4956:   }
 4957: } {21 47 73 99 scan 0 sort 0}
 4958: do_test where7-2.214.2 {
 4959:   count_steps_sort {
 4960:      SELECT a FROM t3
 4961:       WHERE f='vwxyzabcd'
 4962:          OR a=73
 4963:          OR b=597
 4964:   }
 4965: } {21 47 73 99 scan 0 sort 0}
 4966: do_test where7-2.215.1 {
 4967:   count_steps_sort {
 4968:      SELECT a FROM t2
 4969:       WHERE b=22
 4970:          OR ((a BETWEEN 61 AND 63) AND a!=62)
 4971:          OR e IS NULL
 4972:          OR a=1
 4973:   }
 4974: } {1 2 61 63 scan 0 sort 0}
 4975: do_test where7-2.215.2 {
 4976:   count_steps_sort {
 4977:      SELECT a FROM t3
 4978:       WHERE b=22
 4979:          OR ((a BETWEEN 61 AND 63) AND a!=62)
 4980:          OR e IS NULL
 4981:          OR a=1
 4982:   }
 4983: } {1 2 61 63 scan 0 sort 0}
 4984: do_test where7-2.216.1 {
 4985:   count_steps_sort {
 4986:      SELECT a FROM t2
 4987:       WHERE (d>=3.0 AND d<4.0 AND d NOT NULL)
 4988:          OR (g='gfedcba' AND f GLOB 'opqrs*')
 4989:          OR b=1015
 4990:          OR c=16016
 4991:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 4992:          OR f='abcdefghi'
 4993:          OR b=605
 4994:          OR a=63
 4995:   }
 4996: } {3 19 26 45 46 47 48 52 55 63 71 78 92 97 scan 0 sort 0}
 4997: do_test where7-2.216.2 {
 4998:   count_steps_sort {
 4999:      SELECT a FROM t3
 5000:       WHERE (d>=3.0 AND d<4.0 AND d NOT NULL)
 5001:          OR (g='gfedcba' AND f GLOB 'opqrs*')
 5002:          OR b=1015
 5003:          OR c=16016
 5004:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 5005:          OR f='abcdefghi'
 5006:          OR b=605
 5007:          OR a=63
 5008:   }
 5009: } {3 19 26 45 46 47 48 52 55 63 71 78 92 97 scan 0 sort 0}
 5010: do_test where7-2.217.1 {
 5011:   count_steps_sort {
 5012:      SELECT a FROM t2
 5013:       WHERE (g='yxwvuts' AND f GLOB 'bcdef*')
 5014:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
 5015:          OR b=641
 5016:          OR b=795
 5017:   }
 5018: } {1 44 scan 0 sort 0}
 5019: do_test where7-2.217.2 {
 5020:   count_steps_sort {
 5021:      SELECT a FROM t3
 5022:       WHERE (g='yxwvuts' AND f GLOB 'bcdef*')
 5023:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
 5024:          OR b=641
 5025:          OR b=795
 5026:   }
 5027: } {1 44 scan 0 sort 0}
 5028: do_test where7-2.218.1 {
 5029:   count_steps_sort {
 5030:      SELECT a FROM t2
 5031:       WHERE f='fghijklmn'
 5032:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
 5033:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
 5034:   }
 5035: } {5 15 31 44 57 83 scan 0 sort 0}
 5036: do_test where7-2.218.2 {
 5037:   count_steps_sort {
 5038:      SELECT a FROM t3
 5039:       WHERE f='fghijklmn'
 5040:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
 5041:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
 5042:   }
 5043: } {5 15 31 44 57 83 scan 0 sort 0}
 5044: do_test where7-2.219.1 {
 5045:   count_steps_sort {
 5046:      SELECT a FROM t2
 5047:       WHERE ((a BETWEEN 99 AND 101) AND a!=100)
 5048:          OR ((a BETWEEN 72 AND 74) AND a!=73)
 5049:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 5050:          OR a=92
 5051:          OR b=1100
 5052:          OR ((a BETWEEN 98 AND 100) AND a!=99)
 5053:          OR ((a BETWEEN 30 AND 32) AND a!=31)
 5054:   }
 5055: } {30 32 72 74 85 87 92 98 99 100 scan 0 sort 0}
 5056: do_test where7-2.219.2 {
 5057:   count_steps_sort {
 5058:      SELECT a FROM t3
 5059:       WHERE ((a BETWEEN 99 AND 101) AND a!=100)
 5060:          OR ((a BETWEEN 72 AND 74) AND a!=73)
 5061:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 5062:          OR a=92
 5063:          OR b=1100
 5064:          OR ((a BETWEEN 98 AND 100) AND a!=99)
 5065:          OR ((a BETWEEN 30 AND 32) AND a!=31)
 5066:   }
 5067: } {30 32 72 74 85 87 92 98 99 100 scan 0 sort 0}
 5068: do_test where7-2.220.1 {
 5069:   count_steps_sort {
 5070:      SELECT a FROM t2
 5071:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
 5072:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
 5073:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 5074:          OR b=880
 5075:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
 5076:          OR b=1089
 5077:          OR ((a BETWEEN 69 AND 71) AND a!=70)
 5078:          OR f IS NULL
 5079:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
 5080:   }
 5081: } {5 12 16 31 57 69 71 80 83 86 97 99 scan 0 sort 0}
 5082: do_test where7-2.220.2 {
 5083:   count_steps_sort {
 5084:      SELECT a FROM t3
 5085:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
 5086:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
 5087:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 5088:          OR b=880
 5089:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
 5090:          OR b=1089
 5091:          OR ((a BETWEEN 69 AND 71) AND a!=70)
 5092:          OR f IS NULL
 5093:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
 5094:   }
 5095: } {5 12 16 31 57 69 71 80 83 86 97 99 scan 0 sort 0}
 5096: do_test where7-2.221.1 {
 5097:   count_steps_sort {
 5098:      SELECT a FROM t2
 5099:       WHERE b=1026
 5100:          OR b=407
 5101:          OR (g='srqponm' AND f GLOB 'fghij*')
 5102:          OR b=564
 5103:          OR c=23023
 5104:          OR b=891
 5105:          OR c=22022
 5106:          OR ((a BETWEEN 22 AND 24) AND a!=23)
 5107:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 5108:          OR (g='rqponml' AND f GLOB 'ijklm*')
 5109:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
 5110:   }
 5111: } {9 11 21 22 24 31 34 37 64 65 66 67 68 69 81 scan 0 sort 0}
 5112: do_test where7-2.221.2 {
 5113:   count_steps_sort {
 5114:      SELECT a FROM t3
 5115:       WHERE b=1026
 5116:          OR b=407
 5117:          OR (g='srqponm' AND f GLOB 'fghij*')
 5118:          OR b=564
 5119:          OR c=23023
 5120:          OR b=891
 5121:          OR c=22022
 5122:          OR ((a BETWEEN 22 AND 24) AND a!=23)
 5123:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 5124:          OR (g='rqponml' AND f GLOB 'ijklm*')
 5125:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
 5126:   }
 5127: } {9 11 21 22 24 31 34 37 64 65 66 67 68 69 81 scan 0 sort 0}
 5128: do_test where7-2.222.1 {
 5129:   count_steps_sort {
 5130:      SELECT a FROM t2
 5131:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
 5132:          OR a=72
 5133:          OR a=43
 5134:   }
 5135: } {43 71 72 73 scan 0 sort 0}
 5136: do_test where7-2.222.2 {
 5137:   count_steps_sort {
 5138:      SELECT a FROM t3
 5139:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
 5140:          OR a=72
 5141:          OR a=43
 5142:   }
 5143: } {43 71 72 73 scan 0 sort 0}
 5144: do_test where7-2.223.1 {
 5145:   count_steps_sort {
 5146:      SELECT a FROM t2
 5147:       WHERE ((a BETWEEN 67 AND 69) AND a!=68)
 5148:          OR ((a BETWEEN 79 AND 81) AND a!=80)
 5149:          OR c=18018
 5150:          OR b=792
 5151:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
 5152:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
 5153:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
 5154:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
 5155:          OR f='uvwxyzabc'
 5156:          OR (d>=74.0 AND d<75.0 AND d NOT NULL)
 5157:   }
 5158: } {8 20 46 52 53 54 61 67 69 72 74 77 79 81 91 98 scan 0 sort 0}
 5159: do_test where7-2.223.2 {
 5160:   count_steps_sort {
 5161:      SELECT a FROM t3
 5162:       WHERE ((a BETWEEN 67 AND 69) AND a!=68)
 5163:          OR ((a BETWEEN 79 AND 81) AND a!=80)
 5164:          OR c=18018
 5165:          OR b=792
 5166:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
 5167:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
 5168:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
 5169:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
 5170:          OR f='uvwxyzabc'
 5171:          OR (d>=74.0 AND d<75.0 AND d NOT NULL)
 5172:   }
 5173: } {8 20 46 52 53 54 61 67 69 72 74 77 79 81 91 98 scan 0 sort 0}
 5174: do_test where7-2.224.1 {
 5175:   count_steps_sort {
 5176:      SELECT a FROM t2
 5177:       WHERE b=429
 5178:          OR (d>=33.0 AND d<34.0 AND d NOT NULL)
 5179:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
 5180:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 5181:          OR b=1070
 5182:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
 5183:   }
 5184: } {4 17 30 33 39 40 56 82 scan 0 sort 0}
 5185: do_test where7-2.224.2 {
 5186:   count_steps_sort {
 5187:      SELECT a FROM t3
 5188:       WHERE b=429
 5189:          OR (d>=33.0 AND d<34.0 AND d NOT NULL)
 5190:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
 5191:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 5192:          OR b=1070
 5193:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
 5194:   }
 5195: } {4 17 30 33 39 40 56 82 scan 0 sort 0}
 5196: do_test where7-2.225.1 {
 5197:   count_steps_sort {
 5198:      SELECT a FROM t2
 5199:       WHERE (g='mlkjihg' AND f GLOB 'jklmn*')
 5200:          OR b=572
 5201:   }
 5202: } {52 61 scan 0 sort 0}
 5203: do_test where7-2.225.2 {
 5204:   count_steps_sort {
 5205:      SELECT a FROM t3
 5206:       WHERE (g='mlkjihg' AND f GLOB 'jklmn*')
 5207:          OR b=572
 5208:   }
 5209: } {52 61 scan 0 sort 0}
 5210: do_test where7-2.226.1 {
 5211:   count_steps_sort {
 5212:      SELECT a FROM t2
 5213:       WHERE ((a BETWEEN 62 AND 64) AND a!=63)
 5214:          OR f='abcdefghi'
 5215:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
 5216:   }
 5217: } {8 26 52 62 64 78 scan 0 sort 0}
 5218: do_test where7-2.226.2 {
 5219:   count_steps_sort {
 5220:      SELECT a FROM t3
 5221:       WHERE ((a BETWEEN 62 AND 64) AND a!=63)
 5222:          OR f='abcdefghi'
 5223:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
 5224:   }
 5225: } {8 26 52 62 64 78 scan 0 sort 0}
 5226: do_test where7-2.227.1 {
 5227:   count_steps_sort {
 5228:      SELECT a FROM t2
 5229:       WHERE a=40
 5230:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 5231:   }
 5232: } {40 85 87 scan 0 sort 0}
 5233: do_test where7-2.227.2 {
 5234:   count_steps_sort {
 5235:      SELECT a FROM t3
 5236:       WHERE a=40
 5237:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 5238:   }
 5239: } {40 85 87 scan 0 sort 0}
 5240: do_test where7-2.228.1 {
 5241:   count_steps_sort {
 5242:      SELECT a FROM t2
 5243:       WHERE a=43
 5244:          OR ((a BETWEEN 44 AND 46) AND a!=45)
 5245:          OR a=1
 5246:          OR ((a BETWEEN 75 AND 77) AND a!=76)
 5247:          OR a=75
 5248:          OR (g='hgfedcb' AND f GLOB 'fghij*')
 5249:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 5250:   }
 5251: } {1 43 44 46 59 61 75 77 83 scan 0 sort 0}
 5252: do_test where7-2.228.2 {
 5253:   count_steps_sort {
 5254:      SELECT a FROM t3
 5255:       WHERE a=43
 5256:          OR ((a BETWEEN 44 AND 46) AND a!=45)
 5257:          OR a=1
 5258:          OR ((a BETWEEN 75 AND 77) AND a!=76)
 5259:          OR a=75
 5260:          OR (g='hgfedcb' AND f GLOB 'fghij*')
 5261:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 5262:   }
 5263: } {1 43 44 46 59 61 75 77 83 scan 0 sort 0}
 5264: do_test where7-2.229.1 {
 5265:   count_steps_sort {
 5266:      SELECT a FROM t2
 5267:       WHERE (g='gfedcba' AND f GLOB 'nopqr*')
 5268:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 5269:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
 5270:          OR b=231
 5271:          OR a=87
 5272:   }
 5273: } {8 21 34 60 86 87 91 scan 0 sort 0}
 5274: do_test where7-2.229.2 {
 5275:   count_steps_sort {
 5276:      SELECT a FROM t3
 5277:       WHERE (g='gfedcba' AND f GLOB 'nopqr*')
 5278:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 5279:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
 5280:          OR b=231
 5281:          OR a=87
 5282:   }
 5283: } {8 21 34 60 86 87 91 scan 0 sort 0}
 5284: do_test where7-2.230.1 {
 5285:   count_steps_sort {
 5286:      SELECT a FROM t2
 5287:       WHERE a=77
 5288:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 5289:          OR (g='rqponml' AND f GLOB 'hijkl*')
 5290:          OR c=24024
 5291:          OR c=5005
 5292:   }
 5293: } {13 14 15 33 65 70 71 72 77 scan 0 sort 0}
 5294: do_test where7-2.230.2 {
 5295:   count_steps_sort {
 5296:      SELECT a FROM t3
 5297:       WHERE a=77
 5298:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 5299:          OR (g='rqponml' AND f GLOB 'hijkl*')
 5300:          OR c=24024
 5301:          OR c=5005
 5302:   }
 5303: } {13 14 15 33 65 70 71 72 77 scan 0 sort 0}
 5304: do_test where7-2.231.1 {
 5305:   count_steps_sort {
 5306:      SELECT a FROM t2
 5307:       WHERE (g='mlkjihg' AND f GLOB 'ijklm*')
 5308:          OR ((a BETWEEN 89 AND 91) AND a!=90)
 5309:          OR (g='srqponm' AND f GLOB 'defgh*')
 5310:          OR ((a BETWEEN 64 AND 66) AND a!=65)
 5311:          OR b=682
 5312:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
 5313:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 5314:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
 5315:   }
 5316: } {22 29 34 60 62 64 65 66 89 91 scan 0 sort 0}
 5317: do_test where7-2.231.2 {
 5318:   count_steps_sort {
 5319:      SELECT a FROM t3
 5320:       WHERE (g='mlkjihg' AND f GLOB 'ijklm*')
 5321:          OR ((a BETWEEN 89 AND 91) AND a!=90)
 5322:          OR (g='srqponm' AND f GLOB 'defgh*')
 5323:          OR ((a BETWEEN 64 AND 66) AND a!=65)
 5324:          OR b=682
 5325:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
 5326:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 5327:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
 5328:   }
 5329: } {22 29 34 60 62 64 65 66 89 91 scan 0 sort 0}
 5330: do_test where7-2.232.1 {
 5331:   count_steps_sort {
 5332:      SELECT a FROM t2
 5333:       WHERE b=212
 5334:          OR b=121
 5335:          OR c=2002
 5336:          OR ((a BETWEEN 84 AND 86) AND a!=85)
 5337:          OR (g='jihgfed' AND f GLOB 'xyzab*')
 5338:   }
 5339: } {4 5 6 11 75 84 86 scan 0 sort 0}
 5340: do_test where7-2.232.2 {
 5341:   count_steps_sort {
 5342:      SELECT a FROM t3
 5343:       WHERE b=212
 5344:          OR b=121
 5345:          OR c=2002
 5346:          OR ((a BETWEEN 84 AND 86) AND a!=85)
 5347:          OR (g='jihgfed' AND f GLOB 'xyzab*')
 5348:   }
 5349: } {4 5 6 11 75 84 86 scan 0 sort 0}
 5350: do_test where7-2.233.1 {
 5351:   count_steps_sort {
 5352:      SELECT a FROM t2
 5353:       WHERE (d>=55.0 AND d<56.0 AND d NOT NULL)
 5354:          OR f='abcdefghi'
 5355:          OR b=267
 5356:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 5357:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
 5358:          OR a=82
 5359:          OR a=54
 5360:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
 5361:          OR b=1078
 5362:   }
 5363: } {16 20 26 52 54 55 78 82 98 scan 0 sort 0}
 5364: do_test where7-2.233.2 {
 5365:   count_steps_sort {
 5366:      SELECT a FROM t3
 5367:       WHERE (d>=55.0 AND d<56.0 AND d NOT NULL)
 5368:          OR f='abcdefghi'
 5369:          OR b=267
 5370:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 5371:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
 5372:          OR a=82
 5373:          OR a=54
 5374:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
 5375:          OR b=1078
 5376:   }
 5377: } {16 20 26 52 54 55 78 82 98 scan 0 sort 0}
 5378: do_test where7-2.234.1 {
 5379:   count_steps_sort {
 5380:      SELECT a FROM t2
 5381:       WHERE (d>=93.0 AND d<94.0 AND d NOT NULL)
 5382:          OR f='hijklmnop'
 5383:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
 5384:   }
 5385: } {7 33 34 59 85 93 scan 0 sort 0}
 5386: do_test where7-2.234.2 {
 5387:   count_steps_sort {
 5388:      SELECT a FROM t3
 5389:       WHERE (d>=93.0 AND d<94.0 AND d NOT NULL)
 5390:          OR f='hijklmnop'
 5391:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
 5392:   }
 5393: } {7 33 34 59 85 93 scan 0 sort 0}
 5394: do_test where7-2.235.1 {
 5395:   count_steps_sort {
 5396:      SELECT a FROM t2
 5397:       WHERE ((a BETWEEN 98 AND 100) AND a!=99)
 5398:          OR ((a BETWEEN 51 AND 53) AND a!=52)
 5399:          OR a=18
 5400:          OR ((a BETWEEN 31 AND 33) AND a!=32)
 5401:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
 5402:          OR 1000000<b
 5403:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
 5404:          OR (g='rqponml' AND f GLOB 'lmnop*')
 5405:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
 5406:   }
 5407: } {7 14 18 31 33 37 40 51 53 59 66 85 92 94 98 100 scan 0 sort 0}
 5408: do_test where7-2.235.2 {
 5409:   count_steps_sort {
 5410:      SELECT a FROM t3
 5411:       WHERE ((a BETWEEN 98 AND 100) AND a!=99)
 5412:          OR ((a BETWEEN 51 AND 53) AND a!=52)
 5413:          OR a=18
 5414:          OR ((a BETWEEN 31 AND 33) AND a!=32)
 5415:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
 5416:          OR 1000000<b
 5417:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
 5418:          OR (g='rqponml' AND f GLOB 'lmnop*')
 5419:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
 5420:   }
 5421: } {7 14 18 31 33 37 40 51 53 59 66 85 92 94 98 100 scan 0 sort 0}
 5422: do_test where7-2.236.1 {
 5423:   count_steps_sort {
 5424:      SELECT a FROM t2
 5425:       WHERE b=1001
 5426:          OR b=168
 5427:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
 5428:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 5429:   }
 5430: } {7 33 59 85 89 91 scan 0 sort 0}
 5431: do_test where7-2.236.2 {
 5432:   count_steps_sort {
 5433:      SELECT a FROM t3
 5434:       WHERE b=1001
 5435:          OR b=168
 5436:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
 5437:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 5438:   }
 5439: } {7 33 59 85 89 91 scan 0 sort 0}
 5440: do_test where7-2.237.1 {
 5441:   count_steps_sort {
 5442:      SELECT a FROM t2
 5443:       WHERE a=51
 5444:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 5445:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
 5446:          OR b=330
 5447:   }
 5448: } {30 51 96 98 scan 0 sort 0}
 5449: do_test where7-2.237.2 {
 5450:   count_steps_sort {
 5451:      SELECT a FROM t3
 5452:       WHERE a=51
 5453:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 5454:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
 5455:          OR b=330
 5456:   }
 5457: } {30 51 96 98 scan 0 sort 0}
 5458: do_test where7-2.238.1 {
 5459:   count_steps_sort {
 5460:      SELECT a FROM t2
 5461:       WHERE (g='kjihgfe' AND f GLOB 'tuvwx*')
 5462:          OR b=704
 5463:          OR a=62
 5464:          OR f='pqrstuvwx'
 5465:          OR b=495
 5466:          OR c=26026
 5467:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 5468:          OR b<0
 5469:          OR b=597
 5470:   }
 5471: } {15 41 45 62 64 67 68 71 76 77 78 93 scan 0 sort 0}
 5472: do_test where7-2.238.2 {
 5473:   count_steps_sort {
 5474:      SELECT a FROM t3
 5475:       WHERE (g='kjihgfe' AND f GLOB 'tuvwx*')
 5476:          OR b=704
 5477:          OR a=62
 5478:          OR f='pqrstuvwx'
 5479:          OR b=495
 5480:          OR c=26026
 5481:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 5482:          OR b<0
 5483:          OR b=597
 5484:   }
 5485: } {15 41 45 62 64 67 68 71 76 77 78 93 scan 0 sort 0}
 5486: do_test where7-2.239.1 {
 5487:   count_steps_sort {
 5488:      SELECT a FROM t2
 5489:       WHERE (d>=2.0 AND d<3.0 AND d NOT NULL)
 5490:          OR ((a BETWEEN 87 AND 89) AND a!=88)
 5491:          OR b=520
 5492:          OR ((a BETWEEN 47 AND 49) AND a!=48)
 5493:          OR f IS NULL
 5494:   }
 5495: } {2 47 49 87 89 scan 0 sort 0}
 5496: do_test where7-2.239.2 {
 5497:   count_steps_sort {
 5498:      SELECT a FROM t3
 5499:       WHERE (d>=2.0 AND d<3.0 AND d NOT NULL)
 5500:          OR ((a BETWEEN 87 AND 89) AND a!=88)
 5501:          OR b=520
 5502:          OR ((a BETWEEN 47 AND 49) AND a!=48)
 5503:          OR f IS NULL
 5504:   }
 5505: } {2 47 49 87 89 scan 0 sort 0}
 5506: do_test where7-2.240.1 {
 5507:   count_steps_sort {
 5508:      SELECT a FROM t2
 5509:       WHERE c=14014
 5510:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
 5511:          OR b=572
 5512:          OR c=15015
 5513:   }
 5514: } {40 41 42 43 44 45 52 95 scan 0 sort 0}
 5515: do_test where7-2.240.2 {
 5516:   count_steps_sort {
 5517:      SELECT a FROM t3
 5518:       WHERE c=14014
 5519:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
 5520:          OR b=572
 5521:          OR c=15015
 5522:   }
 5523: } {40 41 42 43 44 45 52 95 scan 0 sort 0}
 5524: do_test where7-2.241.1 {
 5525:   count_steps_sort {
 5526:      SELECT a FROM t2
 5527:       WHERE (f GLOB '?efgh*' AND f GLOB 'defg*')
 5528:          OR b=850
 5529:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 5530:          OR ((a BETWEEN 15 AND 17) AND a!=16)
 5531:          OR b=88
 5532:          OR f='hijklmnop'
 5533:          OR b=806
 5534:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
 5535:          OR b=88
 5536:   }
 5537: } {3 7 8 15 17 29 33 46 55 59 65 81 85 scan 0 sort 0}
 5538: do_test where7-2.241.2 {
 5539:   count_steps_sort {
 5540:      SELECT a FROM t3
 5541:       WHERE (f GLOB '?efgh*' AND f GLOB 'defg*')
 5542:          OR b=850
 5543:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 5544:          OR ((a BETWEEN 15 AND 17) AND a!=16)
 5545:          OR b=88
 5546:          OR f='hijklmnop'
 5547:          OR b=806
 5548:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
 5549:          OR b=88
 5550:   }
 5551: } {3 7 8 15 17 29 33 46 55 59 65 81 85 scan 0 sort 0}
 5552: do_test where7-2.242.1 {
 5553:   count_steps_sort {
 5554:      SELECT a FROM t2
 5555:       WHERE b=817
 5556:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
 5557:          OR a=36
 5558:          OR b=960
 5559:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
 5560:          OR b=374
 5561:          OR b=938
 5562:          OR b=773
 5563:          OR (g='jihgfed' AND f GLOB 'zabcd*')
 5564:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
 5565:   }
 5566: } {34 36 55 58 63 77 scan 0 sort 0}
 5567: do_test where7-2.242.2 {
 5568:   count_steps_sort {
 5569:      SELECT a FROM t3
 5570:       WHERE b=817
 5571:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
 5572:          OR a=36
 5573:          OR b=960
 5574:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
 5575:          OR b=374
 5576:          OR b=938
 5577:          OR b=773
 5578:          OR (g='jihgfed' AND f GLOB 'zabcd*')
 5579:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
 5580:   }
 5581: } {34 36 55 58 63 77 scan 0 sort 0}
 5582: do_test where7-2.243.1 {
 5583:   count_steps_sort {
 5584:      SELECT a FROM t2
 5585:       WHERE (g='kjihgfe' AND f GLOB 'rstuv*')
 5586:          OR b=146
 5587:   }
 5588: } {69 scan 0 sort 0}
 5589: do_test where7-2.243.2 {
 5590:   count_steps_sort {
 5591:      SELECT a FROM t3
 5592:       WHERE (g='kjihgfe' AND f GLOB 'rstuv*')
 5593:          OR b=146
 5594:   }
 5595: } {69 scan 0 sort 0}
 5596: do_test where7-2.244.1 {
 5597:   count_steps_sort {
 5598:      SELECT a FROM t2
 5599:       WHERE f='pqrstuvwx'
 5600:          OR ((a BETWEEN 6 AND 8) AND a!=7)
 5601:          OR ((a BETWEEN 76 AND 78) AND a!=77)
 5602:          OR b=704
 5603:          OR a=18
 5604:   }
 5605: } {6 8 15 18 41 64 67 76 78 93 scan 0 sort 0}
 5606: do_test where7-2.244.2 {
 5607:   count_steps_sort {
 5608:      SELECT a FROM t3
 5609:       WHERE f='pqrstuvwx'
 5610:          OR ((a BETWEEN 6 AND 8) AND a!=7)
 5611:          OR ((a BETWEEN 76 AND 78) AND a!=77)
 5612:          OR b=704
 5613:          OR a=18
 5614:   }
 5615: } {6 8 15 18 41 64 67 76 78 93 scan 0 sort 0}
 5616: do_test where7-2.245.1 {
 5617:   count_steps_sort {
 5618:      SELECT a FROM t2
 5619:       WHERE (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 5620:          OR b=399
 5621:          OR b=1004
 5622:          OR c=16016
 5623:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 5624:          OR b=671
 5625:          OR a=25
 5626:          OR a=30
 5627:          OR a=8
 5628:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
 5629:   }
 5630: } {5 8 19 25 30 31 45 46 47 48 61 71 97 scan 0 sort 0}
 5631: do_test where7-2.245.2 {
 5632:   count_steps_sort {
 5633:      SELECT a FROM t3
 5634:       WHERE (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 5635:          OR b=399
 5636:          OR b=1004
 5637:          OR c=16016
 5638:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 5639:          OR b=671
 5640:          OR a=25
 5641:          OR a=30
 5642:          OR a=8
 5643:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
 5644:   }
 5645: } {5 8 19 25 30 31 45 46 47 48 61 71 97 scan 0 sort 0}
 5646: do_test where7-2.246.1 {
 5647:   count_steps_sort {
 5648:      SELECT a FROM t2
 5649:       WHERE b=561
 5650:          OR ((a BETWEEN 28 AND 30) AND a!=29)
 5651:          OR b=594
 5652:          OR ((a BETWEEN 39 AND 41) AND a!=40)
 5653:          OR b=861
 5654:          OR (d>=90.0 AND d<91.0 AND d NOT NULL)
 5655:          OR b=949
 5656:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
 5657:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
 5658:   }
 5659: } {18 28 30 39 41 51 54 90 scan 0 sort 0}
 5660: do_test where7-2.246.2 {
 5661:   count_steps_sort {
 5662:      SELECT a FROM t3
 5663:       WHERE b=561
 5664:          OR ((a BETWEEN 28 AND 30) AND a!=29)
 5665:          OR b=594
 5666:          OR ((a BETWEEN 39 AND 41) AND a!=40)
 5667:          OR b=861
 5668:          OR (d>=90.0 AND d<91.0 AND d NOT NULL)
 5669:          OR b=949
 5670:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
 5671:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
 5672:   }
 5673: } {18 28 30 39 41 51 54 90 scan 0 sort 0}
 5674: do_test where7-2.247.1 {
 5675:   count_steps_sort {
 5676:      SELECT a FROM t2
 5677:       WHERE (g='xwvutsr' AND f GLOB 'hijkl*')
 5678:          OR a=83
 5679:          OR c=26026
 5680:          OR a=49
 5681:          OR a=57
 5682:          OR c=23023
 5683:          OR f='uvwxyzabc'
 5684:   }
 5685: } {7 20 46 49 57 67 68 69 72 76 77 78 83 98 scan 0 sort 0}
 5686: do_test where7-2.247.2 {
 5687:   count_steps_sort {
 5688:      SELECT a FROM t3
 5689:       WHERE (g='xwvutsr' AND f GLOB 'hijkl*')
 5690:          OR a=83
 5691:          OR c=26026
 5692:          OR a=49
 5693:          OR a=57
 5694:          OR c=23023
 5695:          OR f='uvwxyzabc'
 5696:   }
 5697: } {7 20 46 49 57 67 68 69 72 76 77 78 83 98 scan 0 sort 0}
 5698: do_test where7-2.248.1 {
 5699:   count_steps_sort {
 5700:      SELECT a FROM t2
 5701:       WHERE d>1e10
 5702:          OR b=355
 5703:          OR f='stuvwxyza'
 5704:          OR b=22
 5705:   }
 5706: } {2 18 44 70 96 scan 0 sort 0}
 5707: do_test where7-2.248.2 {
 5708:   count_steps_sort {
 5709:      SELECT a FROM t3
 5710:       WHERE d>1e10
 5711:          OR b=355
 5712:          OR f='stuvwxyza'
 5713:          OR b=22
 5714:   }
 5715: } {2 18 44 70 96 scan 0 sort 0}
 5716: do_test where7-2.249.1 {
 5717:   count_steps_sort {
 5718:      SELECT a FROM t2
 5719:       WHERE b=451
 5720:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 5721:   }
 5722: } {8 34 41 60 86 scan 0 sort 0}
 5723: do_test where7-2.249.2 {
 5724:   count_steps_sort {
 5725:      SELECT a FROM t3
 5726:       WHERE b=451
 5727:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 5728:   }
 5729: } {8 34 41 60 86 scan 0 sort 0}
 5730: do_test where7-2.250.1 {
 5731:   count_steps_sort {
 5732:      SELECT a FROM t2
 5733:       WHERE b=47
 5734:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 5735:   }
 5736: } {1 27 53 79 scan 0 sort 0}
 5737: do_test where7-2.250.2 {
 5738:   count_steps_sort {
 5739:      SELECT a FROM t3
 5740:       WHERE b=47
 5741:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 5742:   }
 5743: } {1 27 53 79 scan 0 sort 0}
 5744: do_test where7-2.251.1 {
 5745:   count_steps_sort {
 5746:      SELECT a FROM t2
 5747:       WHERE b=1037
 5748:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 5749:          OR ((a BETWEEN 66 AND 68) AND a!=67)
 5750:          OR b=344
 5751:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
 5752:   }
 5753: } {12 66 68 86 scan 0 sort 0}
 5754: do_test where7-2.251.2 {
 5755:   count_steps_sort {
 5756:      SELECT a FROM t3
 5757:       WHERE b=1037
 5758:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 5759:          OR ((a BETWEEN 66 AND 68) AND a!=67)
 5760:          OR b=344
 5761:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
 5762:   }
 5763: } {12 66 68 86 scan 0 sort 0}
 5764: do_test where7-2.252.1 {
 5765:   count_steps_sort {
 5766:      SELECT a FROM t2
 5767:       WHERE b=506
 5768:          OR ((a BETWEEN 20 AND 22) AND a!=21)
 5769:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 5770:          OR b=429
 5771:          OR b=275
 5772:   }
 5773: } {20 22 25 39 46 86 scan 0 sort 0}
 5774: do_test where7-2.252.2 {
 5775:   count_steps_sort {
 5776:      SELECT a FROM t3
 5777:       WHERE b=506
 5778:          OR ((a BETWEEN 20 AND 22) AND a!=21)
 5779:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 5780:          OR b=429
 5781:          OR b=275
 5782:   }
 5783: } {20 22 25 39 46 86 scan 0 sort 0}
 5784: do_test where7-2.253.1 {
 5785:   count_steps_sort {
 5786:      SELECT a FROM t2
 5787:       WHERE ((a BETWEEN 60 AND 62) AND a!=61)
 5788:          OR a=28
 5789:          OR b=443
 5790:          OR b=363
 5791:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 5792:          OR a=60
 5793:          OR b=80
 5794:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
 5795:          OR b=616
 5796:   }
 5797: } {28 33 47 56 60 62 scan 0 sort 0}
 5798: do_test where7-2.253.2 {
 5799:   count_steps_sort {
 5800:      SELECT a FROM t3
 5801:       WHERE ((a BETWEEN 60 AND 62) AND a!=61)
 5802:          OR a=28
 5803:          OR b=443
 5804:          OR b=363
 5805:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 5806:          OR a=60
 5807:          OR b=80
 5808:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
 5809:          OR b=616
 5810:   }
 5811: } {28 33 47 56 60 62 scan 0 sort 0}
 5812: do_test where7-2.254.1 {
 5813:   count_steps_sort {
 5814:      SELECT a FROM t2
 5815:       WHERE (d>=33.0 AND d<34.0 AND d NOT NULL)
 5816:          OR b=660
 5817:   }
 5818: } {33 60 scan 0 sort 0}
 5819: do_test where7-2.254.2 {
 5820:   count_steps_sort {
 5821:      SELECT a FROM t3
 5822:       WHERE (d>=33.0 AND d<34.0 AND d NOT NULL)
 5823:          OR b=660
 5824:   }
 5825: } {33 60 scan 0 sort 0}
 5826: do_test where7-2.255.1 {
 5827:   count_steps_sort {
 5828:      SELECT a FROM t2
 5829:       WHERE (g='xwvutsr' AND f GLOB 'hijkl*')
 5830:          OR a=43
 5831:          OR ((a BETWEEN 64 AND 66) AND a!=65)
 5832:          OR b=586
 5833:          OR c=17017
 5834:          OR (g='onmlkji' AND f GLOB 'yzabc*')
 5835:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
 5836:          OR a=87
 5837:          OR b=968
 5838:   }
 5839: } {7 21 43 47 49 50 51 64 66 73 87 88 99 scan 0 sort 0}
 5840: do_test where7-2.255.2 {
 5841:   count_steps_sort {
 5842:      SELECT a FROM t3
 5843:       WHERE (g='xwvutsr' AND f GLOB 'hijkl*')
 5844:          OR a=43
 5845:          OR ((a BETWEEN 64 AND 66) AND a!=65)
 5846:          OR b=586
 5847:          OR c=17017
 5848:          OR (g='onmlkji' AND f GLOB 'yzabc*')
 5849:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
 5850:          OR a=87
 5851:          OR b=968
 5852:   }
 5853: } {7 21 43 47 49 50 51 64 66 73 87 88 99 scan 0 sort 0}
 5854: do_test where7-2.256.1 {
 5855:   count_steps_sort {
 5856:      SELECT a FROM t2
 5857:       WHERE f='klmnopqrs'
 5858:          OR b=982
 5859:          OR b=575
 5860:          OR b=110
 5861:          OR b=99
 5862:   }
 5863: } {9 10 36 62 88 scan 0 sort 0}
 5864: do_test where7-2.256.2 {
 5865:   count_steps_sort {
 5866:      SELECT a FROM t3
 5867:       WHERE f='klmnopqrs'
 5868:          OR b=982
 5869:          OR b=575
 5870:          OR b=110
 5871:          OR b=99
 5872:   }
 5873: } {9 10 36 62 88 scan 0 sort 0}
 5874: do_test where7-2.257.1 {
 5875:   count_steps_sort {
 5876:      SELECT a FROM t2
 5877:       WHERE (g='rqponml' AND f GLOB 'jklmn*')
 5878:          OR (g='xwvutsr' AND f GLOB 'efghi*')
 5879:          OR c>=34035
 5880:          OR b=850
 5881:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 5882:          OR b=924
 5883:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
 5884:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
 5885:          OR b=355
 5886:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
 5887:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
 5888:   }
 5889: } {4 32 34 35 37 56 78 84 86 scan 0 sort 0}
 5890: do_test where7-2.257.2 {
 5891:   count_steps_sort {
 5892:      SELECT a FROM t3
 5893:       WHERE (g='rqponml' AND f GLOB 'jklmn*')
 5894:          OR (g='xwvutsr' AND f GLOB 'efghi*')
 5895:          OR c>=34035
 5896:          OR b=850
 5897:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 5898:          OR b=924
 5899:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
 5900:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
 5901:          OR b=355
 5902:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
 5903:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
 5904:   }
 5905: } {4 32 34 35 37 56 78 84 86 scan 0 sort 0}
 5906: do_test where7-2.258.1 {
 5907:   count_steps_sort {
 5908:      SELECT a FROM t2
 5909:       WHERE (d>=46.0 AND d<47.0 AND d NOT NULL)
 5910:          OR b=982
 5911:          OR ((a BETWEEN 81 AND 83) AND a!=82)
 5912:          OR b=374
 5913:   }
 5914: } {34 46 81 83 scan 0 sort 0}
 5915: do_test where7-2.258.2 {
 5916:   count_steps_sort {
 5917:      SELECT a FROM t3
 5918:       WHERE (d>=46.0 AND d<47.0 AND d NOT NULL)
 5919:          OR b=982
 5920:          OR ((a BETWEEN 81 AND 83) AND a!=82)
 5921:          OR b=374
 5922:   }
 5923: } {34 46 81 83 scan 0 sort 0}
 5924: do_test where7-2.259.1 {
 5925:   count_steps_sort {
 5926:      SELECT a FROM t2
 5927:       WHERE ((a BETWEEN 87 AND 89) AND a!=88)
 5928:          OR b=814
 5929:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
 5930:   }
 5931: } {19 74 87 89 scan 0 sort 0}
 5932: do_test where7-2.259.2 {
 5933:   count_steps_sort {
 5934:      SELECT a FROM t3
 5935:       WHERE ((a BETWEEN 87 AND 89) AND a!=88)
 5936:          OR b=814
 5937:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
 5938:   }
 5939: } {19 74 87 89 scan 0 sort 0}
 5940: do_test where7-2.260.1 {
 5941:   count_steps_sort {
 5942:      SELECT a FROM t2
 5943:       WHERE (g='qponmlk' AND f GLOB 'nopqr*')
 5944:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 5945:          OR b=993
 5946:   }
 5947: } {12 39 scan 0 sort 0}
 5948: do_test where7-2.260.2 {
 5949:   count_steps_sort {
 5950:      SELECT a FROM t3
 5951:       WHERE (g='qponmlk' AND f GLOB 'nopqr*')
 5952:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 5953:          OR b=993
 5954:   }
 5955: } {12 39 scan 0 sort 0}
 5956: do_test where7-2.261.1 {
 5957:   count_steps_sort {
 5958:      SELECT a FROM t2
 5959:       WHERE b=234
 5960:          OR a=22
 5961:          OR b=289
 5962:          OR b=795
 5963:          OR (g='gfedcba' AND f GLOB 'nopqr*')
 5964:          OR b=242
 5965:          OR a=59
 5966:          OR b=1045
 5967:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
 5968:   }
 5969: } {8 22 59 91 95 scan 0 sort 0}
 5970: do_test where7-2.261.2 {
 5971:   count_steps_sort {
 5972:      SELECT a FROM t3
 5973:       WHERE b=234
 5974:          OR a=22
 5975:          OR b=289
 5976:          OR b=795
 5977:          OR (g='gfedcba' AND f GLOB 'nopqr*')
 5978:          OR b=242
 5979:          OR a=59
 5980:          OR b=1045
 5981:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
 5982:   }
 5983: } {8 22 59 91 95 scan 0 sort 0}
 5984: do_test where7-2.262.1 {
 5985:   count_steps_sort {
 5986:      SELECT a FROM t2
 5987:       WHERE b=245
 5988:          OR (g='wvutsrq' AND f GLOB 'klmno*')
 5989:          OR c=3003
 5990:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
 5991:          OR ((a BETWEEN 68 AND 70) AND a!=69)
 5992:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 5993:          OR (d>=33.0 AND d<34.0 AND d NOT NULL)
 5994:          OR ((a BETWEEN 71 AND 73) AND a!=72)
 5995:   }
 5996: } {1 7 8 9 10 26 33 52 68 70 71 73 78 scan 0 sort 0}
 5997: do_test where7-2.262.2 {
 5998:   count_steps_sort {
 5999:      SELECT a FROM t3
 6000:       WHERE b=245
 6001:          OR (g='wvutsrq' AND f GLOB 'klmno*')
 6002:          OR c=3003
 6003:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
 6004:          OR ((a BETWEEN 68 AND 70) AND a!=69)
 6005:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 6006:          OR (d>=33.0 AND d<34.0 AND d NOT NULL)
 6007:          OR ((a BETWEEN 71 AND 73) AND a!=72)
 6008:   }
 6009: } {1 7 8 9 10 26 33 52 68 70 71 73 78 scan 0 sort 0}
 6010: do_test where7-2.263.1 {
 6011:   count_steps_sort {
 6012:      SELECT a FROM t2
 6013:       WHERE (g='hgfedcb' AND f GLOB 'jklmn*')
 6014:          OR b=220
 6015:          OR b=443
 6016:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
 6017:          OR a=62
 6018:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
 6019:          OR b=1023
 6020:          OR a=100
 6021:          OR (g='nmlkjih' AND f GLOB 'defgh*')
 6022:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
 6023:   }
 6024: } {18 20 44 55 62 70 87 93 96 97 100 scan 0 sort 0}
 6025: do_test where7-2.263.2 {
 6026:   count_steps_sort {
 6027:      SELECT a FROM t3
 6028:       WHERE (g='hgfedcb' AND f GLOB 'jklmn*')
 6029:          OR b=220
 6030:          OR b=443
 6031:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
 6032:          OR a=62
 6033:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
 6034:          OR b=1023
 6035:          OR a=100
 6036:          OR (g='nmlkjih' AND f GLOB 'defgh*')
 6037:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
 6038:   }
 6039: } {18 20 44 55 62 70 87 93 96 97 100 scan 0 sort 0}
 6040: do_test where7-2.264.1 {
 6041:   count_steps_sort {
 6042:      SELECT a FROM t2
 6043:       WHERE c=11011
 6044:          OR f='tuvwxyzab'
 6045:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
 6046:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
 6047:   }
 6048: } {19 31 32 33 45 47 71 84 97 scan 0 sort 0}
 6049: do_test where7-2.264.2 {
 6050:   count_steps_sort {
 6051:      SELECT a FROM t3
 6052:       WHERE c=11011
 6053:          OR f='tuvwxyzab'
 6054:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
 6055:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
 6056:   }
 6057: } {19 31 32 33 45 47 71 84 97 scan 0 sort 0}
 6058: do_test where7-2.265.1 {
 6059:   count_steps_sort {
 6060:      SELECT a FROM t2
 6061:       WHERE ((a BETWEEN 93 AND 95) AND a!=94)
 6062:          OR a=79
 6063:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
 6064:          OR b=462
 6065:   }
 6066: } {39 42 79 93 95 scan 0 sort 0}
 6067: do_test where7-2.265.2 {
 6068:   count_steps_sort {
 6069:      SELECT a FROM t3
 6070:       WHERE ((a BETWEEN 93 AND 95) AND a!=94)
 6071:          OR a=79
 6072:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
 6073:          OR b=462
 6074:   }
 6075: } {39 42 79 93 95 scan 0 sort 0}
 6076: do_test where7-2.266.1 {
 6077:   count_steps_sort {
 6078:      SELECT a FROM t2
 6079:       WHERE (d>=33.0 AND d<34.0 AND d NOT NULL)
 6080:          OR b=146
 6081:          OR 1000000<b
 6082:          OR b=99
 6083:          OR ((a BETWEEN 75 AND 77) AND a!=76)
 6084:   }
 6085: } {9 33 75 77 scan 0 sort 0}
 6086: do_test where7-2.266.2 {
 6087:   count_steps_sort {
 6088:      SELECT a FROM t3
 6089:       WHERE (d>=33.0 AND d<34.0 AND d NOT NULL)
 6090:          OR b=146
 6091:          OR 1000000<b
 6092:          OR b=99
 6093:          OR ((a BETWEEN 75 AND 77) AND a!=76)
 6094:   }
 6095: } {9 33 75 77 scan 0 sort 0}
 6096: do_test where7-2.267.1 {
 6097:   count_steps_sort {
 6098:      SELECT a FROM t2
 6099:       WHERE b=935
 6100:          OR b=473
 6101:          OR a=28
 6102:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
 6103:          OR ((a BETWEEN 62 AND 64) AND a!=63)
 6104:          OR a=62
 6105:          OR b=619
 6106:          OR a=82
 6107:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
 6108:          OR c=14014
 6109:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
 6110:   }
 6111: } {20 28 40 41 42 43 62 64 67 82 85 scan 0 sort 0}
 6112: do_test where7-2.267.2 {
 6113:   count_steps_sort {
 6114:      SELECT a FROM t3
 6115:       WHERE b=935
 6116:          OR b=473
 6117:          OR a=28
 6118:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
 6119:          OR ((a BETWEEN 62 AND 64) AND a!=63)
 6120:          OR a=62
 6121:          OR b=619
 6122:          OR a=82
 6123:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
 6124:          OR c=14014
 6125:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
 6126:   }
 6127: } {20 28 40 41 42 43 62 64 67 82 85 scan 0 sort 0}
 6128: do_test where7-2.268.1 {
 6129:   count_steps_sort {
 6130:      SELECT a FROM t2
 6131:       WHERE (g='ponmlkj' AND f GLOB 'uvwxy*')
 6132:          OR b=443
 6133:          OR b=33
 6134:          OR b=762
 6135:          OR b=575
 6136:          OR c=16016
 6137:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
 6138:          OR ((a BETWEEN 41 AND 43) AND a!=42)
 6139:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 6140:          OR b=1092
 6141:   }
 6142: } {3 40 41 43 46 47 48 72 scan 0 sort 0}
 6143: do_test where7-2.268.2 {
 6144:   count_steps_sort {
 6145:      SELECT a FROM t3
 6146:       WHERE (g='ponmlkj' AND f GLOB 'uvwxy*')
 6147:          OR b=443
 6148:          OR b=33
 6149:          OR b=762
 6150:          OR b=575
 6151:          OR c=16016
 6152:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
 6153:          OR ((a BETWEEN 41 AND 43) AND a!=42)
 6154:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 6155:          OR b=1092
 6156:   }
 6157: } {3 40 41 43 46 47 48 72 scan 0 sort 0}
 6158: do_test where7-2.269.1 {
 6159:   count_steps_sort {
 6160:      SELECT a FROM t2
 6161:       WHERE b=806
 6162:          OR b=872
 6163:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
 6164:          OR f='uvwxyzabc'
 6165:          OR b=748
 6166:          OR b=586
 6167:          OR ((a BETWEEN 15 AND 17) AND a!=16)
 6168:          OR (g='gfedcba' AND f GLOB 'klmno*')
 6169:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 6170:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
 6171:          OR b=891
 6172:   }
 6173: } {15 17 20 32 34 46 68 72 80 81 88 98 scan 0 sort 0}
 6174: do_test where7-2.269.2 {
 6175:   count_steps_sort {
 6176:      SELECT a FROM t3
 6177:       WHERE b=806
 6178:          OR b=872
 6179:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
 6180:          OR f='uvwxyzabc'
 6181:          OR b=748
 6182:          OR b=586
 6183:          OR ((a BETWEEN 15 AND 17) AND a!=16)
 6184:          OR (g='gfedcba' AND f GLOB 'klmno*')
 6185:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 6186:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
 6187:          OR b=891
 6188:   }
 6189: } {15 17 20 32 34 46 68 72 80 81 88 98 scan 0 sort 0}
 6190: do_test where7-2.270.1 {
 6191:   count_steps_sort {
 6192:      SELECT a FROM t2
 6193:       WHERE b=693
 6194:          OR f='fghijklmn'
 6195:          OR (g='rqponml' AND f GLOB 'hijkl*')
 6196:          OR (g='qponmlk' AND f GLOB 'nopqr*')
 6197:          OR ((a BETWEEN 71 AND 73) AND a!=72)
 6198:          OR a=96
 6199:   }
 6200: } {5 31 33 39 57 63 71 73 83 96 scan 0 sort 0}
 6201: do_test where7-2.270.2 {
 6202:   count_steps_sort {
 6203:      SELECT a FROM t3
 6204:       WHERE b=693
 6205:          OR f='fghijklmn'
 6206:          OR (g='rqponml' AND f GLOB 'hijkl*')
 6207:          OR (g='qponmlk' AND f GLOB 'nopqr*')
 6208:          OR ((a BETWEEN 71 AND 73) AND a!=72)
 6209:          OR a=96
 6210:   }
 6211: } {5 31 33 39 57 63 71 73 83 96 scan 0 sort 0}
 6212: do_test where7-2.271.1 {
 6213:   count_steps_sort {
 6214:      SELECT a FROM t2
 6215:       WHERE (g='hgfedcb' AND f GLOB 'ijklm*')
 6216:          OR b=451
 6217:          OR ((a BETWEEN 96 AND 98) AND a!=97)
 6218:          OR ((a BETWEEN 97 AND 99) AND a!=98)
 6219:          OR a=84
 6220:   }
 6221: } {41 84 86 96 97 98 99 scan 0 sort 0}
 6222: do_test where7-2.271.2 {
 6223:   count_steps_sort {
 6224:      SELECT a FROM t3
 6225:       WHERE (g='hgfedcb' AND f GLOB 'ijklm*')
 6226:          OR b=451
 6227:          OR ((a BETWEEN 96 AND 98) AND a!=97)
 6228:          OR ((a BETWEEN 97 AND 99) AND a!=98)
 6229:          OR a=84
 6230:   }
 6231: } {41 84 86 96 97 98 99 scan 0 sort 0}
 6232: do_test where7-2.272.1 {
 6233:   count_steps_sort {
 6234:      SELECT a FROM t2
 6235:       WHERE (g='nmlkjih' AND f GLOB 'bcdef*')
 6236:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
 6237:          OR a=75
 6238:          OR b=960
 6239:          OR (g='tsrqpon' AND f GLOB 'yzabc*')
 6240:          OR b=616
 6241:          OR b=330
 6242:          OR ((a BETWEEN 16 AND 18) AND a!=17)
 6243:          OR a=26
 6244:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
 6245:   }
 6246: } {16 18 24 26 30 53 56 63 72 75 scan 0 sort 0}
 6247: do_test where7-2.272.2 {
 6248:   count_steps_sort {
 6249:      SELECT a FROM t3
 6250:       WHERE (g='nmlkjih' AND f GLOB 'bcdef*')
 6251:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
 6252:          OR a=75
 6253:          OR b=960
 6254:          OR (g='tsrqpon' AND f GLOB 'yzabc*')
 6255:          OR b=616
 6256:          OR b=330
 6257:          OR ((a BETWEEN 16 AND 18) AND a!=17)
 6258:          OR a=26
 6259:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
 6260:   }
 6261: } {16 18 24 26 30 53 56 63 72 75 scan 0 sort 0}
 6262: do_test where7-2.273.1 {
 6263:   count_steps_sort {
 6264:      SELECT a FROM t2
 6265:       WHERE b=762
 6266:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
 6267:   }
 6268: } {53 scan 0 sort 0}
 6269: do_test where7-2.273.2 {
 6270:   count_steps_sort {
 6271:      SELECT a FROM t3
 6272:       WHERE b=762
 6273:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
 6274:   }
 6275: } {53 scan 0 sort 0}
 6276: do_test where7-2.274.1 {
 6277:   count_steps_sort {
 6278:      SELECT a FROM t2
 6279:       WHERE b=14
 6280:          OR a=23
 6281:          OR b=748
 6282:          OR b=407
 6283:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
 6284:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
 6285:          OR b=979
 6286:          OR ((a BETWEEN 15 AND 17) AND a!=16)
 6287:   }
 6288: } {4 15 17 23 37 68 87 89 scan 0 sort 0}
 6289: do_test where7-2.274.2 {
 6290:   count_steps_sort {
 6291:      SELECT a FROM t3
 6292:       WHERE b=14
 6293:          OR a=23
 6294:          OR b=748
 6295:          OR b=407
 6296:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
 6297:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
 6298:          OR b=979
 6299:          OR ((a BETWEEN 15 AND 17) AND a!=16)
 6300:   }
 6301: } {4 15 17 23 37 68 87 89 scan 0 sort 0}
 6302: do_test where7-2.275.1 {
 6303:   count_steps_sort {
 6304:      SELECT a FROM t2
 6305:       WHERE ((a BETWEEN 36 AND 38) AND a!=37)
 6306:          OR a=92
 6307:   }
 6308: } {36 38 92 scan 0 sort 0}
 6309: do_test where7-2.275.2 {
 6310:   count_steps_sort {
 6311:      SELECT a FROM t3
 6312:       WHERE ((a BETWEEN 36 AND 38) AND a!=37)
 6313:          OR a=92
 6314:   }
 6315: } {36 38 92 scan 0 sort 0}
 6316: do_test where7-2.276.1 {
 6317:   count_steps_sort {
 6318:      SELECT a FROM t2
 6319:       WHERE c=14014
 6320:          OR b=927
 6321:          OR b=176
 6322:          OR ((a BETWEEN 34 AND 36) AND a!=35)
 6323:          OR b=220
 6324:          OR (g='tsrqpon' AND f GLOB 'yzabc*')
 6325:          OR a=4
 6326:   }
 6327: } {4 16 20 24 34 36 40 41 42 scan 0 sort 0}
 6328: do_test where7-2.276.2 {
 6329:   count_steps_sort {
 6330:      SELECT a FROM t3
 6331:       WHERE c=14014
 6332:          OR b=927
 6333:          OR b=176
 6334:          OR ((a BETWEEN 34 AND 36) AND a!=35)
 6335:          OR b=220
 6336:          OR (g='tsrqpon' AND f GLOB 'yzabc*')
 6337:          OR a=4
 6338:   }
 6339: } {4 16 20 24 34 36 40 41 42 scan 0 sort 0}
 6340: do_test where7-2.277.1 {
 6341:   count_steps_sort {
 6342:      SELECT a FROM t2
 6343:       WHERE a=29
 6344:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
 6345:          OR b=979
 6346:          OR b=275
 6347:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 6348:          OR (d>=41.0 AND d<42.0 AND d NOT NULL)
 6349:          OR b=539
 6350:          OR a=87
 6351:   }
 6352: } {19 25 29 41 49 56 58 87 89 scan 0 sort 0}
 6353: do_test where7-2.277.2 {
 6354:   count_steps_sort {
 6355:      SELECT a FROM t3
 6356:       WHERE a=29
 6357:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
 6358:          OR b=979
 6359:          OR b=275
 6360:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 6361:          OR (d>=41.0 AND d<42.0 AND d NOT NULL)
 6362:          OR b=539
 6363:          OR a=87
 6364:   }
 6365: } {19 25 29 41 49 56 58 87 89 scan 0 sort 0}
 6366: do_test where7-2.278.1 {
 6367:   count_steps_sort {
 6368:      SELECT a FROM t2
 6369:       WHERE ((a BETWEEN 43 AND 45) AND a!=44)
 6370:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
 6371:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 6372:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 6373:          OR f='fghijklmn'
 6374:          OR (g='rqponml' AND f GLOB 'klmno*')
 6375:          OR ((a BETWEEN 4 AND 6) AND a!=5)
 6376:          OR a=74
 6377:          OR ((a BETWEEN 7 AND 9) AND a!=8)
 6378:   }
 6379: } {4 5 6 7 9 31 36 43 45 57 59 69 74 83 scan 0 sort 0}
 6380: do_test where7-2.278.2 {
 6381:   count_steps_sort {
 6382:      SELECT a FROM t3
 6383:       WHERE ((a BETWEEN 43 AND 45) AND a!=44)
 6384:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
 6385:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 6386:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 6387:          OR f='fghijklmn'
 6388:          OR (g='rqponml' AND f GLOB 'klmno*')
 6389:          OR ((a BETWEEN 4 AND 6) AND a!=5)
 6390:          OR a=74
 6391:          OR ((a BETWEEN 7 AND 9) AND a!=8)
 6392:   }
 6393: } {4 5 6 7 9 31 36 43 45 57 59 69 74 83 scan 0 sort 0}
 6394: do_test where7-2.279.1 {
 6395:   count_steps_sort {
 6396:      SELECT a FROM t2
 6397:       WHERE ((a BETWEEN 80 AND 82) AND a!=81)
 6398:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 6399:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
 6400:          OR ((a BETWEEN 49 AND 51) AND a!=50)
 6401:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
 6402:   }
 6403: } {8 34 42 49 51 60 79 80 82 86 scan 0 sort 0}
 6404: do_test where7-2.279.2 {
 6405:   count_steps_sort {
 6406:      SELECT a FROM t3
 6407:       WHERE ((a BETWEEN 80 AND 82) AND a!=81)
 6408:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 6409:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
 6410:          OR ((a BETWEEN 49 AND 51) AND a!=50)
 6411:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
 6412:   }
 6413: } {8 34 42 49 51 60 79 80 82 86 scan 0 sort 0}
 6414: do_test where7-2.280.1 {
 6415:   count_steps_sort {
 6416:      SELECT a FROM t2
 6417:       WHERE ((a BETWEEN 58 AND 60) AND a!=59)
 6418:          OR b=696
 6419:          OR f='tuvwxyzab'
 6420:          OR b=374
 6421:          OR b=110
 6422:          OR a=90
 6423:   }
 6424: } {10 19 34 45 58 60 71 90 97 scan 0 sort 0}
 6425: do_test where7-2.280.2 {
 6426:   count_steps_sort {
 6427:      SELECT a FROM t3
 6428:       WHERE ((a BETWEEN 58 AND 60) AND a!=59)
 6429:          OR b=696
 6430:          OR f='tuvwxyzab'
 6431:          OR b=374
 6432:          OR b=110
 6433:          OR a=90
 6434:   }
 6435: } {10 19 34 45 58 60 71 90 97 scan 0 sort 0}
 6436: do_test where7-2.281.1 {
 6437:   count_steps_sort {
 6438:      SELECT a FROM t2
 6439:       WHERE (g='xwvutsr' AND f GLOB 'ghijk*')
 6440:          OR c=23023
 6441:          OR b=377
 6442:          OR b=858
 6443:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 6444:   }
 6445: } {6 57 67 68 69 78 scan 0 sort 0}
 6446: do_test where7-2.281.2 {
 6447:   count_steps_sort {
 6448:      SELECT a FROM t3
 6449:       WHERE (g='xwvutsr' AND f GLOB 'ghijk*')
 6450:          OR c=23023
 6451:          OR b=377
 6452:          OR b=858
 6453:          OR (g='nmlkjih' AND f GLOB 'fghij*')
 6454:   }
 6455: } {6 57 67 68 69 78 scan 0 sort 0}
 6456: do_test where7-2.282.1 {
 6457:   count_steps_sort {
 6458:      SELECT a FROM t2
 6459:       WHERE (d>=38.0 AND d<39.0 AND d NOT NULL)
 6460:          OR b=322
 6461:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
 6462:          OR (g='fedcbaz' AND f GLOB 'pqrst*')
 6463:          OR (g='onmlkji' AND f GLOB 'wxyza*')
 6464:          OR b=432
 6465:          OR b=55
 6466:          OR a=53
 6467:          OR (d>=74.0 AND d<75.0 AND d NOT NULL)
 6468:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
 6469:          OR b=25
 6470:   }
 6471: } {5 7 19 33 38 48 53 59 74 85 93 scan 0 sort 0}
 6472: do_test where7-2.282.2 {
 6473:   count_steps_sort {
 6474:      SELECT a FROM t3
 6475:       WHERE (d>=38.0 AND d<39.0 AND d NOT NULL)
 6476:          OR b=322
 6477:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
 6478:          OR (g='fedcbaz' AND f GLOB 'pqrst*')
 6479:          OR (g='onmlkji' AND f GLOB 'wxyza*')
 6480:          OR b=432
 6481:          OR b=55
 6482:          OR a=53
 6483:          OR (d>=74.0 AND d<75.0 AND d NOT NULL)
 6484:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
 6485:          OR b=25
 6486:   }
 6487: } {5 7 19 33 38 48 53 59 74 85 93 scan 0 sort 0}
 6488: do_test where7-2.283.1 {
 6489:   count_steps_sort {
 6490:      SELECT a FROM t2
 6491:       WHERE b=484
 6492:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 6493:          OR b=616
 6494:          OR c=5005
 6495:          OR ((a BETWEEN 27 AND 29) AND a!=28)
 6496:   }
 6497: } {13 14 15 27 29 44 56 74 scan 0 sort 0}
 6498: do_test where7-2.283.2 {
 6499:   count_steps_sort {
 6500:      SELECT a FROM t3
 6501:       WHERE b=484
 6502:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 6503:          OR b=616
 6504:          OR c=5005
 6505:          OR ((a BETWEEN 27 AND 29) AND a!=28)
 6506:   }
 6507: } {13 14 15 27 29 44 56 74 scan 0 sort 0}
 6508: do_test where7-2.284.1 {
 6509:   count_steps_sort {
 6510:      SELECT a FROM t2
 6511:       WHERE b=916
 6512:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
 6513:          OR b=1048
 6514:          OR c=6006
 6515:          OR b=762
 6516:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
 6517:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 6518:          OR b=751
 6519:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
 6520:   }
 6521: } {13 14 16 17 18 39 40 59 61 65 66 73 91 92 scan 0 sort 0}
 6522: do_test where7-2.284.2 {
 6523:   count_steps_sort {
 6524:      SELECT a FROM t3
 6525:       WHERE b=916
 6526:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
 6527:          OR b=1048
 6528:          OR c=6006
 6529:          OR b=762
 6530:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
 6531:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 6532:          OR b=751
 6533:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
 6534:   }
 6535: } {13 14 16 17 18 39 40 59 61 65 66 73 91 92 scan 0 sort 0}
 6536: do_test where7-2.285.1 {
 6537:   count_steps_sort {
 6538:      SELECT a FROM t2
 6539:       WHERE (d>=32.0 AND d<33.0 AND d NOT NULL)
 6540:          OR b=927
 6541:          OR b=275
 6542:          OR b=396
 6543:          OR c=4004
 6544:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
 6545:          OR b=319
 6546:          OR ((a BETWEEN 83 AND 85) AND a!=84)
 6547:          OR a=3
 6548:          OR ((a BETWEEN 73 AND 75) AND a!=74)
 6549:   }
 6550: } {3 10 11 12 14 25 29 32 36 73 75 83 85 scan 0 sort 0}
 6551: do_test where7-2.285.2 {
 6552:   count_steps_sort {
 6553:      SELECT a FROM t3
 6554:       WHERE (d>=32.0 AND d<33.0 AND d NOT NULL)
 6555:          OR b=927
 6556:          OR b=275
 6557:          OR b=396
 6558:          OR c=4004
 6559:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
 6560:          OR b=319
 6561:          OR ((a BETWEEN 83 AND 85) AND a!=84)
 6562:          OR a=3
 6563:          OR ((a BETWEEN 73 AND 75) AND a!=74)
 6564:   }
 6565: } {3 10 11 12 14 25 29 32 36 73 75 83 85 scan 0 sort 0}
 6566: do_test where7-2.286.1 {
 6567:   count_steps_sort {
 6568:      SELECT a FROM t2
 6569:       WHERE (g='wvutsrq' AND f GLOB 'lmnop*')
 6570:          OR b=718
 6571:          OR f='vwxyzabcd'
 6572:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
 6573:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
 6574:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 6575:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
 6576:          OR ((a BETWEEN 66 AND 68) AND a!=67)
 6577:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
 6578:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
 6579:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
 6580:   }
 6581: } {9 11 19 21 22 35 45 47 61 66 68 71 73 87 97 98 99 scan 0 sort 0}
 6582: do_test where7-2.286.2 {
 6583:   count_steps_sort {
 6584:      SELECT a FROM t3
 6585:       WHERE (g='wvutsrq' AND f GLOB 'lmnop*')
 6586:          OR b=718
 6587:          OR f='vwxyzabcd'
 6588:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
 6589:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
 6590:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 6591:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
 6592:          OR ((a BETWEEN 66 AND 68) AND a!=67)
 6593:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
 6594:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
 6595:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
 6596:   }
 6597: } {9 11 19 21 22 35 45 47 61 66 68 71 73 87 97 98 99 scan 0 sort 0}
 6598: do_test where7-2.287.1 {
 6599:   count_steps_sort {
 6600:      SELECT a FROM t2
 6601:       WHERE b=187
 6602:          OR b=1056
 6603:          OR b=861
 6604:          OR b=1081
 6605:          OR b=572
 6606:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
 6607:          OR a=11
 6608:          OR ((a BETWEEN 99 AND 101) AND a!=100)
 6609:          OR a=89
 6610:          OR b=421
 6611:   }
 6612: } {4 11 17 52 89 96 99 scan 0 sort 0}
 6613: do_test where7-2.287.2 {
 6614:   count_steps_sort {
 6615:      SELECT a FROM t3
 6616:       WHERE b=187
 6617:          OR b=1056
 6618:          OR b=861
 6619:          OR b=1081
 6620:          OR b=572
 6621:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
 6622:          OR a=11
 6623:          OR ((a BETWEEN 99 AND 101) AND a!=100)
 6624:          OR a=89
 6625:          OR b=421
 6626:   }
 6627: } {4 11 17 52 89 96 99 scan 0 sort 0}
 6628: do_test where7-2.288.1 {
 6629:   count_steps_sort {
 6630:      SELECT a FROM t2
 6631:       WHERE b=231
 6632:          OR b=388
 6633:          OR d<0.0
 6634:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
 6635:          OR b=1045
 6636:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 6637:   }
 6638: } {12 21 39 95 scan 0 sort 0}
 6639: do_test where7-2.288.2 {
 6640:   count_steps_sort {
 6641:      SELECT a FROM t3
 6642:       WHERE b=231
 6643:          OR b=388
 6644:          OR d<0.0
 6645:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
 6646:          OR b=1045
 6647:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 6648:   }
 6649: } {12 21 39 95 scan 0 sort 0}
 6650: do_test where7-2.289.1 {
 6651:   count_steps_sort {
 6652:      SELECT a FROM t2
 6653:       WHERE b=528
 6654:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
 6655:          OR b=762
 6656:   }
 6657: } {48 53 scan 0 sort 0}
 6658: do_test where7-2.289.2 {
 6659:   count_steps_sort {
 6660:      SELECT a FROM t3
 6661:       WHERE b=528
 6662:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
 6663:          OR b=762
 6664:   }
 6665: } {48 53 scan 0 sort 0}
 6666: do_test where7-2.290.1 {
 6667:   count_steps_sort {
 6668:      SELECT a FROM t2
 6669:       WHERE f='stuvwxyza'
 6670:          OR ((a BETWEEN 90 AND 92) AND a!=91)
 6671:          OR b=916
 6672:   }
 6673: } {18 44 70 90 92 96 scan 0 sort 0}
 6674: do_test where7-2.290.2 {
 6675:   count_steps_sort {
 6676:      SELECT a FROM t3
 6677:       WHERE f='stuvwxyza'
 6678:          OR ((a BETWEEN 90 AND 92) AND a!=91)
 6679:          OR b=916
 6680:   }
 6681: } {18 44 70 90 92 96 scan 0 sort 0}
 6682: do_test where7-2.291.1 {
 6683:   count_steps_sort {
 6684:      SELECT a FROM t2
 6685:       WHERE (d>=52.0 AND d<53.0 AND d NOT NULL)
 6686:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
 6687:          OR ((a BETWEEN 96 AND 98) AND a!=97)
 6688:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
 6689:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
 6690:   }
 6691: } {4 19 52 76 96 98 scan 0 sort 0}
 6692: do_test where7-2.291.2 {
 6693:   count_steps_sort {
 6694:      SELECT a FROM t3
 6695:       WHERE (d>=52.0 AND d<53.0 AND d NOT NULL)
 6696:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
 6697:          OR ((a BETWEEN 96 AND 98) AND a!=97)
 6698:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
 6699:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
 6700:   }
 6701: } {4 19 52 76 96 98 scan 0 sort 0}
 6702: do_test where7-2.292.1 {
 6703:   count_steps_sort {
 6704:      SELECT a FROM t2
 6705:       WHERE b=102
 6706:          OR c=6006
 6707:          OR b=231
 6708:          OR b=212
 6709:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
 6710:          OR (g='gfedcba' AND f GLOB 'klmno*')
 6711:          OR c=30030
 6712:          OR (g='onmlkji' AND f GLOB 'abcde*')
 6713:   }
 6714: } {16 17 18 21 36 52 88 89 90 scan 0 sort 0}
 6715: do_test where7-2.292.2 {
 6716:   count_steps_sort {
 6717:      SELECT a FROM t3
 6718:       WHERE b=102
 6719:          OR c=6006
 6720:          OR b=231
 6721:          OR b=212
 6722:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
 6723:          OR (g='gfedcba' AND f GLOB 'klmno*')
 6724:          OR c=30030
 6725:          OR (g='onmlkji' AND f GLOB 'abcde*')
 6726:   }
 6727: } {16 17 18 21 36 52 88 89 90 scan 0 sort 0}
 6728: do_test where7-2.293.1 {
 6729:   count_steps_sort {
 6730:      SELECT a FROM t2
 6731:       WHERE a=47
 6732:          OR a=82
 6733:          OR c=25025
 6734:          OR ((a BETWEEN 40 AND 42) AND a!=41)
 6735:          OR f='qrstuvwxy'
 6736:          OR a=5
 6737:   }
 6738: } {5 16 40 42 47 68 73 74 75 82 94 scan 0 sort 0}
 6739: do_test where7-2.293.2 {
 6740:   count_steps_sort {
 6741:      SELECT a FROM t3
 6742:       WHERE a=47
 6743:          OR a=82
 6744:          OR c=25025
 6745:          OR ((a BETWEEN 40 AND 42) AND a!=41)
 6746:          OR f='qrstuvwxy'
 6747:          OR a=5
 6748:   }
 6749: } {5 16 40 42 47 68 73 74 75 82 94 scan 0 sort 0}
 6750: do_test where7-2.294.1 {
 6751:   count_steps_sort {
 6752:      SELECT a FROM t2
 6753:       WHERE b=429
 6754:          OR a=30
 6755:          OR f='vwxyzabcd'
 6756:          OR b=762
 6757:          OR a=60
 6758:          OR (g='srqponm' AND f GLOB 'efghi*')
 6759:          OR (g='xwvutsr' AND f GLOB 'efghi*')
 6760:   }
 6761: } {4 21 30 39 47 60 73 99 scan 0 sort 0}
 6762: do_test where7-2.294.2 {
 6763:   count_steps_sort {
 6764:      SELECT a FROM t3
 6765:       WHERE b=429
 6766:          OR a=30
 6767:          OR f='vwxyzabcd'
 6768:          OR b=762
 6769:          OR a=60
 6770:          OR (g='srqponm' AND f GLOB 'efghi*')
 6771:          OR (g='xwvutsr' AND f GLOB 'efghi*')
 6772:   }
 6773: } {4 21 30 39 47 60 73 99 scan 0 sort 0}
 6774: do_test where7-2.295.1 {
 6775:   count_steps_sort {
 6776:      SELECT a FROM t2
 6777:       WHERE (g='mlkjihg' AND f GLOB 'ghijk*')
 6778:          OR a=3
 6779:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
 6780:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
 6781:          OR b=498
 6782:          OR a=100
 6783:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 6784:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
 6785:          OR a=69
 6786:   }
 6787: } {3 13 31 39 58 63 65 69 91 100 scan 0 sort 0}
 6788: do_test where7-2.295.2 {
 6789:   count_steps_sort {
 6790:      SELECT a FROM t3
 6791:       WHERE (g='mlkjihg' AND f GLOB 'ghijk*')
 6792:          OR a=3
 6793:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
 6794:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
 6795:          OR b=498
 6796:          OR a=100
 6797:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 6798:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
 6799:          OR a=69
 6800:   }
 6801: } {3 13 31 39 58 63 65 69 91 100 scan 0 sort 0}
 6802: do_test where7-2.296.1 {
 6803:   count_steps_sort {
 6804:      SELECT a FROM t2
 6805:       WHERE (g='ihgfedc' AND f GLOB 'efghi*')
 6806:          OR b=300
 6807:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
 6808:          OR b=58
 6809:          OR ((a BETWEEN 55 AND 57) AND a!=56)
 6810:          OR (g='nmlkjih' AND f GLOB 'defgh*')
 6811:          OR b=286
 6812:          OR b=234
 6813:          OR ((a BETWEEN 43 AND 45) AND a!=44)
 6814:          OR f='ghijklmno'
 6815:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
 6816:   }
 6817: } {6 7 26 32 43 45 55 57 58 82 84 scan 0 sort 0}
 6818: do_test where7-2.296.2 {
 6819:   count_steps_sort {
 6820:      SELECT a FROM t3
 6821:       WHERE (g='ihgfedc' AND f GLOB 'efghi*')
 6822:          OR b=300
 6823:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
 6824:          OR b=58
 6825:          OR ((a BETWEEN 55 AND 57) AND a!=56)
 6826:          OR (g='nmlkjih' AND f GLOB 'defgh*')
 6827:          OR b=286
 6828:          OR b=234
 6829:          OR ((a BETWEEN 43 AND 45) AND a!=44)
 6830:          OR f='ghijklmno'
 6831:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
 6832:   }
 6833: } {6 7 26 32 43 45 55 57 58 82 84 scan 0 sort 0}
 6834: do_test where7-2.297.1 {
 6835:   count_steps_sort {
 6836:      SELECT a FROM t2
 6837:       WHERE a=95
 6838:          OR ((a BETWEEN 72 AND 74) AND a!=73)
 6839:          OR ((a BETWEEN 23 AND 25) AND a!=24)
 6840:          OR b=594
 6841:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
 6842:          OR ((a BETWEEN 37 AND 39) AND a!=38)
 6843:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 6844:          OR ((a BETWEEN 18 AND 20) AND a!=19)
 6845:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
 6846:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
 6847:          OR ((a BETWEEN 53 AND 55) AND a!=54)
 6848:   }
 6849: } {5 7 18 20 23 25 31 33 37 39 45 53 54 55 56 57 58 59 72 74 83 85 95 scan 0 sort 0}
 6850: do_test where7-2.297.2 {
 6851:   count_steps_sort {
 6852:      SELECT a FROM t3
 6853:       WHERE a=95
 6854:          OR ((a BETWEEN 72 AND 74) AND a!=73)
 6855:          OR ((a BETWEEN 23 AND 25) AND a!=24)
 6856:          OR b=594
 6857:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
 6858:          OR ((a BETWEEN 37 AND 39) AND a!=38)
 6859:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 6860:          OR ((a BETWEEN 18 AND 20) AND a!=19)
 6861:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
 6862:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
 6863:          OR ((a BETWEEN 53 AND 55) AND a!=54)
 6864:   }
 6865: } {5 7 18 20 23 25 31 33 37 39 45 53 54 55 56 57 58 59 72 74 83 85 95 scan 0 sort 0}
 6866: do_test where7-2.298.1 {
 6867:   count_steps_sort {
 6868:      SELECT a FROM t2
 6869:       WHERE b=949
 6870:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 6871:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
 6872:   }
 6873: } {5 14 scan 0 sort 0}
 6874: do_test where7-2.298.2 {
 6875:   count_steps_sort {
 6876:      SELECT a FROM t3
 6877:       WHERE b=949
 6878:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 6879:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
 6880:   }
 6881: } {5 14 scan 0 sort 0}
 6882: do_test where7-2.299.1 {
 6883:   count_steps_sort {
 6884:      SELECT a FROM t2
 6885:       WHERE b=960
 6886:          OR a=44
 6887:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
 6888:          OR a=39
 6889:          OR b=828
 6890:          OR ((a BETWEEN 3 AND 5) AND a!=4)
 6891:          OR d<0.0
 6892:          OR b=770
 6893:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
 6894:          OR b=594
 6895:          OR ((a BETWEEN 89 AND 91) AND a!=90)
 6896:   }
 6897: } {3 5 6 18 39 44 54 70 89 91 96 scan 0 sort 0}
 6898: do_test where7-2.299.2 {
 6899:   count_steps_sort {
 6900:      SELECT a FROM t3
 6901:       WHERE b=960
 6902:          OR a=44
 6903:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
 6904:          OR a=39
 6905:          OR b=828
 6906:          OR ((a BETWEEN 3 AND 5) AND a!=4)
 6907:          OR d<0.0
 6908:          OR b=770
 6909:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
 6910:          OR b=594
 6911:          OR ((a BETWEEN 89 AND 91) AND a!=90)
 6912:   }
 6913: } {3 5 6 18 39 44 54 70 89 91 96 scan 0 sort 0}
 6914: do_test where7-2.300.1 {
 6915:   count_steps_sort {
 6916:      SELECT a FROM t2
 6917:       WHERE ((a BETWEEN 40 AND 42) AND a!=41)
 6918:          OR b=198
 6919:          OR a=51
 6920:          OR b=1056
 6921:          OR b=748
 6922:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 6923:   }
 6924: } {9 11 18 40 42 51 68 96 scan 0 sort 0}
 6925: do_test where7-2.300.2 {
 6926:   count_steps_sort {
 6927:      SELECT a FROM t3
 6928:       WHERE ((a BETWEEN 40 AND 42) AND a!=41)
 6929:          OR b=198
 6930:          OR a=51
 6931:          OR b=1056
 6932:          OR b=748
 6933:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 6934:   }
 6935: } {9 11 18 40 42 51 68 96 scan 0 sort 0}
 6936: do_test where7-2.301.1 {
 6937:   count_steps_sort {
 6938:      SELECT a FROM t2
 6939:       WHERE b=1081
 6940:          OR ((a BETWEEN 66 AND 68) AND a!=67)
 6941:          OR b=1004
 6942:          OR (g='gfedcba' AND f GLOB 'nopqr*')
 6943:          OR ((a BETWEEN 29 AND 31) AND a!=30)
 6944:          OR b=660
 6945:          OR b=957
 6946:          OR b=869
 6947:   }
 6948: } {29 31 60 66 68 79 87 91 scan 0 sort 0}
 6949: do_test where7-2.301.2 {
 6950:   count_steps_sort {
 6951:      SELECT a FROM t3
 6952:       WHERE b=1081
 6953:          OR ((a BETWEEN 66 AND 68) AND a!=67)
 6954:          OR b=1004
 6955:          OR (g='gfedcba' AND f GLOB 'nopqr*')
 6956:          OR ((a BETWEEN 29 AND 31) AND a!=30)
 6957:          OR b=660
 6958:          OR b=957
 6959:          OR b=869
 6960:   }
 6961: } {29 31 60 66 68 79 87 91 scan 0 sort 0}
 6962: do_test where7-2.302.1 {
 6963:   count_steps_sort {
 6964:      SELECT a FROM t2
 6965:       WHERE b=927
 6966:          OR c=12012
 6967:          OR f='yzabcdefg'
 6968:          OR b=880
 6969:          OR a=63
 6970:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
 6971:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
 6972:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 6973:   }
 6974: } {24 34 35 36 44 50 58 63 76 80 86 scan 0 sort 0}
 6975: do_test where7-2.302.2 {
 6976:   count_steps_sort {
 6977:      SELECT a FROM t3
 6978:       WHERE b=927
 6979:          OR c=12012
 6980:          OR f='yzabcdefg'
 6981:          OR b=880
 6982:          OR a=63
 6983:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
 6984:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
 6985:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 6986:   }
 6987: } {24 34 35 36 44 50 58 63 76 80 86 scan 0 sort 0}
 6988: do_test where7-2.303.1 {
 6989:   count_steps_sort {
 6990:      SELECT a FROM t2
 6991:       WHERE a=69
 6992:          OR b=1103
 6993:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
 6994:          OR f='wxyzabcde'
 6995:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
 6996:          OR (g='gfedcba' AND f GLOB 'klmno*')
 6997:          OR f='pqrstuvwx'
 6998:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
 6999:          OR a=59
 7000:          OR b=946
 7001:   }
 7002: } {15 18 22 26 41 44 48 52 59 67 69 70 73 74 78 86 88 93 96 100 scan 0 sort 0}
 7003: do_test where7-2.303.2 {
 7004:   count_steps_sort {
 7005:      SELECT a FROM t3
 7006:       WHERE a=69
 7007:          OR b=1103
 7008:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
 7009:          OR f='wxyzabcde'
 7010:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
 7011:          OR (g='gfedcba' AND f GLOB 'klmno*')
 7012:          OR f='pqrstuvwx'
 7013:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
 7014:          OR a=59
 7015:          OR b=946
 7016:   }
 7017: } {15 18 22 26 41 44 48 52 59 67 69 70 73 74 78 86 88 93 96 100 scan 0 sort 0}
 7018: do_test where7-2.304.1 {
 7019:   count_steps_sort {
 7020:      SELECT a FROM t2
 7021:       WHERE (d>=47.0 AND d<48.0 AND d NOT NULL)
 7022:          OR (g='jihgfed' AND f GLOB 'xyzab*')
 7023:          OR a=68
 7024:          OR ((a BETWEEN 14 AND 16) AND a!=15)
 7025:   }
 7026: } {14 16 47 68 75 scan 0 sort 0}
 7027: do_test where7-2.304.2 {
 7028:   count_steps_sort {
 7029:      SELECT a FROM t3
 7030:       WHERE (d>=47.0 AND d<48.0 AND d NOT NULL)
 7031:          OR (g='jihgfed' AND f GLOB 'xyzab*')
 7032:          OR a=68
 7033:          OR ((a BETWEEN 14 AND 16) AND a!=15)
 7034:   }
 7035: } {14 16 47 68 75 scan 0 sort 0}
 7036: do_test where7-2.305.1 {
 7037:   count_steps_sort {
 7038:      SELECT a FROM t2
 7039:       WHERE (d>=10.0 AND d<11.0 AND d NOT NULL)
 7040:          OR (g='lkjihgf' AND f GLOB 'lmnop*')
 7041:   }
 7042: } {10 63 scan 0 sort 0}
 7043: do_test where7-2.305.2 {
 7044:   count_steps_sort {
 7045:      SELECT a FROM t3
 7046:       WHERE (d>=10.0 AND d<11.0 AND d NOT NULL)
 7047:          OR (g='lkjihgf' AND f GLOB 'lmnop*')
 7048:   }
 7049: } {10 63 scan 0 sort 0}
 7050: do_test where7-2.306.1 {
 7051:   count_steps_sort {
 7052:      SELECT a FROM t2
 7053:       WHERE a=32
 7054:          OR ((a BETWEEN 15 AND 17) AND a!=16)
 7055:          OR ((a BETWEEN 92 AND 94) AND a!=93)
 7056:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
 7057:          OR c=7007
 7058:          OR b=968
 7059:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
 7060:   }
 7061: } {15 17 18 19 20 21 32 86 88 92 94 scan 0 sort 0}
 7062: do_test where7-2.306.2 {
 7063:   count_steps_sort {
 7064:      SELECT a FROM t3
 7065:       WHERE a=32
 7066:          OR ((a BETWEEN 15 AND 17) AND a!=16)
 7067:          OR ((a BETWEEN 92 AND 94) AND a!=93)
 7068:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
 7069:          OR c=7007
 7070:          OR b=968
 7071:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
 7072:   }
 7073: } {15 17 18 19 20 21 32 86 88 92 94 scan 0 sort 0}
 7074: do_test where7-2.307.1 {
 7075:   count_steps_sort {
 7076:      SELECT a FROM t2
 7077:       WHERE f='cdefghijk'
 7078:          OR b=1103
 7079:   }
 7080: } {2 28 54 80 scan 0 sort 0}
 7081: do_test where7-2.307.2 {
 7082:   count_steps_sort {
 7083:      SELECT a FROM t3
 7084:       WHERE f='cdefghijk'
 7085:          OR b=1103
 7086:   }
 7087: } {2 28 54 80 scan 0 sort 0}
 7088: do_test where7-2.308.1 {
 7089:   count_steps_sort {
 7090:      SELECT a FROM t2
 7091:       WHERE ((a BETWEEN 21 AND 23) AND a!=22)
 7092:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
 7093:          OR c=14014
 7094:          OR b=990
 7095:          OR (g='nmlkjih' AND f GLOB 'efghi*')
 7096:          OR c=14014
 7097:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
 7098:          OR b=740
 7099:          OR c=3003
 7100:   }
 7101: } {7 8 9 13 14 21 23 40 41 42 56 90 scan 0 sort 0}
 7102: do_test where7-2.308.2 {
 7103:   count_steps_sort {
 7104:      SELECT a FROM t3
 7105:       WHERE ((a BETWEEN 21 AND 23) AND a!=22)
 7106:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
 7107:          OR c=14014
 7108:          OR b=990
 7109:          OR (g='nmlkjih' AND f GLOB 'efghi*')
 7110:          OR c=14014
 7111:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
 7112:          OR b=740
 7113:          OR c=3003
 7114:   }
 7115: } {7 8 9 13 14 21 23 40 41 42 56 90 scan 0 sort 0}
 7116: do_test where7-2.309.1 {
 7117:   count_steps_sort {
 7118:      SELECT a FROM t2
 7119:       WHERE (d>=60.0 AND d<61.0 AND d NOT NULL)
 7120:          OR a=67
 7121:          OR b=135
 7122:          OR f='bcdefghij'
 7123:          OR b=924
 7124:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
 7125:   }
 7126: } {1 22 27 53 60 67 79 84 scan 0 sort 0}
 7127: do_test where7-2.309.2 {
 7128:   count_steps_sort {
 7129:      SELECT a FROM t3
 7130:       WHERE (d>=60.0 AND d<61.0 AND d NOT NULL)
 7131:          OR a=67
 7132:          OR b=135
 7133:          OR f='bcdefghij'
 7134:          OR b=924
 7135:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
 7136:   }
 7137: } {1 22 27 53 60 67 79 84 scan 0 sort 0}
 7138: do_test where7-2.310.1 {
 7139:   count_steps_sort {
 7140:      SELECT a FROM t2
 7141:       WHERE a=96
 7142:          OR a=13
 7143:   }
 7144: } {13 96 scan 0 sort 0}
 7145: do_test where7-2.310.2 {
 7146:   count_steps_sort {
 7147:      SELECT a FROM t3
 7148:       WHERE a=96
 7149:          OR a=13
 7150:   }
 7151: } {13 96 scan 0 sort 0}
 7152: do_test where7-2.311.1 {
 7153:   count_steps_sort {
 7154:      SELECT a FROM t2
 7155:       WHERE ((a BETWEEN 34 AND 36) AND a!=35)
 7156:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
 7157:          OR ((a BETWEEN 35 AND 37) AND a!=36)
 7158:          OR a=49
 7159:          OR a=38
 7160:          OR b=157
 7161:          OR a=4
 7162:          OR b=311
 7163:          OR ((a BETWEEN 97 AND 99) AND a!=98)
 7164:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
 7165:          OR b=396
 7166:   }
 7167: } {4 27 34 35 36 37 38 49 50 97 99 scan 0 sort 0}
 7168: do_test where7-2.311.2 {
 7169:   count_steps_sort {
 7170:      SELECT a FROM t3
 7171:       WHERE ((a BETWEEN 34 AND 36) AND a!=35)
 7172:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
 7173:          OR ((a BETWEEN 35 AND 37) AND a!=36)
 7174:          OR a=49
 7175:          OR a=38
 7176:          OR b=157
 7177:          OR a=4
 7178:          OR b=311
 7179:          OR ((a BETWEEN 97 AND 99) AND a!=98)
 7180:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
 7181:          OR b=396
 7182:   }
 7183: } {4 27 34 35 36 37 38 49 50 97 99 scan 0 sort 0}
 7184: do_test where7-2.312.1 {
 7185:   count_steps_sort {
 7186:      SELECT a FROM t2
 7187:       WHERE a=82
 7188:          OR b=333
 7189:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
 7190:          OR b=99
 7191:          OR a=63
 7192:          OR a=35
 7193:          OR b=176
 7194:   }
 7195: } {9 16 22 35 48 63 74 82 100 scan 0 sort 0}
 7196: do_test where7-2.312.2 {
 7197:   count_steps_sort {
 7198:      SELECT a FROM t3
 7199:       WHERE a=82
 7200:          OR b=333
 7201:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
 7202:          OR b=99
 7203:          OR a=63
 7204:          OR a=35
 7205:          OR b=176
 7206:   }
 7207: } {9 16 22 35 48 63 74 82 100 scan 0 sort 0}
 7208: do_test where7-2.313.1 {
 7209:   count_steps_sort {
 7210:      SELECT a FROM t2
 7211:       WHERE a=90
 7212:          OR a=81
 7213:          OR ((a BETWEEN 51 AND 53) AND a!=52)
 7214:          OR f='mnopqrstu'
 7215:          OR b=927
 7216:          OR b=311
 7217:          OR a=34
 7218:          OR b=715
 7219:          OR f='rstuvwxyz'
 7220:   }
 7221: } {12 17 34 38 43 51 53 64 65 69 81 90 95 scan 0 sort 0}
 7222: do_test where7-2.313.2 {
 7223:   count_steps_sort {
 7224:      SELECT a FROM t3
 7225:       WHERE a=90
 7226:          OR a=81
 7227:          OR ((a BETWEEN 51 AND 53) AND a!=52)
 7228:          OR f='mnopqrstu'
 7229:          OR b=927
 7230:          OR b=311
 7231:          OR a=34
 7232:          OR b=715
 7233:          OR f='rstuvwxyz'
 7234:   }
 7235: } {12 17 34 38 43 51 53 64 65 69 81 90 95 scan 0 sort 0}
 7236: do_test where7-2.314.1 {
 7237:   count_steps_sort {
 7238:      SELECT a FROM t2
 7239:       WHERE b=484
 7240:          OR ((a BETWEEN 10 AND 12) AND a!=11)
 7241:          OR f='lmnopqrst'
 7242:          OR ((a BETWEEN 37 AND 39) AND a!=38)
 7243:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
 7244:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
 7245:          OR b<0
 7246:          OR b=231
 7247:          OR a=14
 7248:   }
 7249: } {7 10 11 12 14 21 37 39 44 63 64 89 scan 0 sort 0}
 7250: do_test where7-2.314.2 {
 7251:   count_steps_sort {
 7252:      SELECT a FROM t3
 7253:       WHERE b=484
 7254:          OR ((a BETWEEN 10 AND 12) AND a!=11)
 7255:          OR f='lmnopqrst'
 7256:          OR ((a BETWEEN 37 AND 39) AND a!=38)
 7257:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
 7258:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
 7259:          OR b<0
 7260:          OR b=231
 7261:          OR a=14
 7262:   }
 7263: } {7 10 11 12 14 21 37 39 44 63 64 89 scan 0 sort 0}
 7264: do_test where7-2.315.1 {
 7265:   count_steps_sort {
 7266:      SELECT a FROM t2
 7267:       WHERE b=905
 7268:          OR f='hijklmnop'
 7269:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
 7270:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
 7271:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
 7272:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 7273:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
 7274:          OR b=817
 7275:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
 7276:   }
 7277: } {7 11 20 22 26 33 37 45 59 63 80 85 89 scan 0 sort 0}
 7278: do_test where7-2.315.2 {
 7279:   count_steps_sort {
 7280:      SELECT a FROM t3
 7281:       WHERE b=905
 7282:          OR f='hijklmnop'
 7283:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
 7284:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
 7285:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
 7286:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 7287:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
 7288:          OR b=817
 7289:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
 7290:   }
 7291: } {7 11 20 22 26 33 37 45 59 63 80 85 89 scan 0 sort 0}
 7292: do_test where7-2.316.1 {
 7293:   count_steps_sort {
 7294:      SELECT a FROM t2
 7295:       WHERE (g='hgfedcb' AND f GLOB 'hijkl*')
 7296:          OR b=311
 7297:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 7298:          OR a=48
 7299:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 7300:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
 7301:          OR c=32032
 7302:          OR f='opqrstuvw'
 7303:          OR b=300
 7304:          OR b=1001
 7305:          OR ((a BETWEEN 94 AND 96) AND a!=95)
 7306:   }
 7307: } {14 40 43 47 48 61 66 85 91 92 94 95 96 scan 0 sort 0}
 7308: do_test where7-2.316.2 {
 7309:   count_steps_sort {
 7310:      SELECT a FROM t3
 7311:       WHERE (g='hgfedcb' AND f GLOB 'hijkl*')
 7312:          OR b=311
 7313:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 7314:          OR a=48
 7315:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 7316:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
 7317:          OR c=32032
 7318:          OR f='opqrstuvw'
 7319:          OR b=300
 7320:          OR b=1001
 7321:          OR ((a BETWEEN 94 AND 96) AND a!=95)
 7322:   }
 7323: } {14 40 43 47 48 61 66 85 91 92 94 95 96 scan 0 sort 0}
 7324: do_test where7-2.317.1 {
 7325:   count_steps_sort {
 7326:      SELECT a FROM t2
 7327:       WHERE (d>=95.0 AND d<96.0 AND d NOT NULL)
 7328:          OR b=1070
 7329:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
 7330:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
 7331:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
 7332:          OR a=22
 7333:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
 7334:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 7335:          OR f='tuvwxyzab'
 7336:          OR a=72
 7337:          OR ((a BETWEEN 53 AND 55) AND a!=54)
 7338:   }
 7339: } {11 19 22 45 53 55 61 71 72 95 97 99 scan 0 sort 0}
 7340: do_test where7-2.317.2 {
 7341:   count_steps_sort {
 7342:      SELECT a FROM t3
 7343:       WHERE (d>=95.0 AND d<96.0 AND d NOT NULL)
 7344:          OR b=1070
 7345:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
 7346:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
 7347:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
 7348:          OR a=22
 7349:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
 7350:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 7351:          OR f='tuvwxyzab'
 7352:          OR a=72
 7353:          OR ((a BETWEEN 53 AND 55) AND a!=54)
 7354:   }
 7355: } {11 19 22 45 53 55 61 71 72 95 97 99 scan 0 sort 0}
 7356: do_test where7-2.318.1 {
 7357:   count_steps_sort {
 7358:      SELECT a FROM t2
 7359:       WHERE (d>=8.0 AND d<9.0 AND d NOT NULL)
 7360:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
 7361:          OR a=21
 7362:          OR b=1026
 7363:          OR ((a BETWEEN 34 AND 36) AND a!=35)
 7364:          OR b=473
 7365:   }
 7366: } {8 16 21 34 36 43 scan 0 sort 0}
 7367: do_test where7-2.318.2 {
 7368:   count_steps_sort {
 7369:      SELECT a FROM t3
 7370:       WHERE (d>=8.0 AND d<9.0 AND d NOT NULL)
 7371:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
 7372:          OR a=21
 7373:          OR b=1026
 7374:          OR ((a BETWEEN 34 AND 36) AND a!=35)
 7375:          OR b=473
 7376:   }
 7377: } {8 16 21 34 36 43 scan 0 sort 0}
 7378: do_test where7-2.319.1 {
 7379:   count_steps_sort {
 7380:      SELECT a FROM t2
 7381:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
 7382:          OR ((a BETWEEN 43 AND 45) AND a!=44)
 7383:          OR a=100
 7384:          OR a=29
 7385:          OR c=15015
 7386:          OR a=87
 7387:          OR (g='gfedcba' AND f GLOB 'klmno*')
 7388:   }
 7389: } {29 43 44 45 71 73 87 88 100 scan 0 sort 0}
 7390: do_test where7-2.319.2 {
 7391:   count_steps_sort {
 7392:      SELECT a FROM t3
 7393:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
 7394:          OR ((a BETWEEN 43 AND 45) AND a!=44)
 7395:          OR a=100
 7396:          OR a=29
 7397:          OR c=15015
 7398:          OR a=87
 7399:          OR (g='gfedcba' AND f GLOB 'klmno*')
 7400:   }
 7401: } {29 43 44 45 71 73 87 88 100 scan 0 sort 0}
 7402: do_test where7-2.320.1 {
 7403:   count_steps_sort {
 7404:      SELECT a FROM t2
 7405:       WHERE (d>=1.0 AND d<2.0 AND d NOT NULL)
 7406:          OR b=542
 7407:          OR b=638
 7408:   }
 7409: } {1 58 scan 0 sort 0}
 7410: do_test where7-2.320.2 {
 7411:   count_steps_sort {
 7412:      SELECT a FROM t3
 7413:       WHERE (d>=1.0 AND d<2.0 AND d NOT NULL)
 7414:          OR b=542
 7415:          OR b=638
 7416:   }
 7417: } {1 58 scan 0 sort 0}
 7418: do_test where7-2.321.1 {
 7419:   count_steps_sort {
 7420:      SELECT a FROM t2
 7421:       WHERE ((a BETWEEN 5 AND 7) AND a!=6)
 7422:          OR b=1070
 7423:          OR a=91
 7424:          OR b=1015
 7425:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 7426:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
 7427:          OR ((a BETWEEN 91 AND 93) AND a!=92)
 7428:   }
 7429: } {5 7 12 80 91 93 scan 0 sort 0}
 7430: do_test where7-2.321.2 {
 7431:   count_steps_sort {
 7432:      SELECT a FROM t3
 7433:       WHERE ((a BETWEEN 5 AND 7) AND a!=6)
 7434:          OR b=1070
 7435:          OR a=91
 7436:          OR b=1015
 7437:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 7438:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
 7439:          OR ((a BETWEEN 91 AND 93) AND a!=92)
 7440:   }
 7441: } {5 7 12 80 91 93 scan 0 sort 0}
 7442: do_test where7-2.322.1 {
 7443:   count_steps_sort {
 7444:      SELECT a FROM t2
 7445:       WHERE a=7
 7446:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
 7447:          OR b=1015
 7448:          OR b=839
 7449:          OR (g='rqponml' AND f GLOB 'klmno*')
 7450:          OR b=410
 7451:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 7452:          OR a=71
 7453:   }
 7454: } {1 2 7 28 36 54 71 80 scan 0 sort 0}
 7455: do_test where7-2.322.2 {
 7456:   count_steps_sort {
 7457:      SELECT a FROM t3
 7458:       WHERE a=7
 7459:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
 7460:          OR b=1015
 7461:          OR b=839
 7462:          OR (g='rqponml' AND f GLOB 'klmno*')
 7463:          OR b=410
 7464:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
 7465:          OR a=71
 7466:   }
 7467: } {1 2 7 28 36 54 71 80 scan 0 sort 0}
 7468: do_test where7-2.323.1 {
 7469:   count_steps_sort {
 7470:      SELECT a FROM t2
 7471:       WHERE b=880
 7472:          OR b=982
 7473:          OR a=52
 7474:          OR (g='onmlkji' AND f GLOB 'abcde*')
 7475:          OR a=24
 7476:          OR ((a BETWEEN 47 AND 49) AND a!=48)
 7477:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
 7478:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
 7479:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
 7480:   }
 7481: } {24 47 49 50 52 60 76 80 scan 0 sort 0}
 7482: do_test where7-2.323.2 {
 7483:   count_steps_sort {
 7484:      SELECT a FROM t3
 7485:       WHERE b=880
 7486:          OR b=982
 7487:          OR a=52
 7488:          OR (g='onmlkji' AND f GLOB 'abcde*')
 7489:          OR a=24
 7490:          OR ((a BETWEEN 47 AND 49) AND a!=48)
 7491:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
 7492:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
 7493:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
 7494:   }
 7495: } {24 47 49 50 52 60 76 80 scan 0 sort 0}
 7496: do_test where7-2.324.1 {
 7497:   count_steps_sort {
 7498:      SELECT a FROM t2
 7499:       WHERE ((a BETWEEN 67 AND 69) AND a!=68)
 7500:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 7501:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
 7502:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
 7503:   }
 7504: } {5 22 31 57 67 69 83 scan 0 sort 0}
 7505: do_test where7-2.324.2 {
 7506:   count_steps_sort {
 7507:      SELECT a FROM t3
 7508:       WHERE ((a BETWEEN 67 AND 69) AND a!=68)
 7509:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 7510:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
 7511:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
 7512:   }
 7513: } {5 22 31 57 67 69 83 scan 0 sort 0}
 7514: do_test where7-2.325.1 {
 7515:   count_steps_sort {
 7516:      SELECT a FROM t2
 7517:       WHERE f='abcdefghi'
 7518:          OR a=5
 7519:          OR b=124
 7520:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
 7521:          OR b=432
 7522:          OR 1000000<b
 7523:          OR a=58
 7524:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
 7525:          OR b=77
 7526:          OR b=605
 7527:   }
 7528: } {5 7 26 45 52 55 58 69 78 scan 0 sort 0}
 7529: do_test where7-2.325.2 {
 7530:   count_steps_sort {
 7531:      SELECT a FROM t3
 7532:       WHERE f='abcdefghi'
 7533:          OR a=5
 7534:          OR b=124
 7535:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
 7536:          OR b=432
 7537:          OR 1000000<b
 7538:          OR a=58
 7539:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
 7540:          OR b=77
 7541:          OR b=605
 7542:   }
 7543: } {5 7 26 45 52 55 58 69 78 scan 0 sort 0}
 7544: do_test where7-2.326.1 {
 7545:   count_steps_sort {
 7546:      SELECT a FROM t2
 7547:       WHERE (d>=89.0 AND d<90.0 AND d NOT NULL)
 7548:          OR b=583
 7549:          OR a=62
 7550:   }
 7551: } {53 62 89 scan 0 sort 0}
 7552: do_test where7-2.326.2 {
 7553:   count_steps_sort {
 7554:      SELECT a FROM t3
 7555:       WHERE (d>=89.0 AND d<90.0 AND d NOT NULL)
 7556:          OR b=583
 7557:          OR a=62
 7558:   }
 7559: } {53 62 89 scan 0 sort 0}
 7560: do_test where7-2.327.1 {
 7561:   count_steps_sort {
 7562:      SELECT a FROM t2
 7563:       WHERE ((a BETWEEN 84 AND 86) AND a!=85)
 7564:          OR f='pqrstuvwx'
 7565:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
 7566:          OR b=278
 7567:          OR a=10
 7568:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 7569:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 7570:          OR ((a BETWEEN 63 AND 65) AND a!=64)
 7571:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 7572:          OR f='uvwxyzabc'
 7573:   }
 7574: } {5 10 15 20 28 41 46 54 63 65 67 68 72 84 86 93 98 scan 0 sort 0}
 7575: do_test where7-2.327.2 {
 7576:   count_steps_sort {
 7577:      SELECT a FROM t3
 7578:       WHERE ((a BETWEEN 84 AND 86) AND a!=85)
 7579:          OR f='pqrstuvwx'
 7580:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
 7581:          OR b=278
 7582:          OR a=10
 7583:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 7584:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 7585:          OR ((a BETWEEN 63 AND 65) AND a!=64)
 7586:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 7587:          OR f='uvwxyzabc'
 7588:   }
 7589: } {5 10 15 20 28 41 46 54 63 65 67 68 72 84 86 93 98 scan 0 sort 0}
 7590: do_test where7-2.328.1 {
 7591:   count_steps_sort {
 7592:      SELECT a FROM t2
 7593:       WHERE ((a BETWEEN 57 AND 59) AND a!=58)
 7594:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
 7595:          OR b=564
 7596:          OR (g='gfedcba' AND f GLOB 'mnopq*')
 7597:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 7598:          OR b=77
 7599:          OR (g='nmlkjih' AND f GLOB 'efghi*')
 7600:          OR b=968
 7601:          OR b=847
 7602:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
 7603:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
 7604:   }
 7605: } {7 14 40 56 57 58 59 66 77 85 88 90 92 scan 0 sort 0}
 7606: do_test where7-2.328.2 {
 7607:   count_steps_sort {
 7608:      SELECT a FROM t3
 7609:       WHERE ((a BETWEEN 57 AND 59) AND a!=58)
 7610:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
 7611:          OR b=564
 7612:          OR (g='gfedcba' AND f GLOB 'mnopq*')
 7613:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 7614:          OR b=77
 7615:          OR (g='nmlkjih' AND f GLOB 'efghi*')
 7616:          OR b=968
 7617:          OR b=847
 7618:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
 7619:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
 7620:   }
 7621: } {7 14 40 56 57 58 59 66 77 85 88 90 92 scan 0 sort 0}
 7622: do_test where7-2.329.1 {
 7623:   count_steps_sort {
 7624:      SELECT a FROM t2
 7625:       WHERE b=539
 7626:          OR b=594
 7627:          OR ((a BETWEEN 63 AND 65) AND a!=64)
 7628:          OR f='abcdefghi'
 7629:          OR a=6
 7630:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
 7631:          OR b=762
 7632:   }
 7633: } {6 17 26 49 52 54 63 65 78 scan 0 sort 0}
 7634: do_test where7-2.329.2 {
 7635:   count_steps_sort {
 7636:      SELECT a FROM t3
 7637:       WHERE b=539
 7638:          OR b=594
 7639:          OR ((a BETWEEN 63 AND 65) AND a!=64)
 7640:          OR f='abcdefghi'
 7641:          OR a=6
 7642:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
 7643:          OR b=762
 7644:   }
 7645: } {6 17 26 49 52 54 63 65 78 scan 0 sort 0}
 7646: do_test where7-2.330.1 {
 7647:   count_steps_sort {
 7648:      SELECT a FROM t2
 7649:       WHERE b=869
 7650:          OR b=630
 7651:   }
 7652: } {79 scan 0 sort 0}
 7653: do_test where7-2.330.2 {
 7654:   count_steps_sort {
 7655:      SELECT a FROM t3
 7656:       WHERE b=869
 7657:          OR b=630
 7658:   }
 7659: } {79 scan 0 sort 0}
 7660: do_test where7-2.331.1 {
 7661:   count_steps_sort {
 7662:      SELECT a FROM t2
 7663:       WHERE (d>=72.0 AND d<73.0 AND d NOT NULL)
 7664:          OR b=693
 7665:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 7666:          OR b=968
 7667:          OR ((a BETWEEN 63 AND 65) AND a!=64)
 7668:          OR b=132
 7669:          OR f='nopqrstuv'
 7670:          OR ((a BETWEEN 28 AND 30) AND a!=29)
 7671:   }
 7672: } {12 13 28 30 39 63 65 72 86 88 91 scan 0 sort 0}
 7673: do_test where7-2.331.2 {
 7674:   count_steps_sort {
 7675:      SELECT a FROM t3
 7676:       WHERE (d>=72.0 AND d<73.0 AND d NOT NULL)
 7677:          OR b=693
 7678:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
 7679:          OR b=968
 7680:          OR ((a BETWEEN 63 AND 65) AND a!=64)
 7681:          OR b=132
 7682:          OR f='nopqrstuv'
 7683:          OR ((a BETWEEN 28 AND 30) AND a!=29)
 7684:   }
 7685: } {12 13 28 30 39 63 65 72 86 88 91 scan 0 sort 0}
 7686: do_test where7-2.332.1 {
 7687:   count_steps_sort {
 7688:      SELECT a FROM t2
 7689:       WHERE c=32032
 7690:          OR b=814
 7691:          OR (d>=90.0 AND d<91.0 AND d NOT NULL)
 7692:          OR b=814
 7693:          OR a=78
 7694:          OR a=37
 7695:   }
 7696: } {37 74 78 90 94 95 96 scan 0 sort 0}
 7697: do_test where7-2.332.2 {
 7698:   count_steps_sort {
 7699:      SELECT a FROM t3
 7700:       WHERE c=32032
 7701:          OR b=814
 7702:          OR (d>=90.0 AND d<91.0 AND d NOT NULL)
 7703:          OR b=814
 7704:          OR a=78
 7705:          OR a=37
 7706:   }
 7707: } {37 74 78 90 94 95 96 scan 0 sort 0}
 7708: do_test where7-2.333.1 {
 7709:   count_steps_sort {
 7710:      SELECT a FROM t2
 7711:       WHERE b=190
 7712:          OR (g='mlkjihg' AND f GLOB 'hijkl*')
 7713:          OR b=924
 7714:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
 7715:          OR b=759
 7716:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
 7717:   }
 7718: } {1 40 59 69 84 scan 0 sort 0}
 7719: do_test where7-2.333.2 {
 7720:   count_steps_sort {
 7721:      SELECT a FROM t3
 7722:       WHERE b=190
 7723:          OR (g='mlkjihg' AND f GLOB 'hijkl*')
 7724:          OR b=924
 7725:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
 7726:          OR b=759
 7727:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
 7728:   }
 7729: } {1 40 59 69 84 scan 0 sort 0}
 7730: do_test where7-2.334.1 {
 7731:   count_steps_sort {
 7732:      SELECT a FROM t2
 7733:       WHERE a=97
 7734:          OR b=201
 7735:          OR b=597
 7736:          OR a=6
 7737:          OR f='cdefghijk'
 7738:          OR ((a BETWEEN 74 AND 76) AND a!=75)
 7739:          OR b=300
 7740:          OR b=693
 7741:          OR b=333
 7742:          OR b=740
 7743:   }
 7744: } {2 6 28 54 63 74 76 80 97 scan 0 sort 0}
 7745: do_test where7-2.334.2 {
 7746:   count_steps_sort {
 7747:      SELECT a FROM t3
 7748:       WHERE a=97
 7749:          OR b=201
 7750:          OR b=597
 7751:          OR a=6
 7752:          OR f='cdefghijk'
 7753:          OR ((a BETWEEN 74 AND 76) AND a!=75)
 7754:          OR b=300
 7755:          OR b=693
 7756:          OR b=333
 7757:          OR b=740
 7758:   }
 7759: } {2 6 28 54 63 74 76 80 97 scan 0 sort 0}
 7760: do_test where7-2.335.1 {
 7761:   count_steps_sort {
 7762:      SELECT a FROM t2
 7763:       WHERE c=26026
 7764:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
 7765:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
 7766:          OR c=17017
 7767:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 7768:          OR (g='srqponm' AND f GLOB 'ghijk*')
 7769:          OR (g='jihgfed' AND f GLOB 'zabcd*')
 7770:          OR ((a BETWEEN 2 AND 4) AND a!=3)
 7771:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
 7772:   }
 7773: } {2 4 32 43 49 50 51 60 72 74 76 77 78 scan 0 sort 0}
 7774: do_test where7-2.335.2 {
 7775:   count_steps_sort {
 7776:      SELECT a FROM t3
 7777:       WHERE c=26026
 7778:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
 7779:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
 7780:          OR c=17017
 7781:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 7782:          OR (g='srqponm' AND f GLOB 'ghijk*')
 7783:          OR (g='jihgfed' AND f GLOB 'zabcd*')
 7784:          OR ((a BETWEEN 2 AND 4) AND a!=3)
 7785:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
 7786:   }
 7787: } {2 4 32 43 49 50 51 60 72 74 76 77 78 scan 0 sort 0}
 7788: do_test where7-2.336.1 {
 7789:   count_steps_sort {
 7790:      SELECT a FROM t2
 7791:       WHERE (d>=70.0 AND d<71.0 AND d NOT NULL)
 7792:          OR ((a BETWEEN 13 AND 15) AND a!=14)
 7793:          OR b=638
 7794:          OR b=495
 7795:          OR a=44
 7796:          OR b=374
 7797:          OR a=22
 7798:          OR c=12012
 7799:   }
 7800: } {13 15 22 34 35 36 44 45 58 70 scan 0 sort 0}
 7801: do_test where7-2.336.2 {
 7802:   count_steps_sort {
 7803:      SELECT a FROM t3
 7804:       WHERE (d>=70.0 AND d<71.0 AND d NOT NULL)
 7805:          OR ((a BETWEEN 13 AND 15) AND a!=14)
 7806:          OR b=638
 7807:          OR b=495
 7808:          OR a=44
 7809:          OR b=374
 7810:          OR a=22
 7811:          OR c=12012
 7812:   }
 7813: } {13 15 22 34 35 36 44 45 58 70 scan 0 sort 0}
 7814: do_test where7-2.337.1 {
 7815:   count_steps_sort {
 7816:      SELECT a FROM t2
 7817:       WHERE c=8008
 7818:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
 7819:          OR (d>=100.0 AND d<101.0 AND d NOT NULL)
 7820:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 7821:          OR b=300
 7822:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
 7823:          OR a=41
 7824:          OR (g='onmlkji' AND f GLOB 'xyzab*')
 7825:          OR b=135
 7826:          OR b=605
 7827:   }
 7828: } {1 2 22 23 24 39 41 49 55 100 scan 0 sort 0}
 7829: do_test where7-2.337.2 {
 7830:   count_steps_sort {
 7831:      SELECT a FROM t3
 7832:       WHERE c=8008
 7833:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
 7834:          OR (d>=100.0 AND d<101.0 AND d NOT NULL)
 7835:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 7836:          OR b=300
 7837:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
 7838:          OR a=41
 7839:          OR (g='onmlkji' AND f GLOB 'xyzab*')
 7840:          OR b=135
 7841:          OR b=605
 7842:   }
 7843: } {1 2 22 23 24 39 41 49 55 100 scan 0 sort 0}
 7844: do_test where7-2.338.1 {
 7845:   count_steps_sort {
 7846:      SELECT a FROM t2
 7847:       WHERE (f GLOB '?stuv*' AND f GLOB 'rstu*')
 7848:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
 7849:          OR (g='srqponm' AND f GLOB 'efghi*')
 7850:          OR (g='qponmlk' AND f GLOB 'pqrst*')
 7851:          OR b=762
 7852:          OR b=484
 7853:          OR b=190
 7854:          OR ((a BETWEEN 95 AND 97) AND a!=96)
 7855:          OR (d>=74.0 AND d<75.0 AND d NOT NULL)
 7856:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
 7857:          OR b=1023
 7858:   }
 7859: } {4 17 30 41 43 44 56 61 69 74 82 93 95 97 scan 0 sort 0}
 7860: do_test where7-2.338.2 {
 7861:   count_steps_sort {
 7862:      SELECT a FROM t3
 7863:       WHERE (f GLOB '?stuv*' AND f GLOB 'rstu*')
 7864:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
 7865:          OR (g='srqponm' AND f GLOB 'efghi*')
 7866:          OR (g='qponmlk' AND f GLOB 'pqrst*')
 7867:          OR b=762
 7868:          OR b=484
 7869:          OR b=190
 7870:          OR ((a BETWEEN 95 AND 97) AND a!=96)
 7871:          OR (d>=74.0 AND d<75.0 AND d NOT NULL)
 7872:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
 7873:          OR b=1023
 7874:   }
 7875: } {4 17 30 41 43 44 56 61 69 74 82 93 95 97 scan 0 sort 0}
 7876: do_test where7-2.339.1 {
 7877:   count_steps_sort {
 7878:      SELECT a FROM t2
 7879:       WHERE (g='ihgfedc' AND f GLOB 'efghi*')
 7880:          OR a=34
 7881:          OR f='rstuvwxyz'
 7882:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
 7883:          OR b=729
 7884:   }
 7885: } {10 17 34 43 69 82 95 scan 0 sort 0}
 7886: do_test where7-2.339.2 {
 7887:   count_steps_sort {
 7888:      SELECT a FROM t3
 7889:       WHERE (g='ihgfedc' AND f GLOB 'efghi*')
 7890:          OR a=34
 7891:          OR f='rstuvwxyz'
 7892:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
 7893:          OR b=729
 7894:   }
 7895: } {10 17 34 43 69 82 95 scan 0 sort 0}
 7896: do_test where7-2.340.1 {
 7897:   count_steps_sort {
 7898:      SELECT a FROM t2
 7899:       WHERE (d>=37.0 AND d<38.0 AND d NOT NULL)
 7900:          OR b=1004
 7901:          OR (g='qponmlk' AND f GLOB 'pqrst*')
 7902:          OR g IS NULL
 7903:   }
 7904: } {37 41 scan 0 sort 0}
 7905: do_test where7-2.340.2 {
 7906:   count_steps_sort {
 7907:      SELECT a FROM t3
 7908:       WHERE (d>=37.0 AND d<38.0 AND d NOT NULL)
 7909:          OR b=1004
 7910:          OR (g='qponmlk' AND f GLOB 'pqrst*')
 7911:          OR g IS NULL
 7912:   }
 7913: } {37 41 scan 0 sort 0}
 7914: do_test where7-2.341.1 {
 7915:   count_steps_sort {
 7916:      SELECT a FROM t2
 7917:       WHERE a=73
 7918:          OR ((a BETWEEN 36 AND 38) AND a!=37)
 7919:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
 7920:          OR ((a BETWEEN 51 AND 53) AND a!=52)
 7921:          OR a=9
 7922:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 7923:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
 7924:          OR a=44
 7925:          OR a=23
 7926:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 7927:          OR (g='rqponml' AND f GLOB 'lmnop*')
 7928:   }
 7929: } {1 9 23 36 37 38 44 51 53 55 63 73 78 scan 0 sort 0}
 7930: do_test where7-2.341.2 {
 7931:   count_steps_sort {
 7932:      SELECT a FROM t3
 7933:       WHERE a=73
 7934:          OR ((a BETWEEN 36 AND 38) AND a!=37)
 7935:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
 7936:          OR ((a BETWEEN 51 AND 53) AND a!=52)
 7937:          OR a=9
 7938:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
 7939:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
 7940:          OR a=44
 7941:          OR a=23
 7942:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 7943:          OR (g='rqponml' AND f GLOB 'lmnop*')
 7944:   }
 7945: } {1 9 23 36 37 38 44 51 53 55 63 73 78 scan 0 sort 0}
 7946: do_test where7-2.342.1 {
 7947:   count_steps_sort {
 7948:      SELECT a FROM t2
 7949:       WHERE b=487
 7950:          OR ((a BETWEEN 77 AND 79) AND a!=78)
 7951:          OR a=11
 7952:          OR ((a BETWEEN 12 AND 14) AND a!=13)
 7953:          OR ((a BETWEEN 69 AND 71) AND a!=70)
 7954:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
 7955:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 7956:          OR a=13
 7957:          OR a=15
 7958:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
 7959:          OR a=36
 7960:   }
 7961: } {11 12 13 14 15 29 36 69 71 77 78 79 scan 0 sort 0}
 7962: do_test where7-2.342.2 {
 7963:   count_steps_sort {
 7964:      SELECT a FROM t3
 7965:       WHERE b=487
 7966:          OR ((a BETWEEN 77 AND 79) AND a!=78)
 7967:          OR a=11
 7968:          OR ((a BETWEEN 12 AND 14) AND a!=13)
 7969:          OR ((a BETWEEN 69 AND 71) AND a!=70)
 7970:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
 7971:          OR (g='ihgfedc' AND f GLOB 'abcde*')
 7972:          OR a=13
 7973:          OR a=15
 7974:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
 7975:          OR a=36
 7976:   }
 7977: } {11 12 13 14 15 29 36 69 71 77 78 79 scan 0 sort 0}
 7978: do_test where7-2.343.1 {
 7979:   count_steps_sort {
 7980:      SELECT a FROM t2
 7981:       WHERE b=938
 7982:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 7983:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 7984:          OR (d>=32.0 AND d<33.0 AND d NOT NULL)
 7985:          OR b=245
 7986:          OR (d>=35.0 AND d<36.0 AND d NOT NULL)
 7987:   }
 7988: } {32 35 54 57 59 scan 0 sort 0}
 7989: do_test where7-2.343.2 {
 7990:   count_steps_sort {
 7991:      SELECT a FROM t3
 7992:       WHERE b=938
 7993:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 7994:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 7995:          OR (d>=32.0 AND d<33.0 AND d NOT NULL)
 7996:          OR b=245
 7997:          OR (d>=35.0 AND d<36.0 AND d NOT NULL)
 7998:   }
 7999: } {32 35 54 57 59 scan 0 sort 0}
 8000: do_test where7-2.344.1 {
 8001:   count_steps_sort {
 8002:      SELECT a FROM t2
 8003:       WHERE b=1078
 8004:          OR c=19019
 8005:          OR a=38
 8006:          OR a=59
 8007:          OR ((a BETWEEN 30 AND 32) AND a!=31)
 8008:          OR ((a BETWEEN 95 AND 97) AND a!=96)
 8009:          OR c=25025
 8010:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
 8011:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
 8012:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
 8013:   }
 8014: } {30 32 38 51 55 56 57 59 73 74 75 76 79 95 97 98 scan 0 sort 0}
 8015: do_test where7-2.344.2 {
 8016:   count_steps_sort {
 8017:      SELECT a FROM t3
 8018:       WHERE b=1078
 8019:          OR c=19019
 8020:          OR a=38
 8021:          OR a=59
 8022:          OR ((a BETWEEN 30 AND 32) AND a!=31)
 8023:          OR ((a BETWEEN 95 AND 97) AND a!=96)
 8024:          OR c=25025
 8025:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
 8026:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
 8027:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
 8028:   }
 8029: } {30 32 38 51 55 56 57 59 73 74 75 76 79 95 97 98 scan 0 sort 0}
 8030: do_test where7-2.345.1 {
 8031:   count_steps_sort {
 8032:      SELECT a FROM t2
 8033:       WHERE f='cdefghijk'
 8034:          OR b=168
 8035:          OR b=561
 8036:          OR a=81
 8037:          OR a=87
 8038:   }
 8039: } {2 28 51 54 80 81 87 scan 0 sort 0}
 8040: do_test where7-2.345.2 {
 8041:   count_steps_sort {
 8042:      SELECT a FROM t3
 8043:       WHERE f='cdefghijk'
 8044:          OR b=168
 8045:          OR b=561
 8046:          OR a=81
 8047:          OR a=87
 8048:   }
 8049: } {2 28 51 54 80 81 87 scan 0 sort 0}
 8050: do_test where7-2.346.1 {
 8051:   count_steps_sort {
 8052:      SELECT a FROM t2
 8053:       WHERE (g='gfedcba' AND f GLOB 'klmno*')
 8054:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 8055:          OR (g='rqponml' AND f GLOB 'hijkl*')
 8056:          OR a=48
 8057:          OR b=113
 8058:          OR ((a BETWEEN 20 AND 22) AND a!=21)
 8059:          OR b=880
 8060:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 8061:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
 8062:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
 8063:   }
 8064: } {9 11 20 22 33 48 53 73 80 85 87 88 scan 0 sort 0}
 8065: do_test where7-2.346.2 {
 8066:   count_steps_sort {
 8067:      SELECT a FROM t3
 8068:       WHERE (g='gfedcba' AND f GLOB 'klmno*')
 8069:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 8070:          OR (g='rqponml' AND f GLOB 'hijkl*')
 8071:          OR a=48
 8072:          OR b=113
 8073:          OR ((a BETWEEN 20 AND 22) AND a!=21)
 8074:          OR b=880
 8075:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 8076:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
 8077:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
 8078:   }
 8079: } {9 11 20 22 33 48 53 73 80 85 87 88 scan 0 sort 0}
 8080: do_test where7-2.347.1 {
 8081:   count_steps_sort {
 8082:      SELECT a FROM t2
 8083:       WHERE b=517
 8084:          OR b=187
 8085:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
 8086:          OR b=1092
 8087:          OR ((a BETWEEN 84 AND 86) AND a!=85)
 8088:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
 8089:   }
 8090: } {6 17 47 84 86 scan 0 sort 0}
 8091: do_test where7-2.347.2 {
 8092:   count_steps_sort {
 8093:      SELECT a FROM t3
 8094:       WHERE b=517
 8095:          OR b=187
 8096:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
 8097:          OR b=1092
 8098:          OR ((a BETWEEN 84 AND 86) AND a!=85)
 8099:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
 8100:   }
 8101: } {6 17 47 84 86 scan 0 sort 0}
 8102: do_test where7-2.348.1 {
 8103:   count_steps_sort {
 8104:      SELECT a FROM t2
 8105:       WHERE b=982
 8106:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
 8107:          OR b=234
 8108:          OR c=15015
 8109:          OR a=47
 8110:          OR f='qrstuvwxy'
 8111:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
 8112:          OR b=814
 8113:          OR b=440
 8114:          OR b=454
 8115:   }
 8116: } {16 40 42 43 44 45 47 65 68 74 94 scan 0 sort 0}
 8117: do_test where7-2.348.2 {
 8118:   count_steps_sort {
 8119:      SELECT a FROM t3
 8120:       WHERE b=982
 8121:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
 8122:          OR b=234
 8123:          OR c=15015
 8124:          OR a=47
 8125:          OR f='qrstuvwxy'
 8126:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
 8127:          OR b=814
 8128:          OR b=440
 8129:          OR b=454
 8130:   }
 8131: } {16 40 42 43 44 45 47 65 68 74 94 scan 0 sort 0}
 8132: do_test where7-2.349.1 {
 8133:   count_steps_sort {
 8134:      SELECT a FROM t2
 8135:       WHERE (d>=47.0 AND d<48.0 AND d NOT NULL)
 8136:          OR c=7007
 8137:          OR b=429
 8138:          OR ((a BETWEEN 25 AND 27) AND a!=26)
 8139:          OR b=231
 8140:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
 8141:          OR c=22022
 8142:          OR f='bcdefghij'
 8143:   }
 8144: } {1 19 20 21 25 26 27 39 47 53 64 65 66 79 scan 0 sort 0}
 8145: do_test where7-2.349.2 {
 8146:   count_steps_sort {
 8147:      SELECT a FROM t3
 8148:       WHERE (d>=47.0 AND d<48.0 AND d NOT NULL)
 8149:          OR c=7007
 8150:          OR b=429
 8151:          OR ((a BETWEEN 25 AND 27) AND a!=26)
 8152:          OR b=231
 8153:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
 8154:          OR c=22022
 8155:          OR f='bcdefghij'
 8156:   }
 8157: } {1 19 20 21 25 26 27 39 47 53 64 65 66 79 scan 0 sort 0}
 8158: do_test where7-2.350.1 {
 8159:   count_steps_sort {
 8160:      SELECT a FROM t2
 8161:       WHERE c=17017
 8162:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
 8163:          OR ((a BETWEEN 88 AND 90) AND a!=89)
 8164:          OR b=784
 8165:          OR ((a BETWEEN 22 AND 24) AND a!=23)
 8166:          OR ((a BETWEEN 54 AND 56) AND a!=55)
 8167:          OR ((a BETWEEN 16 AND 18) AND a!=17)
 8168:          OR f='zabcdefgh'
 8169:   }
 8170: } {16 18 22 24 25 49 50 51 54 56 62 77 88 90 scan 0 sort 0}
 8171: do_test where7-2.350.2 {
 8172:   count_steps_sort {
 8173:      SELECT a FROM t3
 8174:       WHERE c=17017
 8175:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
 8176:          OR ((a BETWEEN 88 AND 90) AND a!=89)
 8177:          OR b=784
 8178:          OR ((a BETWEEN 22 AND 24) AND a!=23)
 8179:          OR ((a BETWEEN 54 AND 56) AND a!=55)
 8180:          OR ((a BETWEEN 16 AND 18) AND a!=17)
 8181:          OR f='zabcdefgh'
 8182:   }
 8183: } {16 18 22 24 25 49 50 51 54 56 62 77 88 90 scan 0 sort 0}
 8184: do_test where7-2.351.1 {
 8185:   count_steps_sort {
 8186:      SELECT a FROM t2
 8187:       WHERE b=344
 8188:          OR b=275
 8189:          OR c<=10
 8190:   }
 8191: } {25 scan 0 sort 0}
 8192: do_test where7-2.351.2 {
 8193:   count_steps_sort {
 8194:      SELECT a FROM t3
 8195:       WHERE b=344
 8196:          OR b=275
 8197:          OR c<=10
 8198:   }
 8199: } {25 scan 0 sort 0}
 8200: do_test where7-2.352.1 {
 8201:   count_steps_sort {
 8202:      SELECT a FROM t2
 8203:       WHERE ((a BETWEEN 44 AND 46) AND a!=45)
 8204:          OR a=76
 8205:          OR b=154
 8206:          OR a=30
 8207:          OR c=3003
 8208:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
 8209:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
 8210:          OR b=564
 8211:          OR b=55
 8212:          OR a=38
 8213:   }
 8214: } {5 7 8 9 14 23 30 38 44 46 49 75 76 88 scan 0 sort 0}
 8215: do_test where7-2.352.2 {
 8216:   count_steps_sort {
 8217:      SELECT a FROM t3
 8218:       WHERE ((a BETWEEN 44 AND 46) AND a!=45)
 8219:          OR a=76
 8220:          OR b=154
 8221:          OR a=30
 8222:          OR c=3003
 8223:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
 8224:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
 8225:          OR b=564
 8226:          OR b=55
 8227:          OR a=38
 8228:   }
 8229: } {5 7 8 9 14 23 30 38 44 46 49 75 76 88 scan 0 sort 0}
 8230: do_test where7-2.353.1 {
 8231:   count_steps_sort {
 8232:      SELECT a FROM t2
 8233:       WHERE a=52
 8234:          OR ((a BETWEEN 66 AND 68) AND a!=67)
 8235:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 8236:   }
 8237: } {52 54 66 68 scan 0 sort 0}
 8238: do_test where7-2.353.2 {
 8239:   count_steps_sort {
 8240:      SELECT a FROM t3
 8241:       WHERE a=52
 8242:          OR ((a BETWEEN 66 AND 68) AND a!=67)
 8243:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
 8244:   }
 8245: } {52 54 66 68 scan 0 sort 0}
 8246: do_test where7-2.354.1 {
 8247:   count_steps_sort {
 8248:      SELECT a FROM t2
 8249:       WHERE b=792
 8250:          OR (g='wvutsrq' AND f GLOB 'jklmn*')
 8251:   }
 8252: } {9 72 scan 0 sort 0}
 8253: do_test where7-2.354.2 {
 8254:   count_steps_sort {
 8255:      SELECT a FROM t3
 8256:       WHERE b=792
 8257:          OR (g='wvutsrq' AND f GLOB 'jklmn*')
 8258:   }
 8259: } {9 72 scan 0 sort 0}
 8260: do_test where7-2.355.1 {
 8261:   count_steps_sort {
 8262:      SELECT a FROM t2
 8263:       WHERE (d>=73.0 AND d<74.0 AND d NOT NULL)
 8264:          OR c=21021
 8265:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 8266:          OR f='zabcdefgh'
 8267:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
 8268:          OR b=781
 8269:          OR a=64
 8270:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
 8271:   }
 8272: } {1 11 25 51 61 62 63 64 65 71 73 77 scan 0 sort 0}
 8273: do_test where7-2.355.2 {
 8274:   count_steps_sort {
 8275:      SELECT a FROM t3
 8276:       WHERE (d>=73.0 AND d<74.0 AND d NOT NULL)
 8277:          OR c=21021
 8278:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
 8279:          OR f='zabcdefgh'
 8280:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
 8281:          OR b=781
 8282:          OR a=64
 8283:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
 8284:   }
 8285: } {1 11 25 51 61 62 63 64 65 71 73 77 scan 0 sort 0}
 8286: do_test where7-2.356.1 {
 8287:   count_steps_sort {
 8288:      SELECT a FROM t2
 8289:       WHERE (g='lkjihgf' AND f GLOB 'pqrst*')
 8290:          OR (d>=90.0 AND d<91.0 AND d NOT NULL)
 8291:          OR a=34
 8292:          OR (g='rqponml' AND f GLOB 'ijklm*')
 8293:          OR (g='rqponml' AND f GLOB 'klmno*')
 8294:          OR (g='srqponm' AND f GLOB 'defgh*')
 8295:          OR b=319
 8296:          OR b=330
 8297:          OR ((a BETWEEN 28 AND 30) AND a!=29)
 8298:   }
 8299: } {28 29 30 34 36 67 90 scan 0 sort 0}
 8300: do_test where7-2.356.2 {
 8301:   count_steps_sort {
 8302:      SELECT a FROM t3
 8303:       WHERE (g='lkjihgf' AND f GLOB 'pqrst*')
 8304:          OR (d>=90.0 AND d<91.0 AND d NOT NULL)
 8305:          OR a=34
 8306:          OR (g='rqponml' AND f GLOB 'ijklm*')
 8307:          OR (g='rqponml' AND f GLOB 'klmno*')
 8308:          OR (g='srqponm' AND f GLOB 'defgh*')
 8309:          OR b=319
 8310:          OR b=330
 8311:          OR ((a BETWEEN 28 AND 30) AND a!=29)
 8312:   }
 8313: } {28 29 30 34 36 67 90 scan 0 sort 0}
 8314: do_test where7-2.357.1 {
 8315:   count_steps_sort {
 8316:      SELECT a FROM t2
 8317:       WHERE (g='qponmlk' AND f GLOB 'pqrst*')
 8318:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
 8319:          OR a=45
 8320:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
 8321:   }
 8322: } {15 41 45 67 81 93 scan 0 sort 0}
 8323: do_test where7-2.357.2 {
 8324:   count_steps_sort {
 8325:      SELECT a FROM t3
 8326:       WHERE (g='qponmlk' AND f GLOB 'pqrst*')
 8327:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
 8328:          OR a=45
 8329:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
 8330:   }
 8331: } {15 41 45 67 81 93 scan 0 sort 0}
 8332: do_test where7-2.358.1 {
 8333:   count_steps_sort {
 8334:      SELECT a FROM t2
 8335:       WHERE (d>=53.0 AND d<54.0 AND d NOT NULL)
 8336:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
 8337:          OR b=165
 8338:          OR b=836
 8339:   }
 8340: } {15 53 54 76 scan 0 sort 0}
 8341: do_test where7-2.358.2 {
 8342:   count_steps_sort {
 8343:      SELECT a FROM t3
 8344:       WHERE (d>=53.0 AND d<54.0 AND d NOT NULL)
 8345:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
 8346:          OR b=165
 8347:          OR b=836
 8348:   }
 8349: } {15 53 54 76 scan 0 sort 0}
 8350: do_test where7-2.359.1 {
 8351:   count_steps_sort {
 8352:      SELECT a FROM t2
 8353:       WHERE b=1034
 8354:          OR f='vwxyzabcd'
 8355:          OR (g='gfedcba' AND f GLOB 'nopqr*')
 8356:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 8357:   }
 8358: } {21 47 57 59 73 91 94 99 scan 0 sort 0}
 8359: do_test where7-2.359.2 {
 8360:   count_steps_sort {
 8361:      SELECT a FROM t3
 8362:       WHERE b=1034
 8363:          OR f='vwxyzabcd'
 8364:          OR (g='gfedcba' AND f GLOB 'nopqr*')
 8365:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 8366:   }
 8367: } {21 47 57 59 73 91 94 99 scan 0 sort 0}
 8368: do_test where7-2.360.1 {
 8369:   count_steps_sort {
 8370:      SELECT a FROM t2
 8371:       WHERE b=440
 8372:          OR a=19
 8373:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
 8374:          OR c=22022
 8375:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
 8376:          OR a=92
 8377:          OR b=1026
 8378:          OR b=608
 8379:   }
 8380: } {19 40 47 64 65 66 92 scan 0 sort 0}
 8381: do_test where7-2.360.2 {
 8382:   count_steps_sort {
 8383:      SELECT a FROM t3
 8384:       WHERE b=440
 8385:          OR a=19
 8386:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
 8387:          OR c=22022
 8388:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
 8389:          OR a=92
 8390:          OR b=1026
 8391:          OR b=608
 8392:   }
 8393: } {19 40 47 64 65 66 92 scan 0 sort 0}
 8394: do_test where7-2.361.1 {
 8395:   count_steps_sort {
 8396:      SELECT a FROM t2
 8397:       WHERE a=37
 8398:          OR b=88
 8399:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 8400:          OR c=23023
 8401:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
 8402:          OR a=56
 8403:          OR ((a BETWEEN 13 AND 15) AND a!=14)
 8404:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
 8405:          OR f='ijklmnopq'
 8406:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 8407:   }
 8408: } {8 13 15 16 22 34 37 42 56 60 67 68 69 85 86 87 94 scan 0 sort 0}
 8409: do_test where7-2.361.2 {
 8410:   count_steps_sort {
 8411:      SELECT a FROM t3
 8412:       WHERE a=37
 8413:          OR b=88
 8414:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
 8415:          OR c=23023
 8416:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
 8417:          OR a=56
 8418:          OR ((a BETWEEN 13 AND 15) AND a!=14)
 8419:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
 8420:          OR f='ijklmnopq'
 8421:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 8422:   }
 8423: } {8 13 15 16 22 34 37 42 56 60 67 68 69 85 86 87 94 scan 0 sort 0}
 8424: do_test where7-2.362.1 {
 8425:   count_steps_sort {
 8426:      SELECT a FROM t2
 8427:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
 8428:          OR ((a BETWEEN 22 AND 24) AND a!=23)
 8429:          OR a=74
 8430:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
 8431:          OR ((a BETWEEN 42 AND 44) AND a!=43)
 8432:   }
 8433: } {20 22 24 42 44 74 97 scan 0 sort 0}
 8434: do_test where7-2.362.2 {
 8435:   count_steps_sort {
 8436:      SELECT a FROM t3
 8437:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
 8438:          OR ((a BETWEEN 22 AND 24) AND a!=23)
 8439:          OR a=74
 8440:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
 8441:          OR ((a BETWEEN 42 AND 44) AND a!=43)
 8442:   }
 8443: } {20 22 24 42 44 74 97 scan 0 sort 0}
 8444: do_test where7-2.363.1 {
 8445:   count_steps_sort {
 8446:      SELECT a FROM t2
 8447:       WHERE f='uvwxyzabc'
 8448:          OR b=869
 8449:          OR ((a BETWEEN 49 AND 51) AND a!=50)
 8450:   }
 8451: } {20 46 49 51 72 79 98 scan 0 sort 0}
 8452: do_test where7-2.363.2 {
 8453:   count_steps_sort {
 8454:      SELECT a FROM t3
 8455:       WHERE f='uvwxyzabc'
 8456:          OR b=869
 8457:          OR ((a BETWEEN 49 AND 51) AND a!=50)
 8458:   }
 8459: } {20 46 49 51 72 79 98 scan 0 sort 0}
 8460: do_test where7-2.364.1 {
 8461:   count_steps_sort {
 8462:      SELECT a FROM t2
 8463:       WHERE b=682
 8464:          OR b=583
 8465:          OR b=685
 8466:          OR b=817
 8467:          OR ((a BETWEEN 34 AND 36) AND a!=35)
 8468:   }
 8469: } {34 36 53 62 scan 0 sort 0}
 8470: do_test where7-2.364.2 {
 8471:   count_steps_sort {
 8472:      SELECT a FROM t3
 8473:       WHERE b=682
 8474:          OR b=583
 8475:          OR b=685
 8476:          OR b=817
 8477:          OR ((a BETWEEN 34 AND 36) AND a!=35)
 8478:   }
 8479: } {34 36 53 62 scan 0 sort 0}
 8480: do_test where7-2.365.1 {
 8481:   count_steps_sort {
 8482:      SELECT a FROM t2
 8483:       WHERE b=583
 8484:          OR a=39
 8485:          OR b=627
 8486:          OR ((a BETWEEN 72 AND 74) AND a!=73)
 8487:   }
 8488: } {39 53 57 72 74 scan 0 sort 0}
 8489: do_test where7-2.365.2 {
 8490:   count_steps_sort {
 8491:      SELECT a FROM t3
 8492:       WHERE b=583
 8493:          OR a=39
 8494:          OR b=627
 8495:          OR ((a BETWEEN 72 AND 74) AND a!=73)
 8496:   }
 8497: } {39 53 57 72 74 scan 0 sort 0}
 8498: do_test where7-2.366.1 {
 8499:   count_steps_sort {
 8500:      SELECT a FROM t2
 8501:       WHERE (g='jihgfed' AND f GLOB 'vwxyz*')
 8502:          OR ((a BETWEEN 2 AND 4) AND a!=3)
 8503:          OR b=212
 8504:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
 8505:          OR ((a BETWEEN 24 AND 26) AND a!=25)
 8506:          OR a=20
 8507:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 8508:          OR b=627
 8509:   }
 8510: } {2 4 20 24 26 53 57 68 73 scan 0 sort 0}
 8511: do_test where7-2.366.2 {
 8512:   count_steps_sort {
 8513:      SELECT a FROM t3
 8514:       WHERE (g='jihgfed' AND f GLOB 'vwxyz*')
 8515:          OR ((a BETWEEN 2 AND 4) AND a!=3)
 8516:          OR b=212
 8517:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
 8518:          OR ((a BETWEEN 24 AND 26) AND a!=25)
 8519:          OR a=20
 8520:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 8521:          OR b=627
 8522:   }
 8523: } {2 4 20 24 26 53 57 68 73 scan 0 sort 0}
 8524: do_test where7-2.367.1 {
 8525:   count_steps_sort {
 8526:      SELECT a FROM t2
 8527:       WHERE (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 8528:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
 8529:          OR b=157
 8530:          OR b=1026
 8531:   }
 8532: } {8 34 60 77 86 scan 0 sort 0}
 8533: do_test where7-2.367.2 {
 8534:   count_steps_sort {
 8535:      SELECT a FROM t3
 8536:       WHERE (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 8537:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
 8538:          OR b=157
 8539:          OR b=1026
 8540:   }
 8541: } {8 34 60 77 86 scan 0 sort 0}
 8542: do_test where7-2.368.1 {
 8543:   count_steps_sort {
 8544:      SELECT a FROM t2
 8545:       WHERE b=553
 8546:          OR a=16
 8547:          OR ((a BETWEEN 80 AND 82) AND a!=81)
 8548:          OR ((a BETWEEN 31 AND 33) AND a!=32)
 8549:          OR (g='wvutsrq' AND f GLOB 'lmnop*')
 8550:          OR f='zabcdefgh'
 8551:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
 8552:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 8553:   }
 8554: } {5 11 16 25 31 33 51 67 77 80 82 scan 0 sort 0}
 8555: do_test where7-2.368.2 {
 8556:   count_steps_sort {
 8557:      SELECT a FROM t3
 8558:       WHERE b=553
 8559:          OR a=16
 8560:          OR ((a BETWEEN 80 AND 82) AND a!=81)
 8561:          OR ((a BETWEEN 31 AND 33) AND a!=32)
 8562:          OR (g='wvutsrq' AND f GLOB 'lmnop*')
 8563:          OR f='zabcdefgh'
 8564:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
 8565:          OR (g='xwvutsr' AND f GLOB 'fghij*')
 8566:   }
 8567: } {5 11 16 25 31 33 51 67 77 80 82 scan 0 sort 0}
 8568: do_test where7-2.369.1 {
 8569:   count_steps_sort {
 8570:      SELECT a FROM t2
 8571:       WHERE b=858
 8572:          OR c=9009
 8573:          OR b=792
 8574:          OR b=88
 8575:          OR b=154
 8576:   }
 8577: } {8 14 25 26 27 72 78 scan 0 sort 0}
 8578: do_test where7-2.369.2 {
 8579:   count_steps_sort {
 8580:      SELECT a FROM t3
 8581:       WHERE b=858
 8582:          OR c=9009
 8583:          OR b=792
 8584:          OR b=88
 8585:          OR b=154
 8586:   }
 8587: } {8 14 25 26 27 72 78 scan 0 sort 0}
 8588: do_test where7-2.370.1 {
 8589:   count_steps_sort {
 8590:      SELECT a FROM t2
 8591:       WHERE f IS NULL
 8592:          OR a=37
 8593:          OR (g='onmlkji' AND f GLOB 'wxyza*')
 8594:          OR ((a BETWEEN 55 AND 57) AND a!=56)
 8595:          OR b=168
 8596:          OR b=22
 8597:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
 8598:          OR b=506
 8599:   }
 8600: } {2 21 37 46 48 55 57 scan 0 sort 0}
 8601: do_test where7-2.370.2 {
 8602:   count_steps_sort {
 8603:      SELECT a FROM t3
 8604:       WHERE f IS NULL
 8605:          OR a=37
 8606:          OR (g='onmlkji' AND f GLOB 'wxyza*')
 8607:          OR ((a BETWEEN 55 AND 57) AND a!=56)
 8608:          OR b=168
 8609:          OR b=22
 8610:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
 8611:          OR b=506
 8612:   }
 8613: } {2 21 37 46 48 55 57 scan 0 sort 0}
 8614: do_test where7-2.371.1 {
 8615:   count_steps_sort {
 8616:      SELECT a FROM t2
 8617:       WHERE a=29
 8618:          OR ((a BETWEEN 26 AND 28) AND a!=27)
 8619:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
 8620:          OR (g='qponmlk' AND f GLOB 'qrstu*')
 8621:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 8622:          OR b=209
 8623:          OR (f GLOB '?abcd*' AND f GLOB 'zabc*')
 8624:          OR b=146
 8625:   }
 8626: } {19 25 26 28 29 42 45 51 69 71 77 97 scan 0 sort 0}
 8627: do_test where7-2.371.2 {
 8628:   count_steps_sort {
 8629:      SELECT a FROM t3
 8630:       WHERE a=29
 8631:          OR ((a BETWEEN 26 AND 28) AND a!=27)
 8632:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
 8633:          OR (g='qponmlk' AND f GLOB 'qrstu*')
 8634:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
 8635:          OR b=209
 8636:          OR (f GLOB '?abcd*' AND f GLOB 'zabc*')
 8637:          OR b=146
 8638:   }
 8639: } {19 25 26 28 29 42 45 51 69 71 77 97 scan 0 sort 0}
 8640: do_test where7-2.372.1 {
 8641:   count_steps_sort {
 8642:      SELECT a FROM t2
 8643:       WHERE a=63
 8644:          OR a=69
 8645:          OR b=333
 8646:          OR (d>=6.0 AND d<7.0 AND d NOT NULL)
 8647:          OR b=135
 8648:          OR b=25
 8649:          OR b=1037
 8650:          OR b=682
 8651:          OR c=27027
 8652:          OR a=46
 8653:   }
 8654: } {6 46 62 63 69 79 80 81 scan 0 sort 0}
 8655: do_test where7-2.372.2 {
 8656:   count_steps_sort {
 8657:      SELECT a FROM t3
 8658:       WHERE a=63
 8659:          OR a=69
 8660:          OR b=333
 8661:          OR (d>=6.0 AND d<7.0 AND d NOT NULL)
 8662:          OR b=135
 8663:          OR b=25
 8664:          OR b=1037
 8665:          OR b=682
 8666:          OR c=27027
 8667:          OR a=46
 8668:   }
 8669: } {6 46 62 63 69 79 80 81 scan 0 sort 0}
 8670: do_test where7-2.373.1 {
 8671:   count_steps_sort {
 8672:      SELECT a FROM t2
 8673:       WHERE (g='edcbazy' AND f GLOB 'wxyza*')
 8674:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
 8675:          OR b=113
 8676:          OR ((a BETWEEN 40 AND 42) AND a!=41)
 8677:          OR ((a BETWEEN 53 AND 55) AND a!=54)
 8678:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 8679:   }
 8680: } {40 42 52 53 55 59 61 100 scan 0 sort 0}
 8681: do_test where7-2.373.2 {
 8682:   count_steps_sort {
 8683:      SELECT a FROM t3
 8684:       WHERE (g='edcbazy' AND f GLOB 'wxyza*')
 8685:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
 8686:          OR b=113
 8687:          OR ((a BETWEEN 40 AND 42) AND a!=41)
 8688:          OR ((a BETWEEN 53 AND 55) AND a!=54)
 8689:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 8690:   }
 8691: } {40 42 52 53 55 59 61 100 scan 0 sort 0}
 8692: do_test where7-2.374.1 {
 8693:   count_steps_sort {
 8694:      SELECT a FROM t2
 8695:       WHERE b=1026
 8696:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
 8697:   }
 8698: } {48 scan 0 sort 0}
 8699: do_test where7-2.374.2 {
 8700:   count_steps_sort {
 8701:      SELECT a FROM t3
 8702:       WHERE b=1026
 8703:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
 8704:   }
 8705: } {48 scan 0 sort 0}
 8706: do_test where7-2.375.1 {
 8707:   count_steps_sort {
 8708:      SELECT a FROM t2
 8709:       WHERE (g='rqponml' AND f GLOB 'ijklm*')
 8710:          OR a=99
 8711:          OR a=100
 8712:          OR b=429
 8713:          OR b=682
 8714:          OR b=495
 8715:          OR f='efghijklm'
 8716:          OR a=10
 8717:          OR f='mnopqrstu'
 8718:          OR b=946
 8719:          OR (d>=95.0 AND d<96.0 AND d NOT NULL)
 8720:   }
 8721: } {4 10 12 30 34 38 39 45 56 62 64 82 86 90 95 99 100 scan 0 sort 0}
 8722: do_test where7-2.375.2 {
 8723:   count_steps_sort {
 8724:      SELECT a FROM t3
 8725:       WHERE (g='rqponml' AND f GLOB 'ijklm*')
 8726:          OR a=99
 8727:          OR a=100
 8728:          OR b=429
 8729:          OR b=682
 8730:          OR b=495
 8731:          OR f='efghijklm'
 8732:          OR a=10
 8733:          OR f='mnopqrstu'
 8734:          OR b=946
 8735:          OR (d>=95.0 AND d<96.0 AND d NOT NULL)
 8736:   }
 8737: } {4 10 12 30 34 38 39 45 56 62 64 82 86 90 95 99 100 scan 0 sort 0}
 8738: do_test where7-2.376.1 {
 8739:   count_steps_sort {
 8740:      SELECT a FROM t2
 8741:       WHERE (d>=11.0 AND d<12.0 AND d NOT NULL)
 8742:          OR c=23023
 8743:          OR b=462
 8744:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 8745:   }
 8746: } {11 17 19 42 67 68 69 scan 0 sort 0}
 8747: do_test where7-2.376.2 {
 8748:   count_steps_sort {
 8749:      SELECT a FROM t3
 8750:       WHERE (d>=11.0 AND d<12.0 AND d NOT NULL)
 8751:          OR c=23023
 8752:          OR b=462
 8753:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 8754:   }
 8755: } {11 17 19 42 67 68 69 scan 0 sort 0}
 8756: do_test where7-2.377.1 {
 8757:   count_steps_sort {
 8758:      SELECT a FROM t2
 8759:       WHERE b=539
 8760:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 8761:          OR c=6006
 8762:          OR a=18
 8763:          OR c=24024
 8764:          OR (g='wvutsrq' AND f GLOB 'jklmn*')
 8765:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
 8766:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 8767:          OR c=19019
 8768:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
 8769:          OR ((a BETWEEN 44 AND 46) AND a!=45)
 8770:   }
 8771: } {9 11 16 17 18 38 43 44 46 49 55 56 57 70 71 72 87 scan 0 sort 0}
 8772: do_test where7-2.377.2 {
 8773:   count_steps_sort {
 8774:      SELECT a FROM t3
 8775:       WHERE b=539
 8776:          OR ((a BETWEEN 9 AND 11) AND a!=10)
 8777:          OR c=6006
 8778:          OR a=18
 8779:          OR c=24024
 8780:          OR (g='wvutsrq' AND f GLOB 'jklmn*')
 8781:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
 8782:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 8783:          OR c=19019
 8784:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
 8785:          OR ((a BETWEEN 44 AND 46) AND a!=45)
 8786:   }
 8787: } {9 11 16 17 18 38 43 44 46 49 55 56 57 70 71 72 87 scan 0 sort 0}
 8788: do_test where7-2.378.1 {
 8789:   count_steps_sort {
 8790:      SELECT a FROM t2
 8791:       WHERE (d>=15.0 AND d<16.0 AND d NOT NULL)
 8792:          OR a=20
 8793:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
 8794:          OR b=121
 8795:          OR a=10
 8796:          OR b=792
 8797:   }
 8798: } {10 11 15 20 72 94 scan 0 sort 0}
 8799: do_test where7-2.378.2 {
 8800:   count_steps_sort {
 8801:      SELECT a FROM t3
 8802:       WHERE (d>=15.0 AND d<16.0 AND d NOT NULL)
 8803:          OR a=20
 8804:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
 8805:          OR b=121
 8806:          OR a=10
 8807:          OR b=792
 8808:   }
 8809: } {10 11 15 20 72 94 scan 0 sort 0}
 8810: do_test where7-2.379.1 {
 8811:   count_steps_sort {
 8812:      SELECT a FROM t2
 8813:       WHERE b=99
 8814:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 8815:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
 8816:   }
 8817: } {9 14 40 66 85 87 92 scan 0 sort 0}
 8818: do_test where7-2.379.2 {
 8819:   count_steps_sort {
 8820:      SELECT a FROM t3
 8821:       WHERE b=99
 8822:          OR ((a BETWEEN 85 AND 87) AND a!=86)
 8823:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
 8824:   }
 8825: } {9 14 40 66 85 87 92 scan 0 sort 0}
 8826: do_test where7-2.380.1 {
 8827:   count_steps_sort {
 8828:      SELECT a FROM t2
 8829:       WHERE (f GLOB '?hijk*' AND f GLOB 'ghij*')
 8830:          OR ((a BETWEEN 79 AND 81) AND a!=80)
 8831:          OR b=715
 8832:          OR ((a BETWEEN 23 AND 25) AND a!=24)
 8833:   }
 8834: } {6 23 25 32 58 65 79 81 84 scan 0 sort 0}
 8835: do_test where7-2.380.2 {
 8836:   count_steps_sort {
 8837:      SELECT a FROM t3
 8838:       WHERE (f GLOB '?hijk*' AND f GLOB 'ghij*')
 8839:          OR ((a BETWEEN 79 AND 81) AND a!=80)
 8840:          OR b=715
 8841:          OR ((a BETWEEN 23 AND 25) AND a!=24)
 8842:   }
 8843: } {6 23 25 32 58 65 79 81 84 scan 0 sort 0}
 8844: do_test where7-2.381.1 {
 8845:   count_steps_sort {
 8846:      SELECT a FROM t2
 8847:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
 8848:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
 8849:          OR a=46
 8850:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 8851:   }
 8852: } {28 46 97 scan 0 sort 0}
 8853: do_test where7-2.381.2 {
 8854:   count_steps_sort {
 8855:      SELECT a FROM t3
 8856:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
 8857:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
 8858:          OR a=46
 8859:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 8860:   }
 8861: } {28 46 97 scan 0 sort 0}
 8862: do_test where7-2.382.1 {
 8863:   count_steps_sort {
 8864:      SELECT a FROM t2
 8865:       WHERE (g='ihgfedc' AND f GLOB 'defgh*')
 8866:          OR ((a BETWEEN 97 AND 99) AND a!=98)
 8867:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
 8868:          OR b=1056
 8869:          OR b=146
 8870:   }
 8871: } {18 81 96 97 99 scan 0 sort 0}
 8872: do_test where7-2.382.2 {
 8873:   count_steps_sort {
 8874:      SELECT a FROM t3
 8875:       WHERE (g='ihgfedc' AND f GLOB 'defgh*')
 8876:          OR ((a BETWEEN 97 AND 99) AND a!=98)
 8877:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
 8878:          OR b=1056
 8879:          OR b=146
 8880:   }
 8881: } {18 81 96 97 99 scan 0 sort 0}
 8882: do_test where7-2.383.1 {
 8883:   count_steps_sort {
 8884:      SELECT a FROM t2
 8885:       WHERE a=15
 8886:          OR b=388
 8887:          OR ((a BETWEEN 82 AND 84) AND a!=83)
 8888:          OR a=36
 8889:          OR b=737
 8890:          OR ((a BETWEEN 21 AND 23) AND a!=22)
 8891:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 8892:          OR a=75
 8893:   }
 8894: } {15 21 23 36 67 75 82 84 89 scan 0 sort 0}
 8895: do_test where7-2.383.2 {
 8896:   count_steps_sort {
 8897:      SELECT a FROM t3
 8898:       WHERE a=15
 8899:          OR b=388
 8900:          OR ((a BETWEEN 82 AND 84) AND a!=83)
 8901:          OR a=36
 8902:          OR b=737
 8903:          OR ((a BETWEEN 21 AND 23) AND a!=22)
 8904:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 8905:          OR a=75
 8906:   }
 8907: } {15 21 23 36 67 75 82 84 89 scan 0 sort 0}
 8908: do_test where7-2.384.1 {
 8909:   count_steps_sort {
 8910:      SELECT a FROM t2
 8911:       WHERE c=9009
 8912:          OR a=34
 8913:          OR (d>=95.0 AND d<96.0 AND d NOT NULL)
 8914:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
 8915:          OR b=715
 8916:          OR b=619
 8917:          OR ((a BETWEEN 98 AND 100) AND a!=99)
 8918:   }
 8919: } {16 25 26 27 34 65 95 98 100 scan 0 sort 0}
 8920: do_test where7-2.384.2 {
 8921:   count_steps_sort {
 8922:      SELECT a FROM t3
 8923:       WHERE c=9009
 8924:          OR a=34
 8925:          OR (d>=95.0 AND d<96.0 AND d NOT NULL)
 8926:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
 8927:          OR b=715
 8928:          OR b=619
 8929:          OR ((a BETWEEN 98 AND 100) AND a!=99)
 8930:   }
 8931: } {16 25 26 27 34 65 95 98 100 scan 0 sort 0}
 8932: do_test where7-2.385.1 {
 8933:   count_steps_sort {
 8934:      SELECT a FROM t2
 8935:       WHERE (d>=61.0 AND d<62.0 AND d NOT NULL)
 8936:          OR ((a BETWEEN 11 AND 13) AND a!=12)
 8937:          OR ((a BETWEEN 74 AND 76) AND a!=75)
 8938:          OR ((a BETWEEN 39 AND 41) AND a!=40)
 8939:          OR b=242
 8940:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 8941:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 8942:          OR b=300
 8943:          OR ((a BETWEEN 24 AND 26) AND a!=25)
 8944:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
 8945:          OR ((a BETWEEN 93 AND 95) AND a!=94)
 8946:   }
 8947: } {1 11 13 21 22 24 26 27 32 34 39 41 53 61 74 76 79 93 95 scan 0 sort 0}
 8948: do_test where7-2.385.2 {
 8949:   count_steps_sort {
 8950:      SELECT a FROM t3
 8951:       WHERE (d>=61.0 AND d<62.0 AND d NOT NULL)
 8952:          OR ((a BETWEEN 11 AND 13) AND a!=12)
 8953:          OR ((a BETWEEN 74 AND 76) AND a!=75)
 8954:          OR ((a BETWEEN 39 AND 41) AND a!=40)
 8955:          OR b=242
 8956:          OR ((a BETWEEN 32 AND 34) AND a!=33)
 8957:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 8958:          OR b=300
 8959:          OR ((a BETWEEN 24 AND 26) AND a!=25)
 8960:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
 8961:          OR ((a BETWEEN 93 AND 95) AND a!=94)
 8962:   }
 8963: } {1 11 13 21 22 24 26 27 32 34 39 41 53 61 74 76 79 93 95 scan 0 sort 0}
 8964: do_test where7-2.386.1 {
 8965:   count_steps_sort {
 8966:      SELECT a FROM t2
 8967:       WHERE a=85
 8968:          OR (d>=33.0 AND d<34.0 AND d NOT NULL)
 8969:          OR b=212
 8970:          OR ((a BETWEEN 25 AND 27) AND a!=26)
 8971:          OR b=36
 8972:          OR b=231
 8973:          OR b=1048
 8974:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
 8975:          OR ((a BETWEEN 69 AND 71) AND a!=70)
 8976:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 8977:          OR c=19019
 8978:   }
 8979: } {21 25 27 33 43 55 56 57 69 71 85 92 scan 0 sort 0}
 8980: do_test where7-2.386.2 {
 8981:   count_steps_sort {
 8982:      SELECT a FROM t3
 8983:       WHERE a=85
 8984:          OR (d>=33.0 AND d<34.0 AND d NOT NULL)
 8985:          OR b=212
 8986:          OR ((a BETWEEN 25 AND 27) AND a!=26)
 8987:          OR b=36
 8988:          OR b=231
 8989:          OR b=1048
 8990:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
 8991:          OR ((a BETWEEN 69 AND 71) AND a!=70)
 8992:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 8993:          OR c=19019
 8994:   }
 8995: } {21 25 27 33 43 55 56 57 69 71 85 92 scan 0 sort 0}
 8996: do_test where7-2.387.1 {
 8997:   count_steps_sort {
 8998:      SELECT a FROM t2
 8999:       WHERE ((a BETWEEN 28 AND 30) AND a!=29)
 9000:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
 9001:          OR b=1059
 9002:          OR b=630
 9003:   }
 9004: } {8 28 30 scan 0 sort 0}
 9005: do_test where7-2.387.2 {
 9006:   count_steps_sort {
 9007:      SELECT a FROM t3
 9008:       WHERE ((a BETWEEN 28 AND 30) AND a!=29)
 9009:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
 9010:          OR b=1059
 9011:          OR b=630
 9012:   }
 9013: } {8 28 30 scan 0 sort 0}
 9014: do_test where7-2.388.1 {
 9015:   count_steps_sort {
 9016:      SELECT a FROM t2
 9017:       WHERE f='ghijklmno'
 9018:          OR f='nopqrstuv'
 9019:          OR b=297
 9020:   }
 9021: } {6 13 27 32 39 58 65 84 91 scan 0 sort 0}
 9022: do_test where7-2.388.2 {
 9023:   count_steps_sort {
 9024:      SELECT a FROM t3
 9025:       WHERE f='ghijklmno'
 9026:          OR f='nopqrstuv'
 9027:          OR b=297
 9028:   }
 9029: } {6 13 27 32 39 58 65 84 91 scan 0 sort 0}
 9030: do_test where7-2.389.1 {
 9031:   count_steps_sort {
 9032:      SELECT a FROM t2
 9033:       WHERE b=1001
 9034:          OR ((a BETWEEN 87 AND 89) AND a!=88)
 9035:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
 9036:          OR ((a BETWEEN 68 AND 70) AND a!=69)
 9037:          OR a=58
 9038:          OR b=333
 9039:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
 9040:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 9041:          OR b=572
 9042:          OR ((a BETWEEN 50 AND 52) AND a!=51)
 9043:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
 9044:   }
 9045: } {7 15 33 43 49 50 52 58 59 68 70 85 87 89 91 scan 0 sort 0}
 9046: do_test where7-2.389.2 {
 9047:   count_steps_sort {
 9048:      SELECT a FROM t3
 9049:       WHERE b=1001
 9050:          OR ((a BETWEEN 87 AND 89) AND a!=88)
 9051:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
 9052:          OR ((a BETWEEN 68 AND 70) AND a!=69)
 9053:          OR a=58
 9054:          OR b=333
 9055:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
 9056:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 9057:          OR b=572
 9058:          OR ((a BETWEEN 50 AND 52) AND a!=51)
 9059:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
 9060:   }
 9061: } {7 15 33 43 49 50 52 58 59 68 70 85 87 89 91 scan 0 sort 0}
 9062: do_test where7-2.390.1 {
 9063:   count_steps_sort {
 9064:      SELECT a FROM t2
 9065:       WHERE b=1034
 9066:          OR f='lmnopqrst'
 9067:          OR (g='qponmlk' AND f GLOB 'mnopq*')
 9068:   }
 9069: } {11 37 38 63 89 94 scan 0 sort 0}
 9070: do_test where7-2.390.2 {
 9071:   count_steps_sort {
 9072:      SELECT a FROM t3
 9073:       WHERE b=1034
 9074:          OR f='lmnopqrst'
 9075:          OR (g='qponmlk' AND f GLOB 'mnopq*')
 9076:   }
 9077: } {11 37 38 63 89 94 scan 0 sort 0}
 9078: do_test where7-2.391.1 {
 9079:   count_steps_sort {
 9080:      SELECT a FROM t2
 9081:       WHERE c=15015
 9082:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
 9083:          OR (g='mlkjihg' AND f GLOB 'hijkl*')
 9084:          OR b=58
 9085:          OR b=674
 9086:          OR b=979
 9087:   }
 9088: } {43 44 45 59 87 89 scan 0 sort 0}
 9089: do_test where7-2.391.2 {
 9090:   count_steps_sort {
 9091:      SELECT a FROM t3
 9092:       WHERE c=15015
 9093:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
 9094:          OR (g='mlkjihg' AND f GLOB 'hijkl*')
 9095:          OR b=58
 9096:          OR b=674
 9097:          OR b=979
 9098:   }
 9099: } {43 44 45 59 87 89 scan 0 sort 0}
 9100: do_test where7-2.392.1 {
 9101:   count_steps_sort {
 9102:      SELECT a FROM t2
 9103:       WHERE ((a BETWEEN 60 AND 62) AND a!=61)
 9104:          OR b=660
 9105:          OR b=341
 9106:   }
 9107: } {31 60 62 scan 0 sort 0}
 9108: do_test where7-2.392.2 {
 9109:   count_steps_sort {
 9110:      SELECT a FROM t3
 9111:       WHERE ((a BETWEEN 60 AND 62) AND a!=61)
 9112:          OR b=660
 9113:          OR b=341
 9114:   }
 9115: } {31 60 62 scan 0 sort 0}
 9116: do_test where7-2.393.1 {
 9117:   count_steps_sort {
 9118:      SELECT a FROM t2
 9119:       WHERE b=528
 9120:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
 9121:          OR b=630
 9122:          OR a=19
 9123:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
 9124:          OR f='wxyzabcde'
 9125:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 9126:          OR b=377
 9127:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
 9128:          OR a=77
 9129:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
 9130:   }
 9131: } {8 19 22 43 44 48 64 74 77 100 scan 0 sort 0}
 9132: do_test where7-2.393.2 {
 9133:   count_steps_sort {
 9134:      SELECT a FROM t3
 9135:       WHERE b=528
 9136:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
 9137:          OR b=630
 9138:          OR a=19
 9139:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
 9140:          OR f='wxyzabcde'
 9141:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
 9142:          OR b=377
 9143:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
 9144:          OR a=77
 9145:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
 9146:   }
 9147: } {8 19 22 43 44 48 64 74 77 100 scan 0 sort 0}
 9148: do_test where7-2.394.1 {
 9149:   count_steps_sort {
 9150:      SELECT a FROM t2
 9151:       WHERE b=506
 9152:          OR a=70
 9153:   }
 9154: } {46 70 scan 0 sort 0}
 9155: do_test where7-2.394.2 {
 9156:   count_steps_sort {
 9157:      SELECT a FROM t3
 9158:       WHERE b=506
 9159:          OR a=70
 9160:   }
 9161: } {46 70 scan 0 sort 0}
 9162: do_test where7-2.395.1 {
 9163:   count_steps_sort {
 9164:      SELECT a FROM t2
 9165:       WHERE a=64
 9166:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
 9167:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
 9168:          OR (g='srqponm' AND f GLOB 'cdefg*')
 9169:          OR c=14014
 9170:          OR b=586
 9171:          OR c=27027
 9172:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
 9173:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 9174:   }
 9175: } {26 28 40 41 42 52 57 64 74 78 79 80 81 86 scan 0 sort 0}
 9176: do_test where7-2.395.2 {
 9177:   count_steps_sort {
 9178:      SELECT a FROM t3
 9179:       WHERE a=64
 9180:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
 9181:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
 9182:          OR (g='srqponm' AND f GLOB 'cdefg*')
 9183:          OR c=14014
 9184:          OR b=586
 9185:          OR c=27027
 9186:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
 9187:          OR (g='jihgfed' AND f GLOB 'wxyza*')
 9188:   }
 9189: } {26 28 40 41 42 52 57 64 74 78 79 80 81 86 scan 0 sort 0}
 9190: do_test where7-2.396.1 {
 9191:   count_steps_sort {
 9192:      SELECT a FROM t2
 9193:       WHERE a=46
 9194:          OR b=297
 9195:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 9196:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
 9197:          OR b=275
 9198:          OR b=91
 9199:          OR b=1015
 9200:          OR c=12012
 9201:          OR a=23
 9202:          OR b=278
 9203:   }
 9204: } {23 25 27 34 35 36 46 57 59 75 scan 0 sort 0}
 9205: do_test where7-2.396.2 {
 9206:   count_steps_sort {
 9207:      SELECT a FROM t3
 9208:       WHERE a=46
 9209:          OR b=297
 9210:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 9211:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
 9212:          OR b=275
 9213:          OR b=91
 9214:          OR b=1015
 9215:          OR c=12012
 9216:          OR a=23
 9217:          OR b=278
 9218:   }
 9219: } {23 25 27 34 35 36 46 57 59 75 scan 0 sort 0}
 9220: do_test where7-2.397.1 {
 9221:   count_steps_sort {
 9222:      SELECT a FROM t2
 9223:       WHERE (g='kjihgfe' AND f GLOB 'tuvwx*')
 9224:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
 9225:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 9226:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
 9227:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
 9228:          OR a=23
 9229:          OR b=737
 9230:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
 9231:          OR ((a BETWEEN 18 AND 20) AND a!=19)
 9232:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
 9233:          OR ((a BETWEEN 68 AND 70) AND a!=69)
 9234:   }
 9235: } {18 20 23 25 27 61 67 68 69 70 71 98 scan 0 sort 0}
 9236: do_test where7-2.397.2 {
 9237:   count_steps_sort {
 9238:      SELECT a FROM t3
 9239:       WHERE (g='kjihgfe' AND f GLOB 'tuvwx*')
 9240:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
 9241:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 9242:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
 9243:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
 9244:          OR a=23
 9245:          OR b=737
 9246:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
 9247:          OR ((a BETWEEN 18 AND 20) AND a!=19)
 9248:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
 9249:          OR ((a BETWEEN 68 AND 70) AND a!=69)
 9250:   }
 9251: } {18 20 23 25 27 61 67 68 69 70 71 98 scan 0 sort 0}
 9252: do_test where7-2.398.1 {
 9253:   count_steps_sort {
 9254:      SELECT a FROM t2
 9255:       WHERE b=814
 9256:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
 9257:          OR b=377
 9258:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
 9259:   }
 9260: } {71 74 79 scan 0 sort 0}
 9261: do_test where7-2.398.2 {
 9262:   count_steps_sort {
 9263:      SELECT a FROM t3
 9264:       WHERE b=814
 9265:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
 9266:          OR b=377
 9267:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
 9268:   }
 9269: } {71 74 79 scan 0 sort 0}
 9270: do_test where7-2.399.1 {
 9271:   count_steps_sort {
 9272:      SELECT a FROM t2
 9273:       WHERE a=18
 9274:          OR b=1059
 9275:          OR (f GLOB '?abcd*' AND f GLOB 'zabc*')
 9276:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
 9277:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
 9278:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
 9279:          OR b=795
 9280:   }
 9281: } {9 18 25 46 51 53 77 scan 0 sort 0}
 9282: do_test where7-2.399.2 {
 9283:   count_steps_sort {
 9284:      SELECT a FROM t3
 9285:       WHERE a=18
 9286:          OR b=1059
 9287:          OR (f GLOB '?abcd*' AND f GLOB 'zabc*')
 9288:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
 9289:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
 9290:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
 9291:          OR b=795
 9292:   }
 9293: } {9 18 25 46 51 53 77 scan 0 sort 0}
 9294: do_test where7-2.400.1 {
 9295:   count_steps_sort {
 9296:      SELECT a FROM t2
 9297:       WHERE (f GLOB '?mnop*' AND f GLOB 'lmno*')
 9298:          OR a=93
 9299:          OR a=11
 9300:          OR f='nopqrstuv'
 9301:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 9302:          OR ((a BETWEEN 22 AND 24) AND a!=23)
 9303:          OR a=17
 9304:          OR b=366
 9305:   }
 9306: } {11 13 17 22 24 27 37 39 63 65 89 91 93 scan 0 sort 0}
 9307: do_test where7-2.400.2 {
 9308:   count_steps_sort {
 9309:      SELECT a FROM t3
 9310:       WHERE (f GLOB '?mnop*' AND f GLOB 'lmno*')
 9311:          OR a=93
 9312:          OR a=11
 9313:          OR f='nopqrstuv'
 9314:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 9315:          OR ((a BETWEEN 22 AND 24) AND a!=23)
 9316:          OR a=17
 9317:          OR b=366
 9318:   }
 9319: } {11 13 17 22 24 27 37 39 63 65 89 91 93 scan 0 sort 0}
 9320: do_test where7-2.401.1 {
 9321:   count_steps_sort {
 9322:      SELECT a FROM t2
 9323:       WHERE b=685
 9324:          OR a=33
 9325:          OR ((a BETWEEN 40 AND 42) AND a!=41)
 9326:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
 9327:          OR (g='rqponml' AND f GLOB 'lmnop*')
 9328:          OR ((a BETWEEN 39 AND 41) AND a!=40)
 9329:          OR ((a BETWEEN 80 AND 82) AND a!=81)
 9330:          OR b=715
 9331:          OR ((a BETWEEN 93 AND 95) AND a!=94)
 9332:          OR a=6
 9333:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 9334:   }
 9335: } {6 16 33 37 39 40 41 42 59 61 65 80 82 93 95 scan 0 sort 0}
 9336: do_test where7-2.401.2 {
 9337:   count_steps_sort {
 9338:      SELECT a FROM t3
 9339:       WHERE b=685
 9340:          OR a=33
 9341:          OR ((a BETWEEN 40 AND 42) AND a!=41)
 9342:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
 9343:          OR (g='rqponml' AND f GLOB 'lmnop*')
 9344:          OR ((a BETWEEN 39 AND 41) AND a!=40)
 9345:          OR ((a BETWEEN 80 AND 82) AND a!=81)
 9346:          OR b=715
 9347:          OR ((a BETWEEN 93 AND 95) AND a!=94)
 9348:          OR a=6
 9349:          OR ((a BETWEEN 59 AND 61) AND a!=60)
 9350:   }
 9351: } {6 16 33 37 39 40 41 42 59 61 65 80 82 93 95 scan 0 sort 0}
 9352: do_test where7-2.402.1 {
 9353:   count_steps_sort {
 9354:      SELECT a FROM t2
 9355:       WHERE a=89
 9356:          OR b=1037
 9357:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
 9358:   }
 9359: } {60 89 scan 0 sort 0}
 9360: do_test where7-2.402.2 {
 9361:   count_steps_sort {
 9362:      SELECT a FROM t3
 9363:       WHERE a=89
 9364:          OR b=1037
 9365:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
 9366:   }
 9367: } {60 89 scan 0 sort 0}
 9368: do_test where7-2.403.1 {
 9369:   count_steps_sort {
 9370:      SELECT a FROM t2
 9371:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
 9372:          OR ((a BETWEEN 44 AND 46) AND a!=45)
 9373:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 9374:          OR b=663
 9375:          OR b=531
 9376:          OR b=146
 9377:          OR b=102
 9378:          OR ((a BETWEEN 87 AND 89) AND a!=88)
 9379:          OR ((a BETWEEN 87 AND 89) AND a!=88)
 9380:          OR a=26
 9381:   }
 9382: } {26 28 44 46 87 89 97 scan 0 sort 0}
 9383: do_test where7-2.403.2 {
 9384:   count_steps_sort {
 9385:      SELECT a FROM t3
 9386:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
 9387:          OR ((a BETWEEN 44 AND 46) AND a!=45)
 9388:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
 9389:          OR b=663
 9390:          OR b=531
 9391:          OR b=146
 9392:          OR b=102
 9393:          OR ((a BETWEEN 87 AND 89) AND a!=88)
 9394:          OR ((a BETWEEN 87 AND 89) AND a!=88)
 9395:          OR a=26
 9396:   }
 9397: } {26 28 44 46 87 89 97 scan 0 sort 0}
 9398: do_test where7-2.404.1 {
 9399:   count_steps_sort {
 9400:      SELECT a FROM t2
 9401:       WHERE (g='kjihgfe' AND f GLOB 'stuvw*')
 9402:          OR (g='rqponml' AND f GLOB 'jklmn*')
 9403:          OR (g='lkjihgf' AND f GLOB 'mnopq*')
 9404:          OR b=726
 9405:          OR ((a BETWEEN 73 AND 75) AND a!=74)
 9406:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 9407:          OR c=2002
 9408:          OR c=15015
 9409:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
 9410:          OR b=201
 9411:   }
 9412: } {4 5 6 12 35 43 44 45 64 66 70 73 75 scan 0 sort 0}
 9413: do_test where7-2.404.2 {
 9414:   count_steps_sort {
 9415:      SELECT a FROM t3
 9416:       WHERE (g='kjihgfe' AND f GLOB 'stuvw*')
 9417:          OR (g='rqponml' AND f GLOB 'jklmn*')
 9418:          OR (g='lkjihgf' AND f GLOB 'mnopq*')
 9419:          OR b=726
 9420:          OR ((a BETWEEN 73 AND 75) AND a!=74)
 9421:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
 9422:          OR c=2002
 9423:          OR c=15015
 9424:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
 9425:          OR b=201
 9426:   }
 9427: } {4 5 6 12 35 43 44 45 64 66 70 73 75 scan 0 sort 0}
 9428: do_test where7-2.405.1 {
 9429:   count_steps_sort {
 9430:      SELECT a FROM t2
 9431:       WHERE (g='kjihgfe' AND f GLOB 'uvwxy*')
 9432:          OR b=924
 9433:          OR f='lmnopqrst'
 9434:          OR b=1048
 9435:   }
 9436: } {11 37 63 72 84 89 scan 0 sort 0}
 9437: do_test where7-2.405.2 {
 9438:   count_steps_sort {
 9439:      SELECT a FROM t3
 9440:       WHERE (g='kjihgfe' AND f GLOB 'uvwxy*')
 9441:          OR b=924
 9442:          OR f='lmnopqrst'
 9443:          OR b=1048
 9444:   }
 9445: } {11 37 63 72 84 89 scan 0 sort 0}
 9446: do_test where7-2.406.1 {
 9447:   count_steps_sort {
 9448:      SELECT a FROM t2
 9449:       WHERE (d>=63.0 AND d<64.0 AND d NOT NULL)
 9450:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 9451:          OR b=198
 9452:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
 9453:          OR ((a BETWEEN 12 AND 14) AND a!=13)
 9454:          OR ((a BETWEEN 20 AND 22) AND a!=21)
 9455:          OR b=286
 9456:          OR ((a BETWEEN 65 AND 67) AND a!=66)
 9457:   }
 9458: } {12 14 18 20 22 26 58 63 65 67 scan 0 sort 0}
 9459: do_test where7-2.406.2 {
 9460:   count_steps_sort {
 9461:      SELECT a FROM t3
 9462:       WHERE (d>=63.0 AND d<64.0 AND d NOT NULL)
 9463:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
 9464:          OR b=198
 9465:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
 9466:          OR ((a BETWEEN 12 AND 14) AND a!=13)
 9467:          OR ((a BETWEEN 20 AND 22) AND a!=21)
 9468:          OR b=286
 9469:          OR ((a BETWEEN 65 AND 67) AND a!=66)
 9470:   }
 9471: } {12 14 18 20 22 26 58 63 65 67 scan 0 sort 0}
 9472: do_test where7-2.407.1 {
 9473:   count_steps_sort {
 9474:      SELECT a FROM t2
 9475:       WHERE b=242
 9476:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
 9477:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
 9478:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 9479:          OR f='bcdefghij'
 9480:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 9481:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
 9482:          OR a=38
 9483:          OR b=187
 9484:   }
 9485: } {1 17 19 22 27 38 53 57 59 79 88 99 scan 0 sort 0}
 9486: do_test where7-2.407.2 {
 9487:   count_steps_sort {
 9488:      SELECT a FROM t3
 9489:       WHERE b=242
 9490:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
 9491:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
 9492:          OR ((a BETWEEN 57 AND 59) AND a!=58)
 9493:          OR f='bcdefghij'
 9494:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 9495:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
 9496:          OR a=38
 9497:          OR b=187
 9498:   }
 9499: } {1 17 19 22 27 38 53 57 59 79 88 99 scan 0 sort 0}
 9500: do_test where7-2.408.1 {
 9501:   count_steps_sort {
 9502:      SELECT a FROM t2
 9503:       WHERE (d>=10.0 AND d<11.0 AND d NOT NULL)
 9504:          OR b=630
 9505:          OR a=55
 9506:          OR c=26026
 9507:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 9508:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
 9509:   }
 9510: } {10 23 55 68 76 77 78 scan 0 sort 0}
 9511: do_test where7-2.408.2 {
 9512:   count_steps_sort {
 9513:      SELECT a FROM t3
 9514:       WHERE (d>=10.0 AND d<11.0 AND d NOT NULL)
 9515:          OR b=630
 9516:          OR a=55
 9517:          OR c=26026
 9518:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
 9519:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
 9520:   }
 9521: } {10 23 55 68 76 77 78 scan 0 sort 0}
 9522: do_test where7-2.409.1 {
 9523:   count_steps_sort {
 9524:      SELECT a FROM t2
 9525:       WHERE f='uvwxyzabc'
 9526:          OR f='xyzabcdef'
 9527:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
 9528:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
 9529:          OR ((a BETWEEN 51 AND 53) AND a!=52)
 9530:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 9531:          OR b=69
 9532:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 9533:   }
 9534: } {8 20 23 31 34 46 49 51 53 60 70 72 75 79 86 98 scan 0 sort 0}
 9535: do_test where7-2.409.2 {
 9536:   count_steps_sort {
 9537:      SELECT a FROM t3
 9538:       WHERE f='uvwxyzabc'
 9539:          OR f='xyzabcdef'
 9540:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
 9541:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
 9542:          OR ((a BETWEEN 51 AND 53) AND a!=52)
 9543:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
 9544:          OR b=69
 9545:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
 9546:   }
 9547: } {8 20 23 31 34 46 49 51 53 60 70 72 75 79 86 98 scan 0 sort 0}
 9548: do_test where7-2.410.1 {
 9549:   count_steps_sort {
 9550:      SELECT a FROM t2
 9551:       WHERE b=1026
 9552:          OR b=454
 9553:          OR ((a BETWEEN 92 AND 94) AND a!=93)
 9554:          OR b=179
 9555:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
 9556:          OR f='qrstuvwxy'
 9557:   }
 9558: } {16 26 42 52 68 78 92 94 scan 0 sort 0}
 9559: do_test where7-2.410.2 {
 9560:   count_steps_sort {
 9561:      SELECT a FROM t3
 9562:       WHERE b=1026
 9563:          OR b=454
 9564:          OR ((a BETWEEN 92 AND 94) AND a!=93)
 9565:          OR b=179
 9566:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
 9567:          OR f='qrstuvwxy'
 9568:   }
 9569: } {16 26 42 52 68 78 92 94 scan 0 sort 0}
 9570: do_test where7-2.411.1 {
 9571:   count_steps_sort {
 9572:      SELECT a FROM t2
 9573:       WHERE ((a BETWEEN 6 AND 8) AND a!=7)
 9574:          OR b=619
 9575:          OR a=20
 9576:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
 9577:          OR b=946
 9578:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 9579:          OR a=64
 9580:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 9581:          OR b=1001
 9582:          OR b=858
 9583:   }
 9584: } {6 8 13 17 19 20 61 64 78 86 91 scan 0 sort 0}
 9585: do_test where7-2.411.2 {
 9586:   count_steps_sort {
 9587:      SELECT a FROM t3
 9588:       WHERE ((a BETWEEN 6 AND 8) AND a!=7)
 9589:          OR b=619
 9590:          OR a=20
 9591:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
 9592:          OR b=946
 9593:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
 9594:          OR a=64
 9595:          OR ((a BETWEEN 17 AND 19) AND a!=18)
 9596:          OR b=1001
 9597:          OR b=858
 9598:   }
 9599: } {6 8 13 17 19 20 61 64 78 86 91 scan 0 sort 0}
 9600: do_test where7-2.412.1 {
 9601:   count_steps_sort {
 9602:      SELECT a FROM t2
 9603:       WHERE b=902
 9604:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 9605:          OR a=86
 9606:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
 9607:   }
 9608: } {27 82 86 97 scan 0 sort 0}
 9609: do_test where7-2.412.2 {
 9610:   count_steps_sort {
 9611:      SELECT a FROM t3
 9612:       WHERE b=902
 9613:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 9614:          OR a=86
 9615:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
 9616:   }
 9617: } {27 82 86 97 scan 0 sort 0}
 9618: do_test where7-2.413.1 {
 9619:   count_steps_sort {
 9620:      SELECT a FROM t2
 9621:       WHERE (d>=56.0 AND d<57.0 AND d NOT NULL)
 9622:          OR a=32
 9623:          OR (g='qponmlk' AND f GLOB 'mnopq*')
 9624:          OR (g='xwvutsr' AND f GLOB 'efghi*')
 9625:          OR c=32032
 9626:   }
 9627: } {4 32 38 56 94 95 96 scan 0 sort 0}
 9628: do_test where7-2.413.2 {
 9629:   count_steps_sort {
 9630:      SELECT a FROM t3
 9631:       WHERE (d>=56.0 AND d<57.0 AND d NOT NULL)
 9632:          OR a=32
 9633:          OR (g='qponmlk' AND f GLOB 'mnopq*')
 9634:          OR (g='xwvutsr' AND f GLOB 'efghi*')
 9635:          OR c=32032
 9636:   }
 9637: } {4 32 38 56 94 95 96 scan 0 sort 0}
 9638: do_test where7-2.414.1 {
 9639:   count_steps_sort {
 9640:      SELECT a FROM t2
 9641:       WHERE b=168
 9642:          OR c=2002
 9643:          OR b=77
 9644:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 9645:          OR f='qrstuvwxy'
 9646:   }
 9647: } {4 5 6 7 16 27 42 68 94 scan 0 sort 0}
 9648: do_test where7-2.414.2 {
 9649:   count_steps_sort {
 9650:      SELECT a FROM t3
 9651:       WHERE b=168
 9652:          OR c=2002
 9653:          OR b=77
 9654:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
 9655:          OR f='qrstuvwxy'
 9656:   }
 9657: } {4 5 6 7 16 27 42 68 94 scan 0 sort 0}
 9658: do_test where7-2.415.1 {
 9659:   count_steps_sort {
 9660:      SELECT a FROM t2
 9661:       WHERE f='abcdefghi'
 9662:          OR b=506
 9663:   }
 9664: } {26 46 52 78 scan 0 sort 0}
 9665: do_test where7-2.415.2 {
 9666:   count_steps_sort {
 9667:      SELECT a FROM t3
 9668:       WHERE f='abcdefghi'
 9669:          OR b=506
 9670:   }
 9671: } {26 46 52 78 scan 0 sort 0}
 9672: do_test where7-2.416.1 {
 9673:   count_steps_sort {
 9674:      SELECT a FROM t2
 9675:       WHERE b=264
 9676:          OR c=34034
 9677:          OR a=96
 9678:   }
 9679: } {24 96 100 scan 0 sort 0}
 9680: do_test where7-2.416.2 {
 9681:   count_steps_sort {
 9682:      SELECT a FROM t3
 9683:       WHERE b=264
 9684:          OR c=34034
 9685:          OR a=96
 9686:   }
 9687: } {24 96 100 scan 0 sort 0}
 9688: do_test where7-2.417.1 {
 9689:   count_steps_sort {
 9690:      SELECT a FROM t2
 9691:       WHERE (d>=32.0 AND d<33.0 AND d NOT NULL)
 9692:          OR a=27
 9693:          OR ((a BETWEEN 55 AND 57) AND a!=56)
 9694:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
 9695:   }
 9696: } {19 27 32 55 57 scan 0 sort 0}
 9697: do_test where7-2.417.2 {
 9698:   count_steps_sort {
 9699:      SELECT a FROM t3
 9700:       WHERE (d>=32.0 AND d<33.0 AND d NOT NULL)
 9701:          OR a=27
 9702:          OR ((a BETWEEN 55 AND 57) AND a!=56)
 9703:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
 9704:   }
 9705: } {19 27 32 55 57 scan 0 sort 0}
 9706: do_test where7-2.418.1 {
 9707:   count_steps_sort {
 9708:      SELECT a FROM t2
 9709:       WHERE (d>=74.0 AND d<75.0 AND d NOT NULL)
 9710:          OR b=77
 9711:   }
 9712: } {7 74 scan 0 sort 0}
 9713: do_test where7-2.418.2 {
 9714:   count_steps_sort {
 9715:      SELECT a FROM t3
 9716:       WHERE (d>=74.0 AND d<75.0 AND d NOT NULL)
 9717:          OR b=77
 9718:   }
 9719: } {7 74 scan 0 sort 0}
 9720: do_test where7-2.419.1 {
 9721:   count_steps_sort {
 9722:      SELECT a FROM t2
 9723:       WHERE c=27027
 9724:          OR f='vwxyzabcd'
 9725:          OR b=1048
 9726:          OR a=96
 9727:          OR a=99
 9728:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 9729:          OR b=561
 9730:          OR b=352
 9731:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
 9732:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
 9733:          OR a=95
 9734:   }
 9735: } {18 21 32 37 47 51 56 58 73 79 80 81 95 96 99 scan 0 sort 0}
 9736: do_test where7-2.419.2 {
 9737:   count_steps_sort {
 9738:      SELECT a FROM t3
 9739:       WHERE c=27027
 9740:          OR f='vwxyzabcd'
 9741:          OR b=1048
 9742:          OR a=96
 9743:          OR a=99
 9744:          OR ((a BETWEEN 56 AND 58) AND a!=57)
 9745:          OR b=561
 9746:          OR b=352
 9747:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
 9748:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
 9749:          OR a=95
 9750:   }
 9751: } {18 21 32 37 47 51 56 58 73 79 80 81 95 96 99 scan 0 sort 0}
 9752: do_test where7-2.420.1 {
 9753:   count_steps_sort {
 9754:      SELECT a FROM t2
 9755:       WHERE b=275
 9756:          OR ((a BETWEEN 10 AND 12) AND a!=11)
 9757:          OR f='ghijklmno'
 9758:          OR b=619
 9759:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
 9760:          OR ((a BETWEEN 91 AND 93) AND a!=92)
 9761:          OR b=476
 9762:          OR a=83
 9763:          OR ((a BETWEEN 47 AND 49) AND a!=48)
 9764:   }
 9765: } {6 10 12 25 32 47 49 58 83 84 91 93 99 scan 0 sort 0}
 9766: do_test where7-2.420.2 {
 9767:   count_steps_sort {
 9768:      SELECT a FROM t3
 9769:       WHERE b=275
 9770:          OR ((a BETWEEN 10 AND 12) AND a!=11)
 9771:          OR f='ghijklmno'
 9772:          OR b=619
 9773:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
 9774:          OR ((a BETWEEN 91 AND 93) AND a!=92)
 9775:          OR b=476
 9776:          OR a=83
 9777:          OR ((a BETWEEN 47 AND 49) AND a!=48)
 9778:   }
 9779: } {6 10 12 25 32 47 49 58 83 84 91 93 99 scan 0 sort 0}
 9780: do_test where7-2.421.1 {
 9781:   count_steps_sort {
 9782:      SELECT a FROM t2
 9783:       WHERE b=542
 9784:          OR a=17
 9785:          OR f='jklmnopqr'
 9786:          OR ((a BETWEEN 5 AND 7) AND a!=6)
 9787:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
 9788:          OR a=23
 9789:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
 9790:   }
 9791: } {5 7 9 17 23 25 35 39 61 87 scan 0 sort 0}
 9792: do_test where7-2.421.2 {
 9793:   count_steps_sort {
 9794:      SELECT a FROM t3
 9795:       WHERE b=542
 9796:          OR a=17
 9797:          OR f='jklmnopqr'
 9798:          OR ((a BETWEEN 5 AND 7) AND a!=6)
 9799:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
 9800:          OR a=23
 9801:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
 9802:   }
 9803: } {5 7 9 17 23 25 35 39 61 87 scan 0 sort 0}
 9804: do_test where7-2.422.1 {
 9805:   count_steps_sort {
 9806:      SELECT a FROM t2
 9807:       WHERE (d>=74.0 AND d<75.0 AND d NOT NULL)
 9808:          OR b=363
 9809:          OR b=454
 9810:   }
 9811: } {33 74 scan 0 sort 0}
 9812: do_test where7-2.422.2 {
 9813:   count_steps_sort {
 9814:      SELECT a FROM t3
 9815:       WHERE (d>=74.0 AND d<75.0 AND d NOT NULL)
 9816:          OR b=363
 9817:          OR b=454
 9818:   }
 9819: } {33 74 scan 0 sort 0}
 9820: do_test where7-2.423.1 {
 9821:   count_steps_sort {
 9822:      SELECT a FROM t2
 9823:       WHERE b=1059
 9824:          OR (g='jihgfed' AND f GLOB 'yzabc*')
 9825:          OR (g='rqponml' AND f GLOB 'jklmn*')
 9826:          OR b=47
 9827:          OR b=660
 9828:          OR ((a BETWEEN 34 AND 36) AND a!=35)
 9829:          OR a=84
 9830:   }
 9831: } {34 35 36 60 76 84 scan 0 sort 0}
 9832: do_test where7-2.423.2 {
 9833:   count_steps_sort {
 9834:      SELECT a FROM t3
 9835:       WHERE b=1059
 9836:          OR (g='jihgfed' AND f GLOB 'yzabc*')
 9837:          OR (g='rqponml' AND f GLOB 'jklmn*')
 9838:          OR b=47
 9839:          OR b=660
 9840:          OR ((a BETWEEN 34 AND 36) AND a!=35)
 9841:          OR a=84
 9842:   }
 9843: } {34 35 36 60 76 84 scan 0 sort 0}
 9844: do_test where7-2.424.1 {
 9845:   count_steps_sort {
 9846:      SELECT a FROM t2
 9847:       WHERE f='ghijklmno'
 9848:          OR b=1012
 9849:   }
 9850: } {6 32 58 84 92 scan 0 sort 0}
 9851: do_test where7-2.424.2 {
 9852:   count_steps_sort {
 9853:      SELECT a FROM t3
 9854:       WHERE f='ghijklmno'
 9855:          OR b=1012
 9856:   }
 9857: } {6 32 58 84 92 scan 0 sort 0}
 9858: do_test where7-2.425.1 {
 9859:   count_steps_sort {
 9860:      SELECT a FROM t2
 9861:       WHERE b=597
 9862:          OR f='lmnopqrst'
 9863:          OR a=24
 9864:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 9865:          OR ((a BETWEEN 31 AND 33) AND a!=32)
 9866:          OR b=1023
 9867:          OR a=53
 9868:          OR a=78
 9869:          OR f='efghijklm'
 9870:          OR (g='rqponml' AND f GLOB 'lmnop*')
 9871:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
 9872:   }
 9873: } {4 11 24 30 31 33 37 53 56 63 78 82 85 89 93 96 scan 0 sort 0}
 9874: do_test where7-2.425.2 {
 9875:   count_steps_sort {
 9876:      SELECT a FROM t3
 9877:       WHERE b=597
 9878:          OR f='lmnopqrst'
 9879:          OR a=24
 9880:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 9881:          OR ((a BETWEEN 31 AND 33) AND a!=32)
 9882:          OR b=1023
 9883:          OR a=53
 9884:          OR a=78
 9885:          OR f='efghijklm'
 9886:          OR (g='rqponml' AND f GLOB 'lmnop*')
 9887:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
 9888:   }
 9889: } {4 11 24 30 31 33 37 53 56 63 78 82 85 89 93 96 scan 0 sort 0}
 9890: do_test where7-2.426.1 {
 9891:   count_steps_sort {
 9892:      SELECT a FROM t2
 9893:       WHERE b=198
 9894:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
 9895:          OR b=388
 9896:   }
 9897: } {18 94 scan 0 sort 0}
 9898: do_test where7-2.426.2 {
 9899:   count_steps_sort {
 9900:      SELECT a FROM t3
 9901:       WHERE b=198
 9902:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
 9903:          OR b=388
 9904:   }
 9905: } {18 94 scan 0 sort 0}
 9906: do_test where7-2.427.1 {
 9907:   count_steps_sort {
 9908:      SELECT a FROM t2
 9909:       WHERE f='tuvwxyzab'
 9910:          OR b=388
 9911:          OR ((a BETWEEN 84 AND 86) AND a!=85)
 9912:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 9913:          OR b=957
 9914:          OR b=663
 9915:          OR b=847
 9916:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
 9917:   }
 9918: } {19 45 71 73 77 84 86 87 96 97 scan 0 sort 0}
 9919: do_test where7-2.427.2 {
 9920:   count_steps_sort {
 9921:      SELECT a FROM t3
 9922:       WHERE f='tuvwxyzab'
 9923:          OR b=388
 9924:          OR ((a BETWEEN 84 AND 86) AND a!=85)
 9925:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
 9926:          OR b=957
 9927:          OR b=663
 9928:          OR b=847
 9929:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
 9930:   }
 9931: } {19 45 71 73 77 84 86 87 96 97 scan 0 sort 0}
 9932: do_test where7-2.428.1 {
 9933:   count_steps_sort {
 9934:      SELECT a FROM t2
 9935:       WHERE (d>=81.0 AND d<82.0 AND d NOT NULL)
 9936:          OR a=56
 9937:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
 9938:   }
 9939: } {56 81 84 scan 0 sort 0}
 9940: do_test where7-2.428.2 {
 9941:   count_steps_sort {
 9942:      SELECT a FROM t3
 9943:       WHERE (d>=81.0 AND d<82.0 AND d NOT NULL)
 9944:          OR a=56
 9945:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
 9946:   }
 9947: } {56 81 84 scan 0 sort 0}
 9948: do_test where7-2.429.1 {
 9949:   count_steps_sort {
 9950:      SELECT a FROM t2
 9951:       WHERE c>=34035
 9952:          OR b=168
 9953:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 9954:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 9955:   }
 9956: } {1 27 53 79 89 scan 0 sort 0}
 9957: do_test where7-2.429.2 {
 9958:   count_steps_sort {
 9959:      SELECT a FROM t3
 9960:       WHERE c>=34035
 9961:          OR b=168
 9962:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
 9963:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
 9964:   }
 9965: } {1 27 53 79 89 scan 0 sort 0}
 9966: do_test where7-2.430.1 {
 9967:   count_steps_sort {
 9968:      SELECT a FROM t2
 9969:       WHERE ((a BETWEEN 79 AND 81) AND a!=80)
 9970:          OR b=564
 9971:          OR c=6006
 9972:          OR b=979
 9973:   }
 9974: } {16 17 18 79 81 89 scan 0 sort 0}
 9975: do_test where7-2.430.2 {
 9976:   count_steps_sort {
 9977:      SELECT a FROM t3
 9978:       WHERE ((a BETWEEN 79 AND 81) AND a!=80)
 9979:          OR b=564
 9980:          OR c=6006
 9981:          OR b=979
 9982:   }
 9983: } {16 17 18 79 81 89 scan 0 sort 0}
 9984: do_test where7-2.431.1 {
 9985:   count_steps_sort {
 9986:      SELECT a FROM t2
 9987:       WHERE (d>=29.0 AND d<30.0 AND d NOT NULL)
 9988:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 9989:          OR f='rstuvwxyz'
 9990:          OR (g='qponmlk' AND f GLOB 'nopqr*')
 9991:   }
 9992: } {17 29 39 40 43 69 95 scan 0 sort 0}
 9993: do_test where7-2.431.2 {
 9994:   count_steps_sort {
 9995:      SELECT a FROM t3
 9996:       WHERE (d>=29.0 AND d<30.0 AND d NOT NULL)
 9997:          OR (g='qponmlk' AND f GLOB 'opqrs*')
 9998:          OR f='rstuvwxyz'
 9999:          OR (g='qponmlk' AND f GLOB 'nopqr*')
10000:   }
10001: } {17 29 39 40 43 69 95 scan 0 sort 0}
10002: do_test where7-2.432.1 {
10003:   count_steps_sort {
10004:      SELECT a FROM t2
10005:       WHERE b=58
10006:          OR b=484
10007:          OR (d>=68.0 AND d<69.0 AND d NOT NULL)
10008:          OR b=671
10009:          OR a=69
10010:   }
10011: } {44 61 68 69 scan 0 sort 0}
10012: do_test where7-2.432.2 {
10013:   count_steps_sort {
10014:      SELECT a FROM t3
10015:       WHERE b=58
10016:          OR b=484
10017:          OR (d>=68.0 AND d<69.0 AND d NOT NULL)
10018:          OR b=671
10019:          OR a=69
10020:   }
10021: } {44 61 68 69 scan 0 sort 0}
10022: do_test where7-2.433.1 {
10023:   count_steps_sort {
10024:      SELECT a FROM t2
10025:       WHERE f='mnopqrstu'
10026:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
10027:          OR b=861
10028:          OR b=77
10029:          OR f='qrstuvwxy'
10030:   }
10031: } {7 12 16 38 42 64 68 73 90 94 scan 0 sort 0}
10032: do_test where7-2.433.2 {
10033:   count_steps_sort {
10034:      SELECT a FROM t3
10035:       WHERE f='mnopqrstu'
10036:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
10037:          OR b=861
10038:          OR b=77
10039:          OR f='qrstuvwxy'
10040:   }
10041: } {7 12 16 38 42 64 68 73 90 94 scan 0 sort 0}
10042: do_test where7-2.434.1 {
10043:   count_steps_sort {
10044:      SELECT a FROM t2
10045:       WHERE b=113
10046:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
10047:          OR b=113
10048:          OR (g='xwvutsr' AND f GLOB 'efghi*')
10049:          OR ((a BETWEEN 62 AND 64) AND a!=63)
10050:          OR c=6006
10051:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
10052:          OR b=946
10053:          OR a=86
10054:   }
10055: } {4 14 16 17 18 51 62 64 86 scan 0 sort 0}
10056: do_test where7-2.434.2 {
10057:   count_steps_sort {
10058:      SELECT a FROM t3
10059:       WHERE b=113
10060:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
10061:          OR b=113
10062:          OR (g='xwvutsr' AND f GLOB 'efghi*')
10063:          OR ((a BETWEEN 62 AND 64) AND a!=63)
10064:          OR c=6006
10065:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
10066:          OR b=946
10067:          OR a=86
10068:   }
10069: } {4 14 16 17 18 51 62 64 86 scan 0 sort 0}
10070: do_test where7-2.435.1 {
10071:   count_steps_sort {
10072:      SELECT a FROM t2
10073:       WHERE (g='hgfedcb' AND f GLOB 'hijkl*')
10074:          OR ((a BETWEEN 8 AND 10) AND a!=9)
10075:          OR c=22022
10076:          OR ((a BETWEEN 79 AND 81) AND a!=80)
10077:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
10078:          OR c=25025
10079:   }
10080: } {8 10 64 65 66 73 74 75 79 81 85 scan 0 sort 0}
10081: do_test where7-2.435.2 {
10082:   count_steps_sort {
10083:      SELECT a FROM t3
10084:       WHERE (g='hgfedcb' AND f GLOB 'hijkl*')
10085:          OR ((a BETWEEN 8 AND 10) AND a!=9)
10086:          OR c=22022
10087:          OR ((a BETWEEN 79 AND 81) AND a!=80)
10088:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
10089:          OR c=25025
10090:   }
10091: } {8 10 64 65 66 73 74 75 79 81 85 scan 0 sort 0}
10092: do_test where7-2.436.1 {
10093:   count_steps_sort {
10094:      SELECT a FROM t2
10095:       WHERE ((a BETWEEN 74 AND 76) AND a!=75)
10096:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
10097:          OR b=47
10098:          OR ((a BETWEEN 44 AND 46) AND a!=45)
10099:          OR a=92
10100:          OR b=795
10101:          OR b=25
10102:          OR c=7007
10103:          OR a=93
10104:          OR ((a BETWEEN 93 AND 95) AND a!=94)
10105:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
10106:   }
10107: } {14 18 19 20 21 40 44 46 66 74 76 92 93 95 scan 0 sort 0}
10108: do_test where7-2.436.2 {
10109:   count_steps_sort {
10110:      SELECT a FROM t3
10111:       WHERE ((a BETWEEN 74 AND 76) AND a!=75)
10112:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
10113:          OR b=47
10114:          OR ((a BETWEEN 44 AND 46) AND a!=45)
10115:          OR a=92
10116:          OR b=795
10117:          OR b=25
10118:          OR c=7007
10119:          OR a=93
10120:          OR ((a BETWEEN 93 AND 95) AND a!=94)
10121:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
10122:   }
10123: } {14 18 19 20 21 40 44 46 66 74 76 92 93 95 scan 0 sort 0}
10124: do_test where7-2.437.1 {
10125:   count_steps_sort {
10126:      SELECT a FROM t2
10127:       WHERE (g='kjihgfe' AND f GLOB 'uvwxy*')
10128:          OR a=13
10129:          OR (g='fedcbaz' AND f GLOB 'qrstu*')
10130:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
10131:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
10132:          OR c=29029
10133:          OR b=311
10134:          OR b=366
10135:          OR a=94
10136:          OR a=72
10137:   }
10138: } {6 13 66 72 85 86 87 94 scan 0 sort 0}
10139: do_test where7-2.437.2 {
10140:   count_steps_sort {
10141:      SELECT a FROM t3
10142:       WHERE (g='kjihgfe' AND f GLOB 'uvwxy*')
10143:          OR a=13
10144:          OR (g='fedcbaz' AND f GLOB 'qrstu*')
10145:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
10146:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
10147:          OR c=29029
10148:          OR b=311
10149:          OR b=366
10150:          OR a=94
10151:          OR a=72
10152:   }
10153: } {6 13 66 72 85 86 87 94 scan 0 sort 0}
10154: do_test where7-2.438.1 {
10155:   count_steps_sort {
10156:      SELECT a FROM t2
10157:       WHERE c=26026
10158:          OR a=96
10159:          OR a=22
10160:          OR b=341
10161:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
10162:          OR b=872
10163:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
10164:          OR ((a BETWEEN 25 AND 27) AND a!=26)
10165:   }
10166: } {2 22 25 27 31 76 77 78 96 scan 0 sort 0}
10167: do_test where7-2.438.2 {
10168:   count_steps_sort {
10169:      SELECT a FROM t3
10170:       WHERE c=26026
10171:          OR a=96
10172:          OR a=22
10173:          OR b=341
10174:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
10175:          OR b=872
10176:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
10177:          OR ((a BETWEEN 25 AND 27) AND a!=26)
10178:   }
10179: } {2 22 25 27 31 76 77 78 96 scan 0 sort 0}
10180: do_test where7-2.439.1 {
10181:   count_steps_sort {
10182:      SELECT a FROM t2
10183:       WHERE (d>=82.0 AND d<83.0 AND d NOT NULL)
10184:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
10185:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
10186:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
10187:          OR ((a BETWEEN 63 AND 65) AND a!=64)
10188:          OR a=41
10189:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
10190:          OR (g='onmlkji' AND f GLOB 'zabcd*')
10191:          OR b=913
10192:   }
10193: } {6 23 36 41 51 63 65 82 83 scan 0 sort 0}
10194: do_test where7-2.439.2 {
10195:   count_steps_sort {
10196:      SELECT a FROM t3
10197:       WHERE (d>=82.0 AND d<83.0 AND d NOT NULL)
10198:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
10199:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
10200:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
10201:          OR ((a BETWEEN 63 AND 65) AND a!=64)
10202:          OR a=41
10203:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
10204:          OR (g='onmlkji' AND f GLOB 'zabcd*')
10205:          OR b=913
10206:   }
10207: } {6 23 36 41 51 63 65 82 83 scan 0 sort 0}
10208: do_test where7-2.440.1 {
10209:   count_steps_sort {
10210:      SELECT a FROM t2
10211:       WHERE ((a BETWEEN 42 AND 44) AND a!=43)
10212:          OR a=90
10213:   }
10214: } {42 44 90 scan 0 sort 0}
10215: do_test where7-2.440.2 {
10216:   count_steps_sort {
10217:      SELECT a FROM t3
10218:       WHERE ((a BETWEEN 42 AND 44) AND a!=43)
10219:          OR a=90
10220:   }
10221: } {42 44 90 scan 0 sort 0}
10222: do_test where7-2.441.1 {
10223:   count_steps_sort {
10224:      SELECT a FROM t2
10225:       WHERE (d>=44.0 AND d<45.0 AND d NOT NULL)
10226:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
10227:          OR b=484
10228:   }
10229: } {21 44 scan 0 sort 0}
10230: do_test where7-2.441.2 {
10231:   count_steps_sort {
10232:      SELECT a FROM t3
10233:       WHERE (d>=44.0 AND d<45.0 AND d NOT NULL)
10234:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
10235:          OR b=484
10236:   }
10237: } {21 44 scan 0 sort 0}
10238: do_test where7-2.442.1 {
10239:   count_steps_sort {
10240:      SELECT a FROM t2
10241:       WHERE (d>=22.0 AND d<23.0 AND d NOT NULL)
10242:          OR b=377
10243:          OR b=363
10244:          OR ((a BETWEEN 55 AND 57) AND a!=56)
10245:          OR b=737
10246:          OR (d>=100.0 AND d<101.0 AND d NOT NULL)
10247:          OR b=506
10248:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
10249:          OR a=16
10250:   }
10251: } {16 22 25 33 46 55 57 67 100 scan 0 sort 0}
10252: do_test where7-2.442.2 {
10253:   count_steps_sort {
10254:      SELECT a FROM t3
10255:       WHERE (d>=22.0 AND d<23.0 AND d NOT NULL)
10256:          OR b=377
10257:          OR b=363
10258:          OR ((a BETWEEN 55 AND 57) AND a!=56)
10259:          OR b=737
10260:          OR (d>=100.0 AND d<101.0 AND d NOT NULL)
10261:          OR b=506
10262:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
10263:          OR a=16
10264:   }
10265: } {16 22 25 33 46 55 57 67 100 scan 0 sort 0}
10266: do_test where7-2.443.1 {
10267:   count_steps_sort {
10268:      SELECT a FROM t2
10269:       WHERE (g='jihgfed' AND f GLOB 'zabcd*')
10270:          OR b=102
10271:          OR b=212
10272:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
10273:          OR b=487
10274:          OR (g='ihgfedc' AND f GLOB 'efghi*')
10275:   }
10276: } {37 77 82 scan 0 sort 0}
10277: do_test where7-2.443.2 {
10278:   count_steps_sort {
10279:      SELECT a FROM t3
10280:       WHERE (g='jihgfed' AND f GLOB 'zabcd*')
10281:          OR b=102
10282:          OR b=212
10283:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
10284:          OR b=487
10285:          OR (g='ihgfedc' AND f GLOB 'efghi*')
10286:   }
10287: } {37 77 82 scan 0 sort 0}
10288: do_test where7-2.444.1 {
10289:   count_steps_sort {
10290:      SELECT a FROM t2
10291:       WHERE b=154
10292:          OR a=51
10293:          OR b=520
10294:   }
10295: } {14 51 scan 0 sort 0}
10296: do_test where7-2.444.2 {
10297:   count_steps_sort {
10298:      SELECT a FROM t3
10299:       WHERE b=154
10300:          OR a=51
10301:          OR b=520
10302:   }
10303: } {14 51 scan 0 sort 0}
10304: do_test where7-2.445.1 {
10305:   count_steps_sort {
10306:      SELECT a FROM t2
10307:       WHERE b=872
10308:          OR ((a BETWEEN 58 AND 60) AND a!=59)
10309:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
10310:          OR b=957
10311:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
10312:          OR a=67
10313:          OR a=72
10314:   }
10315: } {21 42 47 58 60 67 72 73 87 99 scan 0 sort 0}
10316: do_test where7-2.445.2 {
10317:   count_steps_sort {
10318:      SELECT a FROM t3
10319:       WHERE b=872
10320:          OR ((a BETWEEN 58 AND 60) AND a!=59)
10321:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
10322:          OR b=957
10323:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
10324:          OR a=67
10325:          OR a=72
10326:   }
10327: } {21 42 47 58 60 67 72 73 87 99 scan 0 sort 0}
10328: do_test where7-2.446.1 {
10329:   count_steps_sort {
10330:      SELECT a FROM t2
10331:       WHERE b=66
10332:          OR b=102
10333:          OR b=396
10334:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
10335:          OR ((a BETWEEN 7 AND 9) AND a!=8)
10336:          OR b=759
10337:          OR (g='edcbazy' AND f GLOB 'wxyza*')
10338:          OR f='ghijklmno'
10339:          OR (g='edcbazy' AND f GLOB 'wxyza*')
10340:          OR ((a BETWEEN 90 AND 92) AND a!=91)
10341:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
10342:   }
10343: } {6 7 9 14 32 36 58 69 84 90 92 97 100 scan 0 sort 0}
10344: do_test where7-2.446.2 {
10345:   count_steps_sort {
10346:      SELECT a FROM t3
10347:       WHERE b=66
10348:          OR b=102
10349:          OR b=396
10350:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
10351:          OR ((a BETWEEN 7 AND 9) AND a!=8)
10352:          OR b=759
10353:          OR (g='edcbazy' AND f GLOB 'wxyza*')
10354:          OR f='ghijklmno'
10355:          OR (g='edcbazy' AND f GLOB 'wxyza*')
10356:          OR ((a BETWEEN 90 AND 92) AND a!=91)
10357:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
10358:   }
10359: } {6 7 9 14 32 36 58 69 84 90 92 97 100 scan 0 sort 0}
10360: do_test where7-2.447.1 {
10361:   count_steps_sort {
10362:      SELECT a FROM t2
10363:       WHERE ((a BETWEEN 69 AND 71) AND a!=70)
10364:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
10365:          OR (g='onmlkji' AND f GLOB 'wxyza*')
10366:          OR a=72
10367:          OR b=1100
10368:          OR b=102
10369:          OR b=135
10370:   }
10371: } {24 48 50 69 71 72 76 100 scan 0 sort 0}
10372: do_test where7-2.447.2 {
10373:   count_steps_sort {
10374:      SELECT a FROM t3
10375:       WHERE ((a BETWEEN 69 AND 71) AND a!=70)
10376:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
10377:          OR (g='onmlkji' AND f GLOB 'wxyza*')
10378:          OR a=72
10379:          OR b=1100
10380:          OR b=102
10381:          OR b=135
10382:   }
10383: } {24 48 50 69 71 72 76 100 scan 0 sort 0}
10384: do_test where7-2.448.1 {
10385:   count_steps_sort {
10386:      SELECT a FROM t2
10387:       WHERE b=99
10388:          OR a=76
10389:   }
10390: } {9 76 scan 0 sort 0}
10391: do_test where7-2.448.2 {
10392:   count_steps_sort {
10393:      SELECT a FROM t3
10394:       WHERE b=99
10395:          OR a=76
10396:   }
10397: } {9 76 scan 0 sort 0}
10398: do_test where7-2.449.1 {
10399:   count_steps_sort {
10400:      SELECT a FROM t2
10401:       WHERE b=891
10402:          OR b=806
10403:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
10404:          OR ((a BETWEEN 85 AND 87) AND a!=86)
10405:          OR b=861
10406:          OR ((a BETWEEN 82 AND 84) AND a!=83)
10407:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
10408:   }
10409: } {19 34 81 82 84 85 87 scan 0 sort 0}
10410: do_test where7-2.449.2 {
10411:   count_steps_sort {
10412:      SELECT a FROM t3
10413:       WHERE b=891
10414:          OR b=806
10415:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
10416:          OR ((a BETWEEN 85 AND 87) AND a!=86)
10417:          OR b=861
10418:          OR ((a BETWEEN 82 AND 84) AND a!=83)
10419:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
10420:   }
10421: } {19 34 81 82 84 85 87 scan 0 sort 0}
10422: do_test where7-2.450.1 {
10423:   count_steps_sort {
10424:      SELECT a FROM t2
10425:       WHERE b=1034
10426:          OR b=91
10427:   }
10428: } {94 scan 0 sort 0}
10429: do_test where7-2.450.2 {
10430:   count_steps_sort {
10431:      SELECT a FROM t3
10432:       WHERE b=1034
10433:          OR b=91
10434:   }
10435: } {94 scan 0 sort 0}
10436: do_test where7-2.451.1 {
10437:   count_steps_sort {
10438:      SELECT a FROM t2
10439:       WHERE b=47
10440:          OR a=91
10441:          OR d>1e10
10442:          OR (g='srqponm' AND f GLOB 'cdefg*')
10443:   }
10444: } {28 91 scan 0 sort 0}
10445: do_test where7-2.451.2 {
10446:   count_steps_sort {
10447:      SELECT a FROM t3
10448:       WHERE b=47
10449:          OR a=91
10450:          OR d>1e10
10451:          OR (g='srqponm' AND f GLOB 'cdefg*')
10452:   }
10453: } {28 91 scan 0 sort 0}
10454: do_test where7-2.452.1 {
10455:   count_steps_sort {
10456:      SELECT a FROM t2
10457:       WHERE b=1023
10458:          OR f='zabcdefgh'
10459:          OR b=451
10460:          OR b=443
10461:          OR c>=34035
10462:          OR b=58
10463:   }
10464: } {25 41 51 77 93 scan 0 sort 0}
10465: do_test where7-2.452.2 {
10466:   count_steps_sort {
10467:      SELECT a FROM t3
10468:       WHERE b=1023
10469:          OR f='zabcdefgh'
10470:          OR b=451
10471:          OR b=443
10472:          OR c>=34035
10473:          OR b=58
10474:   }
10475: } {25 41 51 77 93 scan 0 sort 0}
10476: do_test where7-2.453.1 {
10477:   count_steps_sort {
10478:      SELECT a FROM t2
10479:       WHERE b=971
10480:          OR b=36
10481:          OR a=11
10482:          OR f='hijklmnop'
10483:   }
10484: } {7 11 33 59 85 scan 0 sort 0}
10485: do_test where7-2.453.2 {
10486:   count_steps_sort {
10487:      SELECT a FROM t3
10488:       WHERE b=971
10489:          OR b=36
10490:          OR a=11
10491:          OR f='hijklmnop'
10492:   }
10493: } {7 11 33 59 85 scan 0 sort 0}
10494: do_test where7-2.454.1 {
10495:   count_steps_sort {
10496:      SELECT a FROM t2
10497:       WHERE (f GLOB '?efgh*' AND f GLOB 'defg*')
10498:          OR b=619
10499:          OR ((a BETWEEN 91 AND 93) AND a!=92)
10500:          OR c=11011
10501:          OR b=550
10502:          OR b=1059
10503:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
10504:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
10505:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
10506:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
10507:          OR b=737
10508:   }
10509: } {3 18 29 31 32 33 50 55 67 78 81 84 91 92 93 scan 0 sort 0}
10510: do_test where7-2.454.2 {
10511:   count_steps_sort {
10512:      SELECT a FROM t3
10513:       WHERE (f GLOB '?efgh*' AND f GLOB 'defg*')
10514:          OR b=619
10515:          OR ((a BETWEEN 91 AND 93) AND a!=92)
10516:          OR c=11011
10517:          OR b=550
10518:          OR b=1059
10519:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
10520:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
10521:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
10522:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
10523:          OR b=737
10524:   }
10525: } {3 18 29 31 32 33 50 55 67 78 81 84 91 92 93 scan 0 sort 0}
10526: do_test where7-2.455.1 {
10527:   count_steps_sort {
10528:      SELECT a FROM t2
10529:       WHERE (g='edcbazy' AND f GLOB 'vwxyz*')
10530:          OR ((a BETWEEN 59 AND 61) AND a!=60)
10531:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
10532:          OR a=78
10533:          OR a=27
10534:          OR b=792
10535:          OR b=946
10536:          OR c=22022
10537:          OR a=23
10538:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
10539:          OR b=388
10540:   }
10541: } {13 23 27 39 59 61 64 65 66 72 78 80 86 91 99 scan 0 sort 0}
10542: do_test where7-2.455.2 {
10543:   count_steps_sort {
10544:      SELECT a FROM t3
10545:       WHERE (g='edcbazy' AND f GLOB 'vwxyz*')
10546:          OR ((a BETWEEN 59 AND 61) AND a!=60)
10547:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
10548:          OR a=78
10549:          OR a=27
10550:          OR b=792
10551:          OR b=946
10552:          OR c=22022
10553:          OR a=23
10554:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
10555:          OR b=388
10556:   }
10557: } {13 23 27 39 59 61 64 65 66 72 78 80 86 91 99 scan 0 sort 0}
10558: do_test where7-2.456.1 {
10559:   count_steps_sort {
10560:      SELECT a FROM t2
10561:       WHERE c=32032
10562:          OR f IS NULL
10563:          OR ((a BETWEEN 37 AND 39) AND a!=38)
10564:          OR (g='jihgfed' AND f GLOB 'wxyza*')
10565:          OR (g='xwvutsr' AND f GLOB 'efghi*')
10566:          OR b=825
10567:   }
10568: } {4 37 39 74 75 94 95 96 scan 0 sort 0}
10569: do_test where7-2.456.2 {
10570:   count_steps_sort {
10571:      SELECT a FROM t3
10572:       WHERE c=32032
10573:          OR f IS NULL
10574:          OR ((a BETWEEN 37 AND 39) AND a!=38)
10575:          OR (g='jihgfed' AND f GLOB 'wxyza*')
10576:          OR (g='xwvutsr' AND f GLOB 'efghi*')
10577:          OR b=825
10578:   }
10579: } {4 37 39 74 75 94 95 96 scan 0 sort 0}
10580: do_test where7-2.457.1 {
10581:   count_steps_sort {
10582:      SELECT a FROM t2
10583:       WHERE (d>=84.0 AND d<85.0 AND d NOT NULL)
10584:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
10585:          OR ((a BETWEEN 5 AND 7) AND a!=6)
10586:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
10587:          OR b=1078
10588:          OR b=198
10589:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
10590:          OR b=55
10591:          OR b=517
10592:          OR b=740
10593:   }
10594: } {5 7 18 21 47 54 67 73 84 98 99 scan 0 sort 0}
10595: do_test where7-2.457.2 {
10596:   count_steps_sort {
10597:      SELECT a FROM t3
10598:       WHERE (d>=84.0 AND d<85.0 AND d NOT NULL)
10599:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
10600:          OR ((a BETWEEN 5 AND 7) AND a!=6)
10601:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
10602:          OR b=1078
10603:          OR b=198
10604:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
10605:          OR b=55
10606:          OR b=517
10607:          OR b=740
10608:   }
10609: } {5 7 18 21 47 54 67 73 84 98 99 scan 0 sort 0}
10610: do_test where7-2.458.1 {
10611:   count_steps_sort {
10612:      SELECT a FROM t2
10613:       WHERE (g='wvutsrq' AND f GLOB 'ijklm*')
10614:          OR c=25025
10615:          OR b=550
10616:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
10617:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
10618:   }
10619: } {8 22 50 53 73 74 75 scan 0 sort 0}
10620: do_test where7-2.458.2 {
10621:   count_steps_sort {
10622:      SELECT a FROM t3
10623:       WHERE (g='wvutsrq' AND f GLOB 'ijklm*')
10624:          OR c=25025
10625:          OR b=550
10626:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
10627:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
10628:   }
10629: } {8 22 50 53 73 74 75 scan 0 sort 0}
10630: do_test where7-2.459.1 {
10631:   count_steps_sort {
10632:      SELECT a FROM t2
10633:       WHERE b=432
10634:          OR f='opqrstuvw'
10635:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
10636:   }
10637: } {14 40 66 68 92 scan 0 sort 0}
10638: do_test where7-2.459.2 {
10639:   count_steps_sort {
10640:      SELECT a FROM t3
10641:       WHERE b=432
10642:          OR f='opqrstuvw'
10643:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
10644:   }
10645: } {14 40 66 68 92 scan 0 sort 0}
10646: do_test where7-2.460.1 {
10647:   count_steps_sort {
10648:      SELECT a FROM t2
10649:       WHERE ((a BETWEEN 14 AND 16) AND a!=15)
10650:          OR b=847
10651:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
10652:          OR b=583
10653:          OR ((a BETWEEN 63 AND 65) AND a!=64)
10654:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
10655:          OR ((a BETWEEN 40 AND 42) AND a!=41)
10656:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
10657:          OR b=938
10658:   }
10659: } {11 14 16 26 37 40 42 53 63 65 75 77 89 scan 0 sort 0}
10660: do_test where7-2.460.2 {
10661:   count_steps_sort {
10662:      SELECT a FROM t3
10663:       WHERE ((a BETWEEN 14 AND 16) AND a!=15)
10664:          OR b=847
10665:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
10666:          OR b=583
10667:          OR ((a BETWEEN 63 AND 65) AND a!=64)
10668:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
10669:          OR ((a BETWEEN 40 AND 42) AND a!=41)
10670:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
10671:          OR b=938
10672:   }
10673: } {11 14 16 26 37 40 42 53 63 65 75 77 89 scan 0 sort 0}
10674: do_test where7-2.461.1 {
10675:   count_steps_sort {
10676:      SELECT a FROM t2
10677:       WHERE b=671
10678:          OR a=56
10679:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
10680:          OR b=157
10681:          OR a=83
10682:          OR ((a BETWEEN 73 AND 75) AND a!=74)
10683:          OR c=21021
10684:          OR b=319
10685:          OR b=187
10686:          OR ((a BETWEEN 65 AND 67) AND a!=66)
10687:          OR b=839
10688:   }
10689: } {17 29 49 56 61 62 63 65 67 73 75 83 scan 0 sort 0}
10690: do_test where7-2.461.2 {
10691:   count_steps_sort {
10692:      SELECT a FROM t3
10693:       WHERE b=671
10694:          OR a=56
10695:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
10696:          OR b=157
10697:          OR a=83
10698:          OR ((a BETWEEN 73 AND 75) AND a!=74)
10699:          OR c=21021
10700:          OR b=319
10701:          OR b=187
10702:          OR ((a BETWEEN 65 AND 67) AND a!=66)
10703:          OR b=839
10704:   }
10705: } {17 29 49 56 61 62 63 65 67 73 75 83 scan 0 sort 0}
10706: do_test where7-2.462.1 {
10707:   count_steps_sort {
10708:      SELECT a FROM t2
10709:       WHERE (g='kjihgfe' AND f GLOB 'uvwxy*')
10710:          OR b=586
10711:          OR d<0.0
10712:          OR c=9009
10713:   }
10714: } {25 26 27 72 scan 0 sort 0}
10715: do_test where7-2.462.2 {
10716:   count_steps_sort {
10717:      SELECT a FROM t3
10718:       WHERE (g='kjihgfe' AND f GLOB 'uvwxy*')
10719:          OR b=586
10720:          OR d<0.0
10721:          OR c=9009
10722:   }
10723: } {25 26 27 72 scan 0 sort 0}
10724: do_test where7-2.463.1 {
10725:   count_steps_sort {
10726:      SELECT a FROM t2
10727:       WHERE a=82
10728:          OR a=34
10729:          OR f='jklmnopqr'
10730:          OR a=82
10731:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
10732:          OR b=454
10733:          OR b=355
10734:          OR c=21021
10735:          OR ((a BETWEEN 63 AND 65) AND a!=64)
10736:          OR a=30
10737:   }
10738: } {9 16 30 34 35 61 62 63 65 82 87 scan 0 sort 0}
10739: do_test where7-2.463.2 {
10740:   count_steps_sort {
10741:      SELECT a FROM t3
10742:       WHERE a=82
10743:          OR a=34
10744:          OR f='jklmnopqr'
10745:          OR a=82
10746:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
10747:          OR b=454
10748:          OR b=355
10749:          OR c=21021
10750:          OR ((a BETWEEN 63 AND 65) AND a!=64)
10751:          OR a=30
10752:   }
10753: } {9 16 30 34 35 61 62 63 65 82 87 scan 0 sort 0}
10754: do_test where7-2.464.1 {
10755:   count_steps_sort {
10756:      SELECT a FROM t2
10757:       WHERE ((a BETWEEN 44 AND 46) AND a!=45)
10758:          OR a=53
10759:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
10760:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
10761:          OR b=594
10762:          OR b=80
10763:          OR ((a BETWEEN 18 AND 20) AND a!=19)
10764:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
10765:          OR d>1e10
10766:   }
10767: } {18 20 23 44 46 49 53 54 scan 0 sort 0}
10768: do_test where7-2.464.2 {
10769:   count_steps_sort {
10770:      SELECT a FROM t3
10771:       WHERE ((a BETWEEN 44 AND 46) AND a!=45)
10772:          OR a=53
10773:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
10774:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
10775:          OR b=594
10776:          OR b=80
10777:          OR ((a BETWEEN 18 AND 20) AND a!=19)
10778:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
10779:          OR d>1e10
10780:   }
10781: } {18 20 23 44 46 49 53 54 scan 0 sort 0}
10782: do_test where7-2.465.1 {
10783:   count_steps_sort {
10784:      SELECT a FROM t2
10785:       WHERE f='opqrstuvw'
10786:          OR a=7
10787:   }
10788: } {7 14 40 66 92 scan 0 sort 0}
10789: do_test where7-2.465.2 {
10790:   count_steps_sort {
10791:      SELECT a FROM t3
10792:       WHERE f='opqrstuvw'
10793:          OR a=7
10794:   }
10795: } {7 14 40 66 92 scan 0 sort 0}
10796: do_test where7-2.466.1 {
10797:   count_steps_sort {
10798:      SELECT a FROM t2
10799:       WHERE b=627
10800:          OR ((a BETWEEN 75 AND 77) AND a!=76)
10801:          OR ((a BETWEEN 43 AND 45) AND a!=44)
10802:          OR a=90
10803:          OR (d>=33.0 AND d<34.0 AND d NOT NULL)
10804:   }
10805: } {33 43 45 57 75 77 90 scan 0 sort 0}
10806: do_test where7-2.466.2 {
10807:   count_steps_sort {
10808:      SELECT a FROM t3
10809:       WHERE b=627
10810:          OR ((a BETWEEN 75 AND 77) AND a!=76)
10811:          OR ((a BETWEEN 43 AND 45) AND a!=44)
10812:          OR a=90
10813:          OR (d>=33.0 AND d<34.0 AND d NOT NULL)
10814:   }
10815: } {33 43 45 57 75 77 90 scan 0 sort 0}
10816: do_test where7-2.467.1 {
10817:   count_steps_sort {
10818:      SELECT a FROM t2
10819:       WHERE a=59
10820:          OR ((a BETWEEN 69 AND 71) AND a!=70)
10821:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
10822:          OR (g='xwvutsr' AND f GLOB 'fghij*')
10823:          OR f='wxyzabcde'
10824:          OR (f GLOB '?abcd*' AND f GLOB 'zabc*')
10825:          OR a=70
10826:          OR ((a BETWEEN 23 AND 25) AND a!=24)
10827:          OR ((a BETWEEN 14 AND 16) AND a!=15)
10828:   }
10829: } {5 9 14 16 22 23 25 48 51 59 69 70 71 74 77 100 scan 0 sort 0}
10830: do_test where7-2.467.2 {
10831:   count_steps_sort {
10832:      SELECT a FROM t3
10833:       WHERE a=59
10834:          OR ((a BETWEEN 69 AND 71) AND a!=70)
10835:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
10836:          OR (g='xwvutsr' AND f GLOB 'fghij*')
10837:          OR f='wxyzabcde'
10838:          OR (f GLOB '?abcd*' AND f GLOB 'zabc*')
10839:          OR a=70
10840:          OR ((a BETWEEN 23 AND 25) AND a!=24)
10841:          OR ((a BETWEEN 14 AND 16) AND a!=15)
10842:   }
10843: } {5 9 14 16 22 23 25 48 51 59 69 70 71 74 77 100 scan 0 sort 0}
10844: do_test where7-2.468.1 {
10845:   count_steps_sort {
10846:      SELECT a FROM t2
10847:       WHERE a=69
10848:          OR (g='ihgfedc' AND f GLOB 'defgh*')
10849:   }
10850: } {69 81 scan 0 sort 0}
10851: do_test where7-2.468.2 {
10852:   count_steps_sort {
10853:      SELECT a FROM t3
10854:       WHERE a=69
10855:          OR (g='ihgfedc' AND f GLOB 'defgh*')
10856:   }
10857: } {69 81 scan 0 sort 0}
10858: do_test where7-2.469.1 {
10859:   count_steps_sort {
10860:      SELECT a FROM t2
10861:       WHERE a=41
10862:          OR a=43
10863:          OR a=92
10864:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
10865:          OR (g='mlkjihg' AND f GLOB 'klmno*')
10866:   }
10867: } {41 43 62 92 95 scan 0 sort 0}
10868: do_test where7-2.469.2 {
10869:   count_steps_sort {
10870:      SELECT a FROM t3
10871:       WHERE a=41
10872:          OR a=43
10873:          OR a=92
10874:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
10875:          OR (g='mlkjihg' AND f GLOB 'klmno*')
10876:   }
10877: } {41 43 62 92 95 scan 0 sort 0}
10878: do_test where7-2.470.1 {
10879:   count_steps_sort {
10880:      SELECT a FROM t2
10881:       WHERE b=300
10882:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
10883:          OR b=935
10884:          OR b=190
10885:   }
10886: } {52 85 scan 0 sort 0}
10887: do_test where7-2.470.2 {
10888:   count_steps_sort {
10889:      SELECT a FROM t3
10890:       WHERE b=300
10891:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
10892:          OR b=935
10893:          OR b=190
10894:   }
10895: } {52 85 scan 0 sort 0}
10896: do_test where7-2.471.1 {
10897:   count_steps_sort {
10898:      SELECT a FROM t2
10899:       WHERE f='fghijklmn'
10900:          OR f='fghijklmn'
10901:          OR (g='xwvutsr' AND f GLOB 'efghi*')
10902:          OR b=465
10903:          OR b=586
10904:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
10905:          OR b=88
10906:          OR ((a BETWEEN 30 AND 32) AND a!=31)
10907:          OR b=726
10908:          OR ((a BETWEEN 51 AND 53) AND a!=52)
10909:   }
10910: } {4 5 8 20 30 31 32 51 53 57 66 83 scan 0 sort 0}
10911: do_test where7-2.471.2 {
10912:   count_steps_sort {
10913:      SELECT a FROM t3
10914:       WHERE f='fghijklmn'
10915:          OR f='fghijklmn'
10916:          OR (g='xwvutsr' AND f GLOB 'efghi*')
10917:          OR b=465
10918:          OR b=586
10919:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
10920:          OR b=88
10921:          OR ((a BETWEEN 30 AND 32) AND a!=31)
10922:          OR b=726
10923:          OR ((a BETWEEN 51 AND 53) AND a!=52)
10924:   }
10925: } {4 5 8 20 30 31 32 51 53 57 66 83 scan 0 sort 0}
10926: do_test where7-2.472.1 {
10927:   count_steps_sort {
10928:      SELECT a FROM t2
10929:       WHERE (d>=34.0 AND d<35.0 AND d NOT NULL)
10930:          OR (f GLOB '?abcd*' AND f GLOB 'zabc*')
10931:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
10932:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
10933:          OR (g='edcbazy' AND f GLOB 'wxyza*')
10934:          OR b=814
10935:          OR a=20
10936:          OR 1000000<b
10937:          OR b=792
10938:   }
10939: } {20 25 34 51 72 74 77 85 97 100 scan 0 sort 0}
10940: do_test where7-2.472.2 {
10941:   count_steps_sort {
10942:      SELECT a FROM t3
10943:       WHERE (d>=34.0 AND d<35.0 AND d NOT NULL)
10944:          OR (f GLOB '?abcd*' AND f GLOB 'zabc*')
10945:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
10946:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
10947:          OR (g='edcbazy' AND f GLOB 'wxyza*')
10948:          OR b=814
10949:          OR a=20
10950:          OR 1000000<b
10951:          OR b=792
10952:   }
10953: } {20 25 34 51 72 74 77 85 97 100 scan 0 sort 0}
10954: do_test where7-2.473.1 {
10955:   count_steps_sort {
10956:      SELECT a FROM t2
10957:       WHERE (g='kjihgfe' AND f GLOB 'uvwxy*')
10958:          OR ((a BETWEEN 53 AND 55) AND a!=54)
10959:          OR c=1001
10960:          OR b=484
10961:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
10962:          OR c<=10
10963:          OR a=92
10964:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
10965:          OR ((a BETWEEN 0 AND 2) AND a!=1)
10966:          OR b=1026
10967:   }
10968: } {1 2 3 25 44 53 55 65 72 92 scan 0 sort 0}
10969: do_test where7-2.473.2 {
10970:   count_steps_sort {
10971:      SELECT a FROM t3
10972:       WHERE (g='kjihgfe' AND f GLOB 'uvwxy*')
10973:          OR ((a BETWEEN 53 AND 55) AND a!=54)
10974:          OR c=1001
10975:          OR b=484
10976:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
10977:          OR c<=10
10978:          OR a=92
10979:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
10980:          OR ((a BETWEEN 0 AND 2) AND a!=1)
10981:          OR b=1026
10982:   }
10983: } {1 2 3 25 44 53 55 65 72 92 scan 0 sort 0}
10984: do_test where7-2.474.1 {
10985:   count_steps_sort {
10986:      SELECT a FROM t2
10987:       WHERE a=54
10988:          OR (g='xwvutsr' AND f GLOB 'defgh*')
10989:          OR b=993
10990:          OR c=22022
10991:          OR a=68
10992:          OR ((a BETWEEN 99 AND 101) AND a!=100)
10993:          OR a=62
10994:          OR (f GLOB '?efgh*' AND f GLOB 'defg*')
10995:          OR b=1015
10996:   }
10997: } {3 29 54 55 62 64 65 66 68 81 99 scan 0 sort 0}
10998: do_test where7-2.474.2 {
10999:   count_steps_sort {
11000:      SELECT a FROM t3
11001:       WHERE a=54
11002:          OR (g='xwvutsr' AND f GLOB 'defgh*')
11003:          OR b=993
11004:          OR c=22022
11005:          OR a=68
11006:          OR ((a BETWEEN 99 AND 101) AND a!=100)
11007:          OR a=62
11008:          OR (f GLOB '?efgh*' AND f GLOB 'defg*')
11009:          OR b=1015
11010:   }
11011: } {3 29 54 55 62 64 65 66 68 81 99 scan 0 sort 0}
11012: do_test where7-2.475.1 {
11013:   count_steps_sort {
11014:      SELECT a FROM t2
11015:       WHERE b=319
11016:          OR a=50
11017:          OR (g='srqponm' AND f GLOB 'defgh*')
11018:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
11019:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
11020:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
11021:          OR a=96
11022:   }
11023: } {10 29 50 55 92 96 scan 0 sort 0}
11024: do_test where7-2.475.2 {
11025:   count_steps_sort {
11026:      SELECT a FROM t3
11027:       WHERE b=319
11028:          OR a=50
11029:          OR (g='srqponm' AND f GLOB 'defgh*')
11030:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
11031:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
11032:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
11033:          OR a=96
11034:   }
11035: } {10 29 50 55 92 96 scan 0 sort 0}
11036: do_test where7-2.476.1 {
11037:   count_steps_sort {
11038:      SELECT a FROM t2
11039:       WHERE b=971
11040:          OR c=18018
11041:          OR b=564
11042:          OR b=583
11043:          OR b=80
11044:   }
11045: } {52 53 54 scan 0 sort 0}
11046: do_test where7-2.476.2 {
11047:   count_steps_sort {
11048:      SELECT a FROM t3
11049:       WHERE b=971
11050:          OR c=18018
11051:          OR b=564
11052:          OR b=583
11053:          OR b=80
11054:   }
11055: } {52 53 54 scan 0 sort 0}
11056: do_test where7-2.477.1 {
11057:   count_steps_sort {
11058:      SELECT a FROM t2
11059:       WHERE (d>=35.0 AND d<36.0 AND d NOT NULL)
11060:          OR b=1026
11061:          OR ((a BETWEEN 14 AND 16) AND a!=15)
11062:   }
11063: } {14 16 35 scan 0 sort 0}
11064: do_test where7-2.477.2 {
11065:   count_steps_sort {
11066:      SELECT a FROM t3
11067:       WHERE (d>=35.0 AND d<36.0 AND d NOT NULL)
11068:          OR b=1026
11069:          OR ((a BETWEEN 14 AND 16) AND a!=15)
11070:   }
11071: } {14 16 35 scan 0 sort 0}
11072: do_test where7-2.478.1 {
11073:   count_steps_sort {
11074:      SELECT a FROM t2
11075:       WHERE (g='ponmlkj' AND f GLOB 'uvwxy*')
11076:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
11077:          OR b=407
11078:          OR b=454
11079:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
11080:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
11081:          OR b=627
11082:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
11083:   }
11084: } {9 13 34 35 37 39 46 57 61 65 87 91 scan 0 sort 0}
11085: do_test where7-2.478.2 {
11086:   count_steps_sort {
11087:      SELECT a FROM t3
11088:       WHERE (g='ponmlkj' AND f GLOB 'uvwxy*')
11089:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
11090:          OR b=407
11091:          OR b=454
11092:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
11093:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
11094:          OR b=627
11095:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
11096:   }
11097: } {9 13 34 35 37 39 46 57 61 65 87 91 scan 0 sort 0}
11098: do_test where7-2.479.1 {
11099:   count_steps_sort {
11100:      SELECT a FROM t2
11101:       WHERE (d>=79.0 AND d<80.0 AND d NOT NULL)
11102:          OR c=34034
11103:          OR ((a BETWEEN 24 AND 26) AND a!=25)
11104:          OR ((a BETWEEN 18 AND 20) AND a!=19)
11105:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
11106:          OR a=67
11107:   }
11108: } {6 18 20 24 26 32 58 67 79 84 100 scan 0 sort 0}
11109: do_test where7-2.479.2 {
11110:   count_steps_sort {
11111:      SELECT a FROM t3
11112:       WHERE (d>=79.0 AND d<80.0 AND d NOT NULL)
11113:          OR c=34034
11114:          OR ((a BETWEEN 24 AND 26) AND a!=25)
11115:          OR ((a BETWEEN 18 AND 20) AND a!=19)
11116:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
11117:          OR a=67
11118:   }
11119: } {6 18 20 24 26 32 58 67 79 84 100 scan 0 sort 0}
11120: do_test where7-2.480.1 {
11121:   count_steps_sort {
11122:      SELECT a FROM t2
11123:       WHERE a=97
11124:          OR b=575
11125:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
11126:          OR ((a BETWEEN 2 AND 4) AND a!=3)
11127:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
11128:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
11129:   }
11130: } {1 2 4 16 42 68 81 94 97 scan 0 sort 0}
11131: do_test where7-2.480.2 {
11132:   count_steps_sort {
11133:      SELECT a FROM t3
11134:       WHERE a=97
11135:          OR b=575
11136:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
11137:          OR ((a BETWEEN 2 AND 4) AND a!=3)
11138:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
11139:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
11140:   }
11141: } {1 2 4 16 42 68 81 94 97 scan 0 sort 0}
11142: do_test where7-2.481.1 {
11143:   count_steps_sort {
11144:      SELECT a FROM t2
11145:       WHERE b=561
11146:          OR b=773
11147:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
11148:          OR b=201
11149:          OR a=99
11150:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
11151:          OR ((a BETWEEN 36 AND 38) AND a!=37)
11152:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
11153:          OR b=946
11154:          OR b=993
11155:          OR (g='fedcbaz' AND f GLOB 'qrstu*')
11156:   }
11157: } {19 23 36 38 46 51 86 94 99 scan 0 sort 0}
11158: do_test where7-2.481.2 {
11159:   count_steps_sort {
11160:      SELECT a FROM t3
11161:       WHERE b=561
11162:          OR b=773
11163:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
11164:          OR b=201
11165:          OR a=99
11166:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
11167:          OR ((a BETWEEN 36 AND 38) AND a!=37)
11168:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
11169:          OR b=946
11170:          OR b=993
11171:          OR (g='fedcbaz' AND f GLOB 'qrstu*')
11172:   }
11173: } {19 23 36 38 46 51 86 94 99 scan 0 sort 0}
11174: do_test where7-2.482.1 {
11175:   count_steps_sort {
11176:      SELECT a FROM t2
11177:       WHERE b=806
11178:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
11179:          OR ((a BETWEEN 24 AND 26) AND a!=25)
11180:          OR b=916
11181:          OR b<0
11182:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
11183:          OR b=154
11184:          OR c=10010
11185:          OR b=451
11186:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
11187:   }
11188: } {14 24 26 28 29 30 41 62 72 scan 0 sort 0}
11189: do_test where7-2.482.2 {
11190:   count_steps_sort {
11191:      SELECT a FROM t3
11192:       WHERE b=806
11193:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
11194:          OR ((a BETWEEN 24 AND 26) AND a!=25)
11195:          OR b=916
11196:          OR b<0
11197:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
11198:          OR b=154
11199:          OR c=10010
11200:          OR b=451
11201:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
11202:   }
11203: } {14 24 26 28 29 30 41 62 72 scan 0 sort 0}
11204: do_test where7-2.483.1 {
11205:   count_steps_sort {
11206:      SELECT a FROM t2
11207:       WHERE b=836
11208:          OR d>1e10
11209:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
11210:          OR f='pqrstuvwx'
11211:          OR ((a BETWEEN 3 AND 5) AND a!=4)
11212:          OR f='abcdefghi'
11213:          OR (g='nmlkjih' AND f GLOB 'fghij*')
11214:          OR a=33
11215:          OR ((a BETWEEN 19 AND 21) AND a!=20)
11216:          OR ((a BETWEEN 88 AND 90) AND a!=89)
11217:          OR b=476
11218:   }
11219: } {3 5 15 19 20 21 26 33 41 52 57 67 76 78 88 90 93 scan 0 sort 0}
11220: do_test where7-2.483.2 {
11221:   count_steps_sort {
11222:      SELECT a FROM t3
11223:       WHERE b=836
11224:          OR d>1e10
11225:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
11226:          OR f='pqrstuvwx'
11227:          OR ((a BETWEEN 3 AND 5) AND a!=4)
11228:          OR f='abcdefghi'
11229:          OR (g='nmlkjih' AND f GLOB 'fghij*')
11230:          OR a=33
11231:          OR ((a BETWEEN 19 AND 21) AND a!=20)
11232:          OR ((a BETWEEN 88 AND 90) AND a!=89)
11233:          OR b=476
11234:   }
11235: } {3 5 15 19 20 21 26 33 41 52 57 67 76 78 88 90 93 scan 0 sort 0}
11236: do_test where7-2.484.1 {
11237:   count_steps_sort {
11238:      SELECT a FROM t2
11239:       WHERE a=48
11240:          OR a=92
11241:          OR a=1
11242:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
11243:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
11244:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
11245:          OR (g='rqponml' AND f GLOB 'lmnop*')
11246:          OR b=905
11247:          OR ((a BETWEEN 51 AND 53) AND a!=52)
11248:   }
11249: } {1 4 7 28 30 37 48 51 53 56 82 92 scan 0 sort 0}
11250: do_test where7-2.484.2 {
11251:   count_steps_sort {
11252:      SELECT a FROM t3
11253:       WHERE a=48
11254:          OR a=92
11255:          OR a=1
11256:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
11257:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
11258:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
11259:          OR (g='rqponml' AND f GLOB 'lmnop*')
11260:          OR b=905
11261:          OR ((a BETWEEN 51 AND 53) AND a!=52)
11262:   }
11263: } {1 4 7 28 30 37 48 51 53 56 82 92 scan 0 sort 0}
11264: do_test where7-2.485.1 {
11265:   count_steps_sort {
11266:      SELECT a FROM t2
11267:       WHERE (d>=17.0 AND d<18.0 AND d NOT NULL)
11268:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
11269:          OR b=212
11270:          OR a=42
11271:          OR a=92
11272:   }
11273: } {4 17 42 92 scan 0 sort 0}
11274: do_test where7-2.485.2 {
11275:   count_steps_sort {
11276:      SELECT a FROM t3
11277:       WHERE (d>=17.0 AND d<18.0 AND d NOT NULL)
11278:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
11279:          OR b=212
11280:          OR a=42
11281:          OR a=92
11282:   }
11283: } {4 17 42 92 scan 0 sort 0}
11284: do_test where7-2.486.1 {
11285:   count_steps_sort {
11286:      SELECT a FROM t2
11287:       WHERE b=740
11288:          OR b=564
11289:          OR (g='onmlkji' AND f GLOB 'zabcd*')
11290:          OR a=11
11291:          OR ((a BETWEEN 44 AND 46) AND a!=45)
11292:          OR b=322
11293:          OR (d>=6.0 AND d<7.0 AND d NOT NULL)
11294:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
11295:          OR b=902
11296:          OR c>=34035
11297:   }
11298: } {6 11 22 44 46 51 82 scan 0 sort 0}
11299: do_test where7-2.486.2 {
11300:   count_steps_sort {
11301:      SELECT a FROM t3
11302:       WHERE b=740
11303:          OR b=564
11304:          OR (g='onmlkji' AND f GLOB 'zabcd*')
11305:          OR a=11
11306:          OR ((a BETWEEN 44 AND 46) AND a!=45)
11307:          OR b=322
11308:          OR (d>=6.0 AND d<7.0 AND d NOT NULL)
11309:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
11310:          OR b=902
11311:          OR c>=34035
11312:   }
11313: } {6 11 22 44 46 51 82 scan 0 sort 0}
11314: do_test where7-2.487.1 {
11315:   count_steps_sort {
11316:      SELECT a FROM t2
11317:       WHERE ((a BETWEEN 52 AND 54) AND a!=53)
11318:          OR ((a BETWEEN 56 AND 58) AND a!=57)
11319:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
11320:          OR a=27
11321:          OR a=48
11322:          OR b=927
11323:          OR ((a BETWEEN 89 AND 91) AND a!=90)
11324:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
11325:          OR f='abcdefghi'
11326:          OR b=91
11327:          OR b=55
11328:   }
11329: } {5 8 26 27 48 52 54 56 58 78 89 91 96 scan 0 sort 0}
11330: do_test where7-2.487.2 {
11331:   count_steps_sort {
11332:      SELECT a FROM t3
11333:       WHERE ((a BETWEEN 52 AND 54) AND a!=53)
11334:          OR ((a BETWEEN 56 AND 58) AND a!=57)
11335:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
11336:          OR a=27
11337:          OR a=48
11338:          OR b=927
11339:          OR ((a BETWEEN 89 AND 91) AND a!=90)
11340:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
11341:          OR f='abcdefghi'
11342:          OR b=91
11343:          OR b=55
11344:   }
11345: } {5 8 26 27 48 52 54 56 58 78 89 91 96 scan 0 sort 0}
11346: do_test where7-2.488.1 {
11347:   count_steps_sort {
11348:      SELECT a FROM t2
11349:       WHERE (g='srqponm' AND f GLOB 'efghi*')
11350:          OR ((a BETWEEN 88 AND 90) AND a!=89)
11351:          OR a=20
11352:          OR b=11
11353:   }
11354: } {1 20 30 88 90 scan 0 sort 0}
11355: do_test where7-2.488.2 {
11356:   count_steps_sort {
11357:      SELECT a FROM t3
11358:       WHERE (g='srqponm' AND f GLOB 'efghi*')
11359:          OR ((a BETWEEN 88 AND 90) AND a!=89)
11360:          OR a=20
11361:          OR b=11
11362:   }
11363: } {1 20 30 88 90 scan 0 sort 0}
11364: do_test where7-2.489.1 {
11365:   count_steps_sort {
11366:      SELECT a FROM t2
11367:       WHERE (d>=27.0 AND d<28.0 AND d NOT NULL)
11368:          OR b=55
11369:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
11370:          OR (g='onmlkji' AND f GLOB 'abcde*')
11371:          OR a=50
11372:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
11373:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
11374:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
11375:   }
11376: } {5 13 27 50 51 52 64 73 scan 0 sort 0}
11377: do_test where7-2.489.2 {
11378:   count_steps_sort {
11379:      SELECT a FROM t3
11380:       WHERE (d>=27.0 AND d<28.0 AND d NOT NULL)
11381:          OR b=55
11382:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
11383:          OR (g='onmlkji' AND f GLOB 'abcde*')
11384:          OR a=50
11385:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
11386:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
11387:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
11388:   }
11389: } {5 13 27 50 51 52 64 73 scan 0 sort 0}
11390: do_test where7-2.490.1 {
11391:   count_steps_sort {
11392:      SELECT a FROM t2
11393:       WHERE (g='rqponml' AND f GLOB 'ijklm*')
11394:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
11395:   }
11396: } {22 34 48 74 100 scan 0 sort 0}
11397: do_test where7-2.490.2 {
11398:   count_steps_sort {
11399:      SELECT a FROM t3
11400:       WHERE (g='rqponml' AND f GLOB 'ijklm*')
11401:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
11402:   }
11403: } {22 34 48 74 100 scan 0 sort 0}
11404: do_test where7-2.491.1 {
11405:   count_steps_sort {
11406:      SELECT a FROM t2
11407:       WHERE b=704
11408:          OR b=924
11409:          OR (g='gfedcba' AND f GLOB 'mnopq*')
11410:          OR b=113
11411:   }
11412: } {64 84 90 scan 0 sort 0}
11413: do_test where7-2.491.2 {
11414:   count_steps_sort {
11415:      SELECT a FROM t3
11416:       WHERE b=704
11417:          OR b=924
11418:          OR (g='gfedcba' AND f GLOB 'mnopq*')
11419:          OR b=113
11420:   }
11421: } {64 84 90 scan 0 sort 0}
11422: do_test where7-2.492.1 {
11423:   count_steps_sort {
11424:      SELECT a FROM t2
11425:       WHERE ((a BETWEEN 20 AND 22) AND a!=21)
11426:          OR b=289
11427:          OR ((a BETWEEN 14 AND 16) AND a!=15)
11428:   }
11429: } {14 16 20 22 scan 0 sort 0}
11430: do_test where7-2.492.2 {
11431:   count_steps_sort {
11432:      SELECT a FROM t3
11433:       WHERE ((a BETWEEN 20 AND 22) AND a!=21)
11434:          OR b=289
11435:          OR ((a BETWEEN 14 AND 16) AND a!=15)
11436:   }
11437: } {14 16 20 22 scan 0 sort 0}
11438: do_test where7-2.493.1 {
11439:   count_steps_sort {
11440:      SELECT a FROM t2
11441:       WHERE b=935
11442:          OR b=1001
11443:          OR ((a BETWEEN 78 AND 80) AND a!=79)
11444:          OR a=31
11445:          OR a=56
11446:   }
11447: } {31 56 78 80 85 91 scan 0 sort 0}
11448: do_test where7-2.493.2 {
11449:   count_steps_sort {
11450:      SELECT a FROM t3
11451:       WHERE b=935
11452:          OR b=1001
11453:          OR ((a BETWEEN 78 AND 80) AND a!=79)
11454:          OR a=31
11455:          OR a=56
11456:   }
11457: } {31 56 78 80 85 91 scan 0 sort 0}
11458: do_test where7-2.494.1 {
11459:   count_steps_sort {
11460:      SELECT a FROM t2
11461:       WHERE (d>=60.0 AND d<61.0 AND d NOT NULL)
11462:          OR b=726
11463:          OR f='abcdefghi'
11464:          OR b=179
11465:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
11466:          OR b=539
11467:          OR b=66
11468:          OR ((a BETWEEN 86 AND 88) AND a!=87)
11469:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
11470:   }
11471: } {6 9 19 26 35 49 52 60 61 66 78 86 87 88 scan 0 sort 0}
11472: do_test where7-2.494.2 {
11473:   count_steps_sort {
11474:      SELECT a FROM t3
11475:       WHERE (d>=60.0 AND d<61.0 AND d NOT NULL)
11476:          OR b=726
11477:          OR f='abcdefghi'
11478:          OR b=179
11479:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
11480:          OR b=539
11481:          OR b=66
11482:          OR ((a BETWEEN 86 AND 88) AND a!=87)
11483:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
11484:   }
11485: } {6 9 19 26 35 49 52 60 61 66 78 86 87 88 scan 0 sort 0}
11486: do_test where7-2.495.1 {
11487:   count_steps_sort {
11488:      SELECT a FROM t2
11489:       WHERE b=179
11490:          OR b=685
11491:   }
11492: } { scan 0 sort 0}
11493: do_test where7-2.495.2 {
11494:   count_steps_sort {
11495:      SELECT a FROM t3
11496:       WHERE b=179
11497:          OR b=685
11498:   }
11499: } { scan 0 sort 0}
11500: do_test where7-2.496.1 {
11501:   count_steps_sort {
11502:      SELECT a FROM t2
11503:       WHERE b=201
11504:          OR b=682
11505:          OR b=443
11506:          OR b=836
11507:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
11508:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
11509:          OR ((a BETWEEN 51 AND 53) AND a!=52)
11510:          OR b=110
11511:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
11512:   }
11513: } {2 10 11 13 28 39 51 53 54 62 65 76 80 91 scan 0 sort 0}
11514: do_test where7-2.496.2 {
11515:   count_steps_sort {
11516:      SELECT a FROM t3
11517:       WHERE b=201
11518:          OR b=682
11519:          OR b=443
11520:          OR b=836
11521:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
11522:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
11523:          OR ((a BETWEEN 51 AND 53) AND a!=52)
11524:          OR b=110
11525:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
11526:   }
11527: } {2 10 11 13 28 39 51 53 54 62 65 76 80 91 scan 0 sort 0}
11528: do_test where7-2.497.1 {
11529:   count_steps_sort {
11530:      SELECT a FROM t2
11531:       WHERE (f GLOB '?zabc*' AND f GLOB 'yzab*')
11532:          OR b=462
11533:          OR ((a BETWEEN 4 AND 6) AND a!=5)
11534:          OR a=22
11535:          OR b=594
11536:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
11537:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
11538:          OR (g='jihgfed' AND f GLOB 'wxyza*')
11539:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
11540:   }
11541: } {4 6 18 22 24 42 44 50 54 57 61 70 74 76 96 scan 0 sort 0}
11542: do_test where7-2.497.2 {
11543:   count_steps_sort {
11544:      SELECT a FROM t3
11545:       WHERE (f GLOB '?zabc*' AND f GLOB 'yzab*')
11546:          OR b=462
11547:          OR ((a BETWEEN 4 AND 6) AND a!=5)
11548:          OR a=22
11549:          OR b=594
11550:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
11551:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
11552:          OR (g='jihgfed' AND f GLOB 'wxyza*')
11553:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
11554:   }
11555: } {4 6 18 22 24 42 44 50 54 57 61 70 74 76 96 scan 0 sort 0}
11556: do_test where7-2.498.1 {
11557:   count_steps_sort {
11558:      SELECT a FROM t2
11559:       WHERE (g='utsrqpo' AND f GLOB 'wxyza*')
11560:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
11561:          OR (g='wvutsrq' AND f GLOB 'klmno*')
11562:          OR f='vwxyzabcd'
11563:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
11564:          OR a=37
11565:          OR a=50
11566:   }
11567: } {1 10 13 21 22 37 47 50 73 99 scan 0 sort 0}
11568: do_test where7-2.498.2 {
11569:   count_steps_sort {
11570:      SELECT a FROM t3
11571:       WHERE (g='utsrqpo' AND f GLOB 'wxyza*')
11572:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
11573:          OR (g='wvutsrq' AND f GLOB 'klmno*')
11574:          OR f='vwxyzabcd'
11575:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
11576:          OR a=37
11577:          OR a=50
11578:   }
11579: } {1 10 13 21 22 37 47 50 73 99 scan 0 sort 0}
11580: do_test where7-2.499.1 {
11581:   count_steps_sort {
11582:      SELECT a FROM t2
11583:       WHERE ((a BETWEEN 83 AND 85) AND a!=84)
11584:          OR b=784
11585:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
11586:          OR b=825
11587:          OR a=80
11588:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
11589:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
11590:          OR b=531
11591:          OR a=100
11592:   }
11593: } {20 23 46 72 75 80 83 85 97 98 100 scan 0 sort 0}
11594: do_test where7-2.499.2 {
11595:   count_steps_sort {
11596:      SELECT a FROM t3
11597:       WHERE ((a BETWEEN 83 AND 85) AND a!=84)
11598:          OR b=784
11599:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
11600:          OR b=825
11601:          OR a=80
11602:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
11603:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
11604:          OR b=531
11605:          OR a=100
11606:   }
11607: } {20 23 46 72 75 80 83 85 97 98 100 scan 0 sort 0}
11608: do_test where7-2.500.1 {
11609:   count_steps_sort {
11610:      SELECT a FROM t2
11611:       WHERE (g='utsrqpo' AND f GLOB 'tuvwx*')
11612:          OR b=220
11613:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
11614:   }
11615: } {19 20 53 scan 0 sort 0}
11616: do_test where7-2.500.2 {
11617:   count_steps_sort {
11618:      SELECT a FROM t3
11619:       WHERE (g='utsrqpo' AND f GLOB 'tuvwx*')
11620:          OR b=220
11621:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
11622:   }
11623: } {19 20 53 scan 0 sort 0}
11624: do_test where7-2.501.1 {
11625:   count_steps_sort {
11626:      SELECT a FROM t2
11627:       WHERE a=92
11628:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
11629:          OR b=990
11630:   }
11631: } {9 90 92 scan 0 sort 0}
11632: do_test where7-2.501.2 {
11633:   count_steps_sort {
11634:      SELECT a FROM t3
11635:       WHERE a=92
11636:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
11637:          OR b=990
11638:   }
11639: } {9 90 92 scan 0 sort 0}
11640: do_test where7-2.502.1 {
11641:   count_steps_sort {
11642:      SELECT a FROM t2
11643:       WHERE ((a BETWEEN 77 AND 79) AND a!=78)
11644:          OR b=894
11645:          OR c=28028
11646:          OR b=905
11647:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
11648:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
11649:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
11650:          OR b=1037
11651:   }
11652: } {26 45 52 70 77 78 79 82 83 84 scan 0 sort 0}
11653: do_test where7-2.502.2 {
11654:   count_steps_sort {
11655:      SELECT a FROM t3
11656:       WHERE ((a BETWEEN 77 AND 79) AND a!=78)
11657:          OR b=894
11658:          OR c=28028
11659:          OR b=905
11660:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
11661:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
11662:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
11663:          OR b=1037
11664:   }
11665: } {26 45 52 70 77 78 79 82 83 84 scan 0 sort 0}
11666: do_test where7-2.503.1 {
11667:   count_steps_sort {
11668:      SELECT a FROM t2
11669:       WHERE (d>=72.0 AND d<73.0 AND d NOT NULL)
11670:          OR b=773
11671:          OR f='defghijkl'
11672:   }
11673: } {3 29 55 72 81 scan 0 sort 0}
11674: do_test where7-2.503.2 {
11675:   count_steps_sort {
11676:      SELECT a FROM t3
11677:       WHERE (d>=72.0 AND d<73.0 AND d NOT NULL)
11678:          OR b=773
11679:          OR f='defghijkl'
11680:   }
11681: } {3 29 55 72 81 scan 0 sort 0}
11682: do_test where7-2.504.1 {
11683:   count_steps_sort {
11684:      SELECT a FROM t2
11685:       WHERE (g='wvutsrq' AND f GLOB 'mnopq*')
11686:          OR b=861
11687:          OR (g='rqponml' AND f GLOB 'lmnop*')
11688:   }
11689: } {12 37 scan 0 sort 0}
11690: do_test where7-2.504.2 {
11691:   count_steps_sort {
11692:      SELECT a FROM t3
11693:       WHERE (g='wvutsrq' AND f GLOB 'mnopq*')
11694:          OR b=861
11695:          OR (g='rqponml' AND f GLOB 'lmnop*')
11696:   }
11697: } {12 37 scan 0 sort 0}
11698: do_test where7-2.505.1 {
11699:   count_steps_sort {
11700:      SELECT a FROM t2
11701:       WHERE b=704
11702:          OR (g='wvutsrq' AND f GLOB 'klmno*')
11703:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
11704:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
11705:          OR b=25
11706:          OR (g='jihgfed' AND f GLOB 'zabcd*')
11707:          OR b=487
11708:          OR (g='hgfedcb' AND f GLOB 'fghij*')
11709:          OR ((a BETWEEN 77 AND 79) AND a!=78)
11710:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
11711:          OR (d>=84.0 AND d<85.0 AND d NOT NULL)
11712:   }
11713: } {10 23 51 64 77 79 83 84 89 scan 0 sort 0}
11714: do_test where7-2.505.2 {
11715:   count_steps_sort {
11716:      SELECT a FROM t3
11717:       WHERE b=704
11718:          OR (g='wvutsrq' AND f GLOB 'klmno*')
11719:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
11720:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
11721:          OR b=25
11722:          OR (g='jihgfed' AND f GLOB 'zabcd*')
11723:          OR b=487
11724:          OR (g='hgfedcb' AND f GLOB 'fghij*')
11725:          OR ((a BETWEEN 77 AND 79) AND a!=78)
11726:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
11727:          OR (d>=84.0 AND d<85.0 AND d NOT NULL)
11728:   }
11729: } {10 23 51 64 77 79 83 84 89 scan 0 sort 0}
11730: do_test where7-2.506.1 {
11731:   count_steps_sort {
11732:      SELECT a FROM t2
11733:       WHERE a=19
11734:          OR (g='onmlkji' AND f GLOB 'xyzab*')
11735:          OR b=674
11736:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
11737:          OR b=355
11738:          OR ((a BETWEEN 72 AND 74) AND a!=73)
11739:          OR (g='qponmlk' AND f GLOB 'pqrst*')
11740:          OR c=28028
11741:          OR b=649
11742:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
11743:          OR (g='srqponm' AND f GLOB 'fghij*')
11744:   }
11745: } {17 19 31 41 49 59 60 72 74 82 83 84 scan 0 sort 0}
11746: do_test where7-2.506.2 {
11747:   count_steps_sort {
11748:      SELECT a FROM t3
11749:       WHERE a=19
11750:          OR (g='onmlkji' AND f GLOB 'xyzab*')
11751:          OR b=674
11752:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
11753:          OR b=355
11754:          OR ((a BETWEEN 72 AND 74) AND a!=73)
11755:          OR (g='qponmlk' AND f GLOB 'pqrst*')
11756:          OR c=28028
11757:          OR b=649
11758:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
11759:          OR (g='srqponm' AND f GLOB 'fghij*')
11760:   }
11761: } {17 19 31 41 49 59 60 72 74 82 83 84 scan 0 sort 0}
11762: do_test where7-2.507.1 {
11763:   count_steps_sort {
11764:      SELECT a FROM t2
11765:       WHERE ((a BETWEEN 76 AND 78) AND a!=77)
11766:          OR a=1
11767:          OR a=22
11768:          OR b=836
11769:          OR c=24024
11770:   }
11771: } {1 22 70 71 72 76 78 scan 0 sort 0}
11772: do_test where7-2.507.2 {
11773:   count_steps_sort {
11774:      SELECT a FROM t3
11775:       WHERE ((a BETWEEN 76 AND 78) AND a!=77)
11776:          OR a=1
11777:          OR a=22
11778:          OR b=836
11779:          OR c=24024
11780:   }
11781: } {1 22 70 71 72 76 78 scan 0 sort 0}
11782: do_test where7-2.508.1 {
11783:   count_steps_sort {
11784:      SELECT a FROM t2
11785:       WHERE b=135
11786:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
11787:          OR ((a BETWEEN 39 AND 41) AND a!=40)
11788:   }
11789: } {20 39 41 scan 0 sort 0}
11790: do_test where7-2.508.2 {
11791:   count_steps_sort {
11792:      SELECT a FROM t3
11793:       WHERE b=135
11794:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
11795:          OR ((a BETWEEN 39 AND 41) AND a!=40)
11796:   }
11797: } {20 39 41 scan 0 sort 0}
11798: do_test where7-2.509.1 {
11799:   count_steps_sort {
11800:      SELECT a FROM t2
11801:       WHERE (g='hgfedcb' AND f GLOB 'ijklm*')
11802:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
11803:   }
11804: } {9 35 61 86 87 scan 0 sort 0}
11805: do_test where7-2.509.2 {
11806:   count_steps_sort {
11807:      SELECT a FROM t3
11808:       WHERE (g='hgfedcb' AND f GLOB 'ijklm*')
11809:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
11810:   }
11811: } {9 35 61 86 87 scan 0 sort 0}
11812: do_test where7-2.510.1 {
11813:   count_steps_sort {
11814:      SELECT a FROM t2
11815:       WHERE (g='jihgfed' AND f GLOB 'wxyza*')
11816:          OR f='ghijklmno'
11817:   }
11818: } {6 32 58 74 84 scan 0 sort 0}
11819: do_test where7-2.510.2 {
11820:   count_steps_sort {
11821:      SELECT a FROM t3
11822:       WHERE (g='jihgfed' AND f GLOB 'wxyza*')
11823:          OR f='ghijklmno'
11824:   }
11825: } {6 32 58 74 84 scan 0 sort 0}
11826: do_test where7-2.511.1 {
11827:   count_steps_sort {
11828:      SELECT a FROM t2
11829:       WHERE b=825
11830:          OR b=902
11831:          OR a=40
11832:          OR ((a BETWEEN 28 AND 30) AND a!=29)
11833:          OR a=30
11834:          OR a=10
11835:          OR a=73
11836:   }
11837: } {10 28 30 40 73 75 82 scan 0 sort 0}
11838: do_test where7-2.511.2 {
11839:   count_steps_sort {
11840:      SELECT a FROM t3
11841:       WHERE b=825
11842:          OR b=902
11843:          OR a=40
11844:          OR ((a BETWEEN 28 AND 30) AND a!=29)
11845:          OR a=30
11846:          OR a=10
11847:          OR a=73
11848:   }
11849: } {10 28 30 40 73 75 82 scan 0 sort 0}
11850: do_test where7-2.512.1 {
11851:   count_steps_sort {
11852:      SELECT a FROM t2
11853:       WHERE ((a BETWEEN 22 AND 24) AND a!=23)
11854:          OR a=5
11855:          OR b=432
11856:          OR b=979
11857:          OR b=762
11858:          OR b=352
11859:          OR ((a BETWEEN 36 AND 38) AND a!=37)
11860:          OR c=27027
11861:          OR c=20020
11862:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
11863:   }
11864: } {5 22 23 24 32 36 38 58 59 60 79 80 81 89 scan 0 sort 0}
11865: do_test where7-2.512.2 {
11866:   count_steps_sort {
11867:      SELECT a FROM t3
11868:       WHERE ((a BETWEEN 22 AND 24) AND a!=23)
11869:          OR a=5
11870:          OR b=432
11871:          OR b=979
11872:          OR b=762
11873:          OR b=352
11874:          OR ((a BETWEEN 36 AND 38) AND a!=37)
11875:          OR c=27027
11876:          OR c=20020
11877:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
11878:   }
11879: } {5 22 23 24 32 36 38 58 59 60 79 80 81 89 scan 0 sort 0}
11880: do_test where7-2.513.1 {
11881:   count_steps_sort {
11882:      SELECT a FROM t2
11883:       WHERE (f GLOB '?lmno*' AND f GLOB 'klmn*')
11884:          OR ((a BETWEEN 5 AND 7) AND a!=6)
11885:          OR b=99
11886:          OR a=54
11887:   }
11888: } {5 7 9 10 36 54 62 88 scan 0 sort 0}
11889: do_test where7-2.513.2 {
11890:   count_steps_sort {
11891:      SELECT a FROM t3
11892:       WHERE (f GLOB '?lmno*' AND f GLOB 'klmn*')
11893:          OR ((a BETWEEN 5 AND 7) AND a!=6)
11894:          OR b=99
11895:          OR a=54
11896:   }
11897: } {5 7 9 10 36 54 62 88 scan 0 sort 0}
11898: do_test where7-2.514.1 {
11899:   count_steps_sort {
11900:      SELECT a FROM t2
11901:       WHERE b=300
11902:          OR (g='mlkjihg' AND f GLOB 'klmno*')
11903:          OR b=319
11904:          OR f='fghijklmn'
11905:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
11906:          OR ((a BETWEEN 42 AND 44) AND a!=43)
11907:   }
11908: } {5 29 31 42 44 57 62 73 83 scan 0 sort 0}
11909: do_test where7-2.514.2 {
11910:   count_steps_sort {
11911:      SELECT a FROM t3
11912:       WHERE b=300
11913:          OR (g='mlkjihg' AND f GLOB 'klmno*')
11914:          OR b=319
11915:          OR f='fghijklmn'
11916:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
11917:          OR ((a BETWEEN 42 AND 44) AND a!=43)
11918:   }
11919: } {5 29 31 42 44 57 62 73 83 scan 0 sort 0}
11920: do_test where7-2.515.1 {
11921:   count_steps_sort {
11922:      SELECT a FROM t2
11923:       WHERE b=671
11924:          OR ((a BETWEEN 86 AND 88) AND a!=87)
11925:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
11926:          OR b=1004
11927:          OR ((a BETWEEN 18 AND 20) AND a!=19)
11928:          OR ((a BETWEEN 5 AND 7) AND a!=6)
11929:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
11930:          OR b=748
11931:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
11932:   }
11933: } {5 7 18 20 23 27 61 68 82 86 88 scan 0 sort 0}
11934: do_test where7-2.515.2 {
11935:   count_steps_sort {
11936:      SELECT a FROM t3
11937:       WHERE b=671
11938:          OR ((a BETWEEN 86 AND 88) AND a!=87)
11939:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
11940:          OR b=1004
11941:          OR ((a BETWEEN 18 AND 20) AND a!=19)
11942:          OR ((a BETWEEN 5 AND 7) AND a!=6)
11943:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
11944:          OR b=748
11945:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
11946:   }
11947: } {5 7 18 20 23 27 61 68 82 86 88 scan 0 sort 0}
11948: do_test where7-2.516.1 {
11949:   count_steps_sort {
11950:      SELECT a FROM t2
11951:       WHERE a=47
11952:          OR b=784
11953:          OR ((a BETWEEN 21 AND 23) AND a!=22)
11954:          OR a=16
11955:          OR a=25
11956:          OR b=572
11957:   }
11958: } {16 21 23 25 47 52 scan 0 sort 0}
11959: do_test where7-2.516.2 {
11960:   count_steps_sort {
11961:      SELECT a FROM t3
11962:       WHERE a=47
11963:          OR b=784
11964:          OR ((a BETWEEN 21 AND 23) AND a!=22)
11965:          OR a=16
11966:          OR a=25
11967:          OR b=572
11968:   }
11969: } {16 21 23 25 47 52 scan 0 sort 0}
11970: do_test where7-2.517.1 {
11971:   count_steps_sort {
11972:      SELECT a FROM t2
11973:       WHERE (g='jihgfed' AND f GLOB 'wxyza*')
11974:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
11975:          OR b=110
11976:          OR (g='gfedcba' AND f GLOB 'nopqr*')
11977:          OR c=26026
11978:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
11979:          OR b=850
11980:          OR a=6
11981:   }
11982: } {6 10 67 69 74 76 77 78 91 scan 0 sort 0}
11983: do_test where7-2.517.2 {
11984:   count_steps_sort {
11985:      SELECT a FROM t3
11986:       WHERE (g='jihgfed' AND f GLOB 'wxyza*')
11987:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
11988:          OR b=110
11989:          OR (g='gfedcba' AND f GLOB 'nopqr*')
11990:          OR c=26026
11991:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
11992:          OR b=850
11993:          OR a=6
11994:   }
11995: } {6 10 67 69 74 76 77 78 91 scan 0 sort 0}
11996: do_test where7-2.518.1 {
11997:   count_steps_sort {
11998:      SELECT a FROM t2
11999:       WHERE ((a BETWEEN 74 AND 76) AND a!=75)
12000:          OR ((a BETWEEN 1 AND 3) AND a!=2)
12001:          OR (g='jihgfed' AND f GLOB 'wxyza*')
12002:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
12003:          OR (g='mlkjihg' AND f GLOB 'klmno*')
12004:          OR b=135
12005:          OR a=28
12006:          OR ((a BETWEEN 1 AND 3) AND a!=2)
12007:          OR b=737
12008:   }
12009: } {1 3 19 28 62 67 74 76 scan 0 sort 0}
12010: do_test where7-2.518.2 {
12011:   count_steps_sort {
12012:      SELECT a FROM t3
12013:       WHERE ((a BETWEEN 74 AND 76) AND a!=75)
12014:          OR ((a BETWEEN 1 AND 3) AND a!=2)
12015:          OR (g='jihgfed' AND f GLOB 'wxyza*')
12016:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
12017:          OR (g='mlkjihg' AND f GLOB 'klmno*')
12018:          OR b=135
12019:          OR a=28
12020:          OR ((a BETWEEN 1 AND 3) AND a!=2)
12021:          OR b=737
12022:   }
12023: } {1 3 19 28 62 67 74 76 scan 0 sort 0}
12024: do_test where7-2.519.1 {
12025:   count_steps_sort {
12026:      SELECT a FROM t2
12027:       WHERE b=242
12028:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
12029:          OR ((a BETWEEN 20 AND 22) AND a!=21)
12030:   }
12031: } {20 22 scan 0 sort 0}
12032: do_test where7-2.519.2 {
12033:   count_steps_sort {
12034:      SELECT a FROM t3
12035:       WHERE b=242
12036:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
12037:          OR ((a BETWEEN 20 AND 22) AND a!=21)
12038:   }
12039: } {20 22 scan 0 sort 0}
12040: do_test where7-2.520.1 {
12041:   count_steps_sort {
12042:      SELECT a FROM t2
12043:       WHERE b=528
12044:          OR a=41
12045:          OR f='cdefghijk'
12046:          OR a=98
12047:          OR b=759
12048:          OR a=43
12049:          OR b=286
12050:          OR f='hijklmnop'
12051:   }
12052: } {2 7 26 28 33 41 43 48 54 59 69 80 85 98 scan 0 sort 0}
12053: do_test where7-2.520.2 {
12054:   count_steps_sort {
12055:      SELECT a FROM t3
12056:       WHERE b=528
12057:          OR a=41
12058:          OR f='cdefghijk'
12059:          OR a=98
12060:          OR b=759
12061:          OR a=43
12062:          OR b=286
12063:          OR f='hijklmnop'
12064:   }
12065: } {2 7 26 28 33 41 43 48 54 59 69 80 85 98 scan 0 sort 0}
12066: do_test where7-2.521.1 {
12067:   count_steps_sort {
12068:      SELECT a FROM t2
12069:       WHERE (g='xwvutsr' AND f GLOB 'ghijk*')
12070:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
12071:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
12072:          OR a=52
12073:   }
12074: } {6 15 52 61 scan 0 sort 0}
12075: do_test where7-2.521.2 {
12076:   count_steps_sort {
12077:      SELECT a FROM t3
12078:       WHERE (g='xwvutsr' AND f GLOB 'ghijk*')
12079:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
12080:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
12081:          OR a=52
12082:   }
12083: } {6 15 52 61 scan 0 sort 0}
12084: do_test where7-2.522.1 {
12085:   count_steps_sort {
12086:      SELECT a FROM t2
12087:       WHERE (g='ihgfedc' AND f GLOB 'abcde*')
12088:          OR ((a BETWEEN 2 AND 4) AND a!=3)
12089:          OR a=86
12090:          OR c=33033
12091:          OR c=2002
12092:          OR a=92
12093:   }
12094: } {2 4 5 6 78 86 92 97 98 99 scan 0 sort 0}
12095: do_test where7-2.522.2 {
12096:   count_steps_sort {
12097:      SELECT a FROM t3
12098:       WHERE (g='ihgfedc' AND f GLOB 'abcde*')
12099:          OR ((a BETWEEN 2 AND 4) AND a!=3)
12100:          OR a=86
12101:          OR c=33033
12102:          OR c=2002
12103:          OR a=92
12104:   }
12105: } {2 4 5 6 78 86 92 97 98 99 scan 0 sort 0}
12106: do_test where7-2.523.1 {
12107:   count_steps_sort {
12108:      SELECT a FROM t2
12109:       WHERE ((a BETWEEN 47 AND 49) AND a!=48)
12110:          OR b=517
12111:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
12112:          OR ((a BETWEEN 67 AND 69) AND a!=68)
12113:          OR (g='srqponm' AND f GLOB 'fghij*')
12114:          OR f='defghijkl'
12115:          OR b=707
12116:          OR c>=34035
12117:          OR ((a BETWEEN 33 AND 35) AND a!=34)
12118:          OR a=80
12119:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
12120:   }
12121: } {3 23 29 31 33 35 47 49 55 63 67 69 80 81 scan 0 sort 0}
12122: do_test where7-2.523.2 {
12123:   count_steps_sort {
12124:      SELECT a FROM t3
12125:       WHERE ((a BETWEEN 47 AND 49) AND a!=48)
12126:          OR b=517
12127:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
12128:          OR ((a BETWEEN 67 AND 69) AND a!=68)
12129:          OR (g='srqponm' AND f GLOB 'fghij*')
12130:          OR f='defghijkl'
12131:          OR b=707
12132:          OR c>=34035
12133:          OR ((a BETWEEN 33 AND 35) AND a!=34)
12134:          OR a=80
12135:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
12136:   }
12137: } {3 23 29 31 33 35 47 49 55 63 67 69 80 81 scan 0 sort 0}
12138: do_test where7-2.524.1 {
12139:   count_steps_sort {
12140:      SELECT a FROM t2
12141:       WHERE (d>=96.0 AND d<97.0 AND d NOT NULL)
12142:          OR b=209
12143:          OR b=399
12144:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
12145:   }
12146: } {19 96 97 scan 0 sort 0}
12147: do_test where7-2.524.2 {
12148:   count_steps_sort {
12149:      SELECT a FROM t3
12150:       WHERE (d>=96.0 AND d<97.0 AND d NOT NULL)
12151:          OR b=209
12152:          OR b=399
12153:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
12154:   }
12155: } {19 96 97 scan 0 sort 0}
12156: do_test where7-2.525.1 {
12157:   count_steps_sort {
12158:      SELECT a FROM t2
12159:       WHERE ((a BETWEEN 18 AND 20) AND a!=19)
12160:          OR (g='qponmlk' AND f GLOB 'mnopq*')
12161:          OR b=597
12162:          OR a=95
12163:          OR (g='nmlkjih' AND f GLOB 'defgh*')
12164:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
12165:          OR b=432
12166:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
12167:   }
12168: } {18 20 24 38 50 55 76 92 95 scan 0 sort 0}
12169: do_test where7-2.525.2 {
12170:   count_steps_sort {
12171:      SELECT a FROM t3
12172:       WHERE ((a BETWEEN 18 AND 20) AND a!=19)
12173:          OR (g='qponmlk' AND f GLOB 'mnopq*')
12174:          OR b=597
12175:          OR a=95
12176:          OR (g='nmlkjih' AND f GLOB 'defgh*')
12177:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
12178:          OR b=432
12179:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
12180:   }
12181: } {18 20 24 38 50 55 76 92 95 scan 0 sort 0}
12182: do_test where7-2.526.1 {
12183:   count_steps_sort {
12184:      SELECT a FROM t2
12185:       WHERE (d>=88.0 AND d<89.0 AND d NOT NULL)
12186:          OR b=157
12187:          OR ((a BETWEEN 78 AND 80) AND a!=79)
12188:          OR a=3
12189:          OR b=663
12190:          OR a=2
12191:          OR c=21021
12192:          OR b=330
12193:          OR b=231
12194:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
12195:   }
12196: } {2 3 21 27 30 61 62 63 78 80 88 scan 0 sort 0}
12197: do_test where7-2.526.2 {
12198:   count_steps_sort {
12199:      SELECT a FROM t3
12200:       WHERE (d>=88.0 AND d<89.0 AND d NOT NULL)
12201:          OR b=157
12202:          OR ((a BETWEEN 78 AND 80) AND a!=79)
12203:          OR a=3
12204:          OR b=663
12205:          OR a=2
12206:          OR c=21021
12207:          OR b=330
12208:          OR b=231
12209:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
12210:   }
12211: } {2 3 21 27 30 61 62 63 78 80 88 scan 0 sort 0}
12212: do_test where7-2.527.1 {
12213:   count_steps_sort {
12214:      SELECT a FROM t2
12215:       WHERE (g='hgfedcb' AND f GLOB 'fghij*')
12216:          OR ((a BETWEEN 64 AND 66) AND a!=65)
12217:          OR f IS NULL
12218:   }
12219: } {64 66 83 scan 0 sort 0}
12220: do_test where7-2.527.2 {
12221:   count_steps_sort {
12222:      SELECT a FROM t3
12223:       WHERE (g='hgfedcb' AND f GLOB 'fghij*')
12224:          OR ((a BETWEEN 64 AND 66) AND a!=65)
12225:          OR f IS NULL
12226:   }
12227: } {64 66 83 scan 0 sort 0}
12228: do_test where7-2.528.1 {
12229:   count_steps_sort {
12230:      SELECT a FROM t2
12231:       WHERE ((a BETWEEN 99 AND 101) AND a!=100)
12232:          OR (g='fedcbaz' AND f GLOB 'pqrst*')
12233:          OR 1000000<b
12234:          OR (g='jihgfed' AND f GLOB 'xyzab*')
12235:          OR b=990
12236:   }
12237: } {75 90 93 99 scan 0 sort 0}
12238: do_test where7-2.528.2 {
12239:   count_steps_sort {
12240:      SELECT a FROM t3
12241:       WHERE ((a BETWEEN 99 AND 101) AND a!=100)
12242:          OR (g='fedcbaz' AND f GLOB 'pqrst*')
12243:          OR 1000000<b
12244:          OR (g='jihgfed' AND f GLOB 'xyzab*')
12245:          OR b=990
12246:   }
12247: } {75 90 93 99 scan 0 sort 0}
12248: do_test where7-2.529.1 {
12249:   count_steps_sort {
12250:      SELECT a FROM t2
12251:       WHERE b=165
12252:          OR a=69
12253:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
12254:   }
12255: } {15 44 69 scan 0 sort 0}
12256: do_test where7-2.529.2 {
12257:   count_steps_sort {
12258:      SELECT a FROM t3
12259:       WHERE b=165
12260:          OR a=69
12261:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
12262:   }
12263: } {15 44 69 scan 0 sort 0}
12264: do_test where7-2.530.1 {
12265:   count_steps_sort {
12266:      SELECT a FROM t2
12267:       WHERE (g='nmlkjih' AND f GLOB 'defgh*')
12268:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
12269:          OR b=784
12270:          OR b=583
12271:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
12272:          OR b=814
12273:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
12274:          OR b=619
12275:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
12276:   }
12277: } {46 53 54 55 58 74 80 scan 0 sort 0}
12278: do_test where7-2.530.2 {
12279:   count_steps_sort {
12280:      SELECT a FROM t3
12281:       WHERE (g='nmlkjih' AND f GLOB 'defgh*')
12282:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
12283:          OR b=784
12284:          OR b=583
12285:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
12286:          OR b=814
12287:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
12288:          OR b=619
12289:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
12290:   }
12291: } {46 53 54 55 58 74 80 scan 0 sort 0}
12292: do_test where7-2.531.1 {
12293:   count_steps_sort {
12294:      SELECT a FROM t2
12295:       WHERE a=86
12296:          OR b=484
12297:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
12298:          OR b=418
12299:          OR b=509
12300:          OR a=42
12301:          OR b=825
12302:          OR a=91
12303:          OR b=1023
12304:          OR b=814
12305:          OR ((a BETWEEN 99 AND 101) AND a!=100)
12306:   }
12307: } {38 42 44 74 75 79 86 91 93 99 scan 0 sort 0}
12308: do_test where7-2.531.2 {
12309:   count_steps_sort {
12310:      SELECT a FROM t3
12311:       WHERE a=86
12312:          OR b=484
12313:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
12314:          OR b=418
12315:          OR b=509
12316:          OR a=42
12317:          OR b=825
12318:          OR a=91
12319:          OR b=1023
12320:          OR b=814
12321:          OR ((a BETWEEN 99 AND 101) AND a!=100)
12322:   }
12323: } {38 42 44 74 75 79 86 91 93 99 scan 0 sort 0}
12324: do_test where7-2.532.1 {
12325:   count_steps_sort {
12326:      SELECT a FROM t2
12327:       WHERE (d>=86.0 AND d<87.0 AND d NOT NULL)
12328:          OR b=231
12329:          OR a=81
12330:          OR a=72
12331:          OR ((a BETWEEN 24 AND 26) AND a!=25)
12332:          OR b=396
12333:   }
12334: } {21 24 26 36 72 81 86 scan 0 sort 0}
12335: do_test where7-2.532.2 {
12336:   count_steps_sort {
12337:      SELECT a FROM t3
12338:       WHERE (d>=86.0 AND d<87.0 AND d NOT NULL)
12339:          OR b=231
12340:          OR a=81
12341:          OR a=72
12342:          OR ((a BETWEEN 24 AND 26) AND a!=25)
12343:          OR b=396
12344:   }
12345: } {21 24 26 36 72 81 86 scan 0 sort 0}
12346: do_test where7-2.533.1 {
12347:   count_steps_sort {
12348:      SELECT a FROM t2
12349:       WHERE (d>=74.0 AND d<75.0 AND d NOT NULL)
12350:          OR a=63
12351:          OR ((a BETWEEN 70 AND 72) AND a!=71)
12352:          OR a=71
12353:          OR b=22
12354:          OR ((a BETWEEN 76 AND 78) AND a!=77)
12355:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
12356:          OR ((a BETWEEN 59 AND 61) AND a!=60)
12357:          OR a=53
12358:   }
12359: } {2 21 53 59 61 63 70 71 72 74 76 78 scan 0 sort 0}
12360: do_test where7-2.533.2 {
12361:   count_steps_sort {
12362:      SELECT a FROM t3
12363:       WHERE (d>=74.0 AND d<75.0 AND d NOT NULL)
12364:          OR a=63
12365:          OR ((a BETWEEN 70 AND 72) AND a!=71)
12366:          OR a=71
12367:          OR b=22
12368:          OR ((a BETWEEN 76 AND 78) AND a!=77)
12369:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
12370:          OR ((a BETWEEN 59 AND 61) AND a!=60)
12371:          OR a=53
12372:   }
12373: } {2 21 53 59 61 63 70 71 72 74 76 78 scan 0 sort 0}
12374: do_test where7-2.534.1 {
12375:   count_steps_sort {
12376:      SELECT a FROM t2
12377:       WHERE b=861
12378:          OR b=649
12379:          OR b=146
12380:          OR f='abcdefghi'
12381:   }
12382: } {26 52 59 78 scan 0 sort 0}
12383: do_test where7-2.534.2 {
12384:   count_steps_sort {
12385:      SELECT a FROM t3
12386:       WHERE b=861
12387:          OR b=649
12388:          OR b=146
12389:          OR f='abcdefghi'
12390:   }
12391: } {26 52 59 78 scan 0 sort 0}
12392: do_test where7-2.535.1 {
12393:   count_steps_sort {
12394:      SELECT a FROM t2
12395:       WHERE (f GLOB '?klmn*' AND f GLOB 'jklm*')
12396:          OR c=5005
12397:          OR ((a BETWEEN 50 AND 52) AND a!=51)
12398:          OR a=93
12399:          OR c=24024
12400:          OR b=619
12401:          OR b=234
12402:          OR b=55
12403:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
12404:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
12405:   }
12406: } {5 9 13 14 15 21 35 47 50 52 56 61 70 71 72 73 87 93 99 scan 0 sort 0}
12407: do_test where7-2.535.2 {
12408:   count_steps_sort {
12409:      SELECT a FROM t3
12410:       WHERE (f GLOB '?klmn*' AND f GLOB 'jklm*')
12411:          OR c=5005
12412:          OR ((a BETWEEN 50 AND 52) AND a!=51)
12413:          OR a=93
12414:          OR c=24024
12415:          OR b=619
12416:          OR b=234
12417:          OR b=55
12418:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
12419:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
12420:   }
12421: } {5 9 13 14 15 21 35 47 50 52 56 61 70 71 72 73 87 93 99 scan 0 sort 0}
12422: do_test where7-2.536.1 {
12423:   count_steps_sort {
12424:      SELECT a FROM t2
12425:       WHERE b=355
12426:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
12427:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
12428:          OR b=806
12429:          OR b=462
12430:          OR b=531
12431:          OR (g='lkjihgf' AND f GLOB 'lmnop*')
12432:          OR f='mnopqrstu'
12433:   }
12434: } {12 38 42 49 63 64 69 90 scan 0 sort 0}
12435: do_test where7-2.536.2 {
12436:   count_steps_sort {
12437:      SELECT a FROM t3
12438:       WHERE b=355
12439:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
12440:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
12441:          OR b=806
12442:          OR b=462
12443:          OR b=531
12444:          OR (g='lkjihgf' AND f GLOB 'lmnop*')
12445:          OR f='mnopqrstu'
12446:   }
12447: } {12 38 42 49 63 64 69 90 scan 0 sort 0}
12448: do_test where7-2.537.1 {
12449:   count_steps_sort {
12450:      SELECT a FROM t2
12451:       WHERE ((a BETWEEN 60 AND 62) AND a!=61)
12452:          OR f='pqrstuvwx'
12453:          OR (g='nmlkjih' AND f GLOB 'efghi*')
12454:          OR b=495
12455:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
12456:          OR a=75
12457:   }
12458: } {15 41 45 56 60 62 67 70 75 93 scan 0 sort 0}
12459: do_test where7-2.537.2 {
12460:   count_steps_sort {
12461:      SELECT a FROM t3
12462:       WHERE ((a BETWEEN 60 AND 62) AND a!=61)
12463:          OR f='pqrstuvwx'
12464:          OR (g='nmlkjih' AND f GLOB 'efghi*')
12465:          OR b=495
12466:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
12467:          OR a=75
12468:   }
12469: } {15 41 45 56 60 62 67 70 75 93 scan 0 sort 0}
12470: do_test where7-2.538.1 {
12471:   count_steps_sort {
12472:      SELECT a FROM t2
12473:       WHERE (g='xwvutsr' AND f GLOB 'efghi*')
12474:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
12475:          OR b=748
12476:          OR b=913
12477:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
12478:          OR a=22
12479:   }
12480: } {4 5 21 22 68 83 scan 0 sort 0}
12481: do_test where7-2.538.2 {
12482:   count_steps_sort {
12483:      SELECT a FROM t3
12484:       WHERE (g='xwvutsr' AND f GLOB 'efghi*')
12485:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
12486:          OR b=748
12487:          OR b=913
12488:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
12489:          OR a=22
12490:   }
12491: } {4 5 21 22 68 83 scan 0 sort 0}
12492: do_test where7-2.539.1 {
12493:   count_steps_sort {
12494:      SELECT a FROM t2
12495:       WHERE a=19
12496:          OR b=902
12497:          OR ((a BETWEEN 63 AND 65) AND a!=64)
12498:          OR b=168
12499:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
12500:          OR a=50
12501:          OR f='uvwxyzabc'
12502:          OR b=836
12503:          OR ((a BETWEEN 77 AND 79) AND a!=78)
12504:          OR a=50
12505:   }
12506: } {19 20 46 50 63 65 67 72 76 77 79 82 98 scan 0 sort 0}
12507: do_test where7-2.539.2 {
12508:   count_steps_sort {
12509:      SELECT a FROM t3
12510:       WHERE a=19
12511:          OR b=902
12512:          OR ((a BETWEEN 63 AND 65) AND a!=64)
12513:          OR b=168
12514:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
12515:          OR a=50
12516:          OR f='uvwxyzabc'
12517:          OR b=836
12518:          OR ((a BETWEEN 77 AND 79) AND a!=78)
12519:          OR a=50
12520:   }
12521: } {19 20 46 50 63 65 67 72 76 77 79 82 98 scan 0 sort 0}
12522: do_test where7-2.540.1 {
12523:   count_steps_sort {
12524:      SELECT a FROM t2
12525:       WHERE c=12012
12526:          OR b=993
12527:          OR b=839
12528:          OR ((a BETWEEN 30 AND 32) AND a!=31)
12529:          OR a=87
12530:   }
12531: } {30 32 34 35 36 87 scan 0 sort 0}
12532: do_test where7-2.540.2 {
12533:   count_steps_sort {
12534:      SELECT a FROM t3
12535:       WHERE c=12012
12536:          OR b=993
12537:          OR b=839
12538:          OR ((a BETWEEN 30 AND 32) AND a!=31)
12539:          OR a=87
12540:   }
12541: } {30 32 34 35 36 87 scan 0 sort 0}
12542: do_test where7-2.541.1 {
12543:   count_steps_sort {
12544:      SELECT a FROM t2
12545:       WHERE b=814
12546:          OR c=30030
12547:          OR (g='qponmlk' AND f GLOB 'opqrs*')
12548:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
12549:          OR a=16
12550:          OR b=1048
12551:          OR b=113
12552:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
12553:          OR (g='xwvutsr' AND f GLOB 'defgh*')
12554:          OR b=729
12555:          OR a=54
12556:   }
12557: } {3 16 34 40 54 61 74 88 89 90 scan 0 sort 0}
12558: do_test where7-2.541.2 {
12559:   count_steps_sort {
12560:      SELECT a FROM t3
12561:       WHERE b=814
12562:          OR c=30030
12563:          OR (g='qponmlk' AND f GLOB 'opqrs*')
12564:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
12565:          OR a=16
12566:          OR b=1048
12567:          OR b=113
12568:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
12569:          OR (g='xwvutsr' AND f GLOB 'defgh*')
12570:          OR b=729
12571:          OR a=54
12572:   }
12573: } {3 16 34 40 54 61 74 88 89 90 scan 0 sort 0}
12574: do_test where7-2.542.1 {
12575:   count_steps_sort {
12576:      SELECT a FROM t2
12577:       WHERE b=399
12578:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
12579:          OR b=814
12580:          OR c=22022
12581:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
12582:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
12583:          OR a=1
12584:          OR b=311
12585:          OR b=121
12586:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
12587:          OR b=198
12588:   }
12589: } {1 6 8 11 18 32 37 58 63 64 65 66 71 74 84 89 scan 0 sort 0}
12590: do_test where7-2.542.2 {
12591:   count_steps_sort {
12592:      SELECT a FROM t3
12593:       WHERE b=399
12594:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
12595:          OR b=814
12596:          OR c=22022
12597:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
12598:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
12599:          OR a=1
12600:          OR b=311
12601:          OR b=121
12602:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
12603:          OR b=198
12604:   }
12605: } {1 6 8 11 18 32 37 58 63 64 65 66 71 74 84 89 scan 0 sort 0}
12606: do_test where7-2.543.1 {
12607:   count_steps_sort {
12608:      SELECT a FROM t2
12609:       WHERE b=146
12610:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
12611:          OR a=57
12612:   }
12613: } {52 57 scan 0 sort 0}
12614: do_test where7-2.543.2 {
12615:   count_steps_sort {
12616:      SELECT a FROM t3
12617:       WHERE b=146
12618:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
12619:          OR a=57
12620:   }
12621: } {52 57 scan 0 sort 0}
12622: do_test where7-2.544.1 {
12623:   count_steps_sort {
12624:      SELECT a FROM t2
12625:       WHERE (d>=100.0 AND d<101.0 AND d NOT NULL)
12626:          OR f='fghijklmn'
12627:          OR a=70
12628:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
12629:   }
12630: } {4 5 31 57 70 83 100 scan 0 sort 0}
12631: do_test where7-2.544.2 {
12632:   count_steps_sort {
12633:      SELECT a FROM t3
12634:       WHERE (d>=100.0 AND d<101.0 AND d NOT NULL)
12635:          OR f='fghijklmn'
12636:          OR a=70
12637:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
12638:   }
12639: } {4 5 31 57 70 83 100 scan 0 sort 0}
12640: do_test where7-2.545.1 {
12641:   count_steps_sort {
12642:      SELECT a FROM t2
12643:       WHERE a=42
12644:          OR b=333
12645:          OR (d>=35.0 AND d<36.0 AND d NOT NULL)
12646:          OR b=1089
12647:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
12648:          OR a=22
12649:          OR b=594
12650:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
12651:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
12652:   }
12653: } {5 12 15 22 31 35 42 54 57 83 99 scan 0 sort 0}
12654: do_test where7-2.545.2 {
12655:   count_steps_sort {
12656:      SELECT a FROM t3
12657:       WHERE a=42
12658:          OR b=333
12659:          OR (d>=35.0 AND d<36.0 AND d NOT NULL)
12660:          OR b=1089
12661:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
12662:          OR a=22
12663:          OR b=594
12664:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
12665:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
12666:   }
12667: } {5 12 15 22 31 35 42 54 57 83 99 scan 0 sort 0}
12668: do_test where7-2.546.1 {
12669:   count_steps_sort {
12670:      SELECT a FROM t2
12671:       WHERE (d>=67.0 AND d<68.0 AND d NOT NULL)
12672:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
12673:          OR b=113
12674:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
12675:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
12676:          OR ((a BETWEEN 3 AND 5) AND a!=4)
12677:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
12678:          OR f='mnopqrstu'
12679:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
12680:          OR b=902
12681:   }
12682: } {3 5 12 16 17 25 26 38 52 64 67 69 78 82 90 scan 0 sort 0}
12683: do_test where7-2.546.2 {
12684:   count_steps_sort {
12685:      SELECT a FROM t3
12686:       WHERE (d>=67.0 AND d<68.0 AND d NOT NULL)
12687:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
12688:          OR b=113
12689:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
12690:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
12691:          OR ((a BETWEEN 3 AND 5) AND a!=4)
12692:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
12693:          OR f='mnopqrstu'
12694:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
12695:          OR b=902
12696:   }
12697: } {3 5 12 16 17 25 26 38 52 64 67 69 78 82 90 scan 0 sort 0}
12698: do_test where7-2.547.1 {
12699:   count_steps_sort {
12700:      SELECT a FROM t2
12701:       WHERE (g='onmlkji' AND f GLOB 'zabcd*')
12702:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
12703:          OR a=13
12704:   }
12705: } {13 15 41 51 67 93 scan 0 sort 0}
12706: do_test where7-2.547.2 {
12707:   count_steps_sort {
12708:      SELECT a FROM t3
12709:       WHERE (g='onmlkji' AND f GLOB 'zabcd*')
12710:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
12711:          OR a=13
12712:   }
12713: } {13 15 41 51 67 93 scan 0 sort 0}
12714: do_test where7-2.548.1 {
12715:   count_steps_sort {
12716:      SELECT a FROM t2
12717:       WHERE (g='edcbazy' AND f GLOB 'wxyza*')
12718:          OR b=410
12719:          OR (g='ihgfedc' AND f GLOB 'efghi*')
12720:          OR b=418
12721:          OR (g='gfedcba' AND f GLOB 'klmno*')
12722:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
12723:   }
12724: } {38 65 82 88 100 scan 0 sort 0}
12725: do_test where7-2.548.2 {
12726:   count_steps_sort {
12727:      SELECT a FROM t3
12728:       WHERE (g='edcbazy' AND f GLOB 'wxyza*')
12729:          OR b=410
12730:          OR (g='ihgfedc' AND f GLOB 'efghi*')
12731:          OR b=418
12732:          OR (g='gfedcba' AND f GLOB 'klmno*')
12733:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
12734:   }
12735: } {38 65 82 88 100 scan 0 sort 0}
12736: do_test where7-2.549.1 {
12737:   count_steps_sort {
12738:      SELECT a FROM t2
12739:       WHERE a=5
12740:          OR a=95
12741:          OR a=56
12742:          OR a=46
12743:          OR (d>=100.0 AND d<101.0 AND d NOT NULL)
12744:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
12745:          OR (g='wvutsrq' AND f GLOB 'klmno*')
12746:          OR (d>=41.0 AND d<42.0 AND d NOT NULL)
12747:   }
12748: } {5 10 41 46 56 61 95 100 scan 0 sort 0}
12749: do_test where7-2.549.2 {
12750:   count_steps_sort {
12751:      SELECT a FROM t3
12752:       WHERE a=5
12753:          OR a=95
12754:          OR a=56
12755:          OR a=46
12756:          OR (d>=100.0 AND d<101.0 AND d NOT NULL)
12757:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
12758:          OR (g='wvutsrq' AND f GLOB 'klmno*')
12759:          OR (d>=41.0 AND d<42.0 AND d NOT NULL)
12760:   }
12761: } {5 10 41 46 56 61 95 100 scan 0 sort 0}
12762: do_test where7-2.550.1 {
12763:   count_steps_sort {
12764:      SELECT a FROM t2
12765:       WHERE (d>=87.0 AND d<88.0 AND d NOT NULL)
12766:          OR a=13
12767:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
12768:          OR a=9
12769:          OR a=27
12770:          OR ((a BETWEEN 88 AND 90) AND a!=89)
12771:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
12772:          OR b=484
12773:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
12774:          OR b=594
12775:   }
12776: } {9 13 27 37 44 54 75 87 88 90 scan 0 sort 0}
12777: do_test where7-2.550.2 {
12778:   count_steps_sort {
12779:      SELECT a FROM t3
12780:       WHERE (d>=87.0 AND d<88.0 AND d NOT NULL)
12781:          OR a=13
12782:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
12783:          OR a=9
12784:          OR a=27
12785:          OR ((a BETWEEN 88 AND 90) AND a!=89)
12786:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
12787:          OR b=484
12788:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
12789:          OR b=594
12790:   }
12791: } {9 13 27 37 44 54 75 87 88 90 scan 0 sort 0}
12792: do_test where7-2.551.1 {
12793:   count_steps_sort {
12794:      SELECT a FROM t2
12795:       WHERE b=539
12796:          OR b=418
12797:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
12798:          OR b=759
12799:   }
12800: } {15 38 49 69 scan 0 sort 0}
12801: do_test where7-2.551.2 {
12802:   count_steps_sort {
12803:      SELECT a FROM t3
12804:       WHERE b=539
12805:          OR b=418
12806:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
12807:          OR b=759
12808:   }
12809: } {15 38 49 69 scan 0 sort 0}
12810: do_test where7-2.552.1 {
12811:   count_steps_sort {
12812:      SELECT a FROM t2
12813:       WHERE b=1001
12814:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
12815:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
12816:          OR c=34034
12817:          OR a=84
12818:   }
12819: } {8 54 84 91 100 scan 0 sort 0}
12820: do_test where7-2.552.2 {
12821:   count_steps_sort {
12822:      SELECT a FROM t3
12823:       WHERE b=1001
12824:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
12825:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
12826:          OR c=34034
12827:          OR a=84
12828:   }
12829: } {8 54 84 91 100 scan 0 sort 0}
12830: do_test where7-2.553.1 {
12831:   count_steps_sort {
12832:      SELECT a FROM t2
12833:       WHERE b=795
12834:          OR b=671
12835:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
12836:          OR ((a BETWEEN 71 AND 73) AND a!=72)
12837:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
12838:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
12839:          OR b=322
12840:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
12841:          OR c=34034
12842:          OR b=410
12843:   }
12844: } {15 38 41 60 61 63 67 71 73 93 100 scan 0 sort 0}
12845: do_test where7-2.553.2 {
12846:   count_steps_sort {
12847:      SELECT a FROM t3
12848:       WHERE b=795
12849:          OR b=671
12850:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
12851:          OR ((a BETWEEN 71 AND 73) AND a!=72)
12852:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
12853:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
12854:          OR b=322
12855:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
12856:          OR c=34034
12857:          OR b=410
12858:   }
12859: } {15 38 41 60 61 63 67 71 73 93 100 scan 0 sort 0}
12860: do_test where7-2.554.1 {
12861:   count_steps_sort {
12862:      SELECT a FROM t2
12863:       WHERE c=13013
12864:          OR (g='fedcbaz' AND f GLOB 'qrstu*')
12865:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
12866:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
12867:          OR b=47
12868:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
12869:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
12870:          OR b=828
12871:   }
12872: } {37 38 39 42 61 69 79 94 scan 0 sort 0}
12873: do_test where7-2.554.2 {
12874:   count_steps_sort {
12875:      SELECT a FROM t3
12876:       WHERE c=13013
12877:          OR (g='fedcbaz' AND f GLOB 'qrstu*')
12878:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
12879:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
12880:          OR b=47
12881:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
12882:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
12883:          OR b=828
12884:   }
12885: } {37 38 39 42 61 69 79 94 scan 0 sort 0}
12886: do_test where7-2.555.1 {
12887:   count_steps_sort {
12888:      SELECT a FROM t2
12889:       WHERE b=451
12890:          OR b=836
12891:          OR (g='onmlkji' AND f GLOB 'wxyza*')
12892:   }
12893: } {41 48 76 scan 0 sort 0}
12894: do_test where7-2.555.2 {
12895:   count_steps_sort {
12896:      SELECT a FROM t3
12897:       WHERE b=451
12898:          OR b=836
12899:          OR (g='onmlkji' AND f GLOB 'wxyza*')
12900:   }
12901: } {41 48 76 scan 0 sort 0}
12902: do_test where7-2.556.1 {
12903:   count_steps_sort {
12904:      SELECT a FROM t2
12905:       WHERE b=575
12906:          OR b=748
12907:          OR b=520
12908:          OR b=154
12909:          OR a=70
12910:          OR f='efghijklm'
12911:   }
12912: } {4 14 30 56 68 70 82 scan 0 sort 0}
12913: do_test where7-2.556.2 {
12914:   count_steps_sort {
12915:      SELECT a FROM t3
12916:       WHERE b=575
12917:          OR b=748
12918:          OR b=520
12919:          OR b=154
12920:          OR a=70
12921:          OR f='efghijklm'
12922:   }
12923: } {4 14 30 56 68 70 82 scan 0 sort 0}
12924: do_test where7-2.557.1 {
12925:   count_steps_sort {
12926:      SELECT a FROM t2
12927:       WHERE f='tuvwxyzab'
12928:          OR (g='nmlkjih' AND f GLOB 'efghi*')
12929:   }
12930: } {19 45 56 71 97 scan 0 sort 0}
12931: do_test where7-2.557.2 {
12932:   count_steps_sort {
12933:      SELECT a FROM t3
12934:       WHERE f='tuvwxyzab'
12935:          OR (g='nmlkjih' AND f GLOB 'efghi*')
12936:   }
12937: } {19 45 56 71 97 scan 0 sort 0}
12938: do_test where7-2.558.1 {
12939:   count_steps_sort {
12940:      SELECT a FROM t2
12941:       WHERE (d>=12.0 AND d<13.0 AND d NOT NULL)
12942:          OR b=806
12943:          OR a=47
12944:          OR d<0.0
12945:          OR b=982
12946:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
12947:          OR (g='hgfedcb' AND f GLOB 'jklmn*')
12948:          OR ((a BETWEEN 97 AND 99) AND a!=98)
12949:          OR e IS NULL
12950:          OR c=32032
12951:          OR b=795
12952:   }
12953: } {2 12 47 87 94 95 96 97 99 scan 0 sort 0}
12954: do_test where7-2.558.2 {
12955:   count_steps_sort {
12956:      SELECT a FROM t3
12957:       WHERE (d>=12.0 AND d<13.0 AND d NOT NULL)
12958:          OR b=806
12959:          OR a=47
12960:          OR d<0.0
12961:          OR b=982
12962:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
12963:          OR (g='hgfedcb' AND f GLOB 'jklmn*')
12964:          OR ((a BETWEEN 97 AND 99) AND a!=98)
12965:          OR e IS NULL
12966:          OR c=32032
12967:          OR b=795
12968:   }
12969: } {2 12 47 87 94 95 96 97 99 scan 0 sort 0}
12970: do_test where7-2.559.1 {
12971:   count_steps_sort {
12972:      SELECT a FROM t2
12973:       WHERE a=62
12974:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
12975:          OR ((a BETWEEN 89 AND 91) AND a!=90)
12976:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
12977:   }
12978: } {23 49 62 75 89 91 99 scan 0 sort 0}
12979: do_test where7-2.559.2 {
12980:   count_steps_sort {
12981:      SELECT a FROM t3
12982:       WHERE a=62
12983:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
12984:          OR ((a BETWEEN 89 AND 91) AND a!=90)
12985:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
12986:   }
12987: } {23 49 62 75 89 91 99 scan 0 sort 0}
12988: do_test where7-2.560.1 {
12989:   count_steps_sort {
12990:      SELECT a FROM t2
12991:       WHERE (d>=57.0 AND d<58.0 AND d NOT NULL)
12992:          OR b=1056
12993:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
12994:          OR b=729
12995:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
12996:          OR b=220
12997:          OR b=498
12998:          OR ((a BETWEEN 96 AND 98) AND a!=97)
12999:   }
13000: } {9 20 57 73 96 98 scan 0 sort 0}
13001: do_test where7-2.560.2 {
13002:   count_steps_sort {
13003:      SELECT a FROM t3
13004:       WHERE (d>=57.0 AND d<58.0 AND d NOT NULL)
13005:          OR b=1056
13006:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
13007:          OR b=729
13008:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
13009:          OR b=220
13010:          OR b=498
13011:          OR ((a BETWEEN 96 AND 98) AND a!=97)
13012:   }
13013: } {9 20 57 73 96 98 scan 0 sort 0}
13014: do_test where7-2.561.1 {
13015:   count_steps_sort {
13016:      SELECT a FROM t2
13017:       WHERE b=44
13018:          OR (g='qponmlk' AND f GLOB 'mnopq*')
13019:          OR (g='wvutsrq' AND f GLOB 'klmno*')
13020:   }
13021: } {4 10 38 scan 0 sort 0}
13022: do_test where7-2.561.2 {
13023:   count_steps_sort {
13024:      SELECT a FROM t3
13025:       WHERE b=44
13026:          OR (g='qponmlk' AND f GLOB 'mnopq*')
13027:          OR (g='wvutsrq' AND f GLOB 'klmno*')
13028:   }
13029: } {4 10 38 scan 0 sort 0}
13030: do_test where7-2.562.1 {
13031:   count_steps_sort {
13032:      SELECT a FROM t2
13033:       WHERE b=883
13034:          OR b=311
13035:          OR b=880
13036:          OR (g='qponmlk' AND f GLOB 'pqrst*')
13037:          OR ((a BETWEEN 57 AND 59) AND a!=58)
13038:          OR a=88
13039:          OR b=154
13040:          OR a=94
13041:          OR a=37
13042:          OR c=31031
13043:   }
13044: } {14 37 41 57 59 80 88 91 92 93 94 scan 0 sort 0}
13045: do_test where7-2.562.2 {
13046:   count_steps_sort {
13047:      SELECT a FROM t3
13048:       WHERE b=883
13049:          OR b=311
13050:          OR b=880
13051:          OR (g='qponmlk' AND f GLOB 'pqrst*')
13052:          OR ((a BETWEEN 57 AND 59) AND a!=58)
13053:          OR a=88
13054:          OR b=154
13055:          OR a=94
13056:          OR a=37
13057:          OR c=31031
13058:   }
13059: } {14 37 41 57 59 80 88 91 92 93 94 scan 0 sort 0}
13060: do_test where7-2.563.1 {
13061:   count_steps_sort {
13062:      SELECT a FROM t2
13063:       WHERE (g='onmlkji' AND f GLOB 'xyzab*')
13064:          OR a=10
13065:          OR b=190
13066:          OR ((a BETWEEN 8 AND 10) AND a!=9)
13067:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
13068:          OR (g='gfedcba' AND f GLOB 'mnopq*')
13069:          OR ((a BETWEEN 67 AND 69) AND a!=68)
13070:          OR b=385
13071:          OR a=82
13072:          OR ((a BETWEEN 63 AND 65) AND a!=64)
13073:          OR c=22022
13074:   }
13075: } {8 10 35 49 55 63 64 65 66 67 69 82 90 scan 0 sort 0}
13076: do_test where7-2.563.2 {
13077:   count_steps_sort {
13078:      SELECT a FROM t3
13079:       WHERE (g='onmlkji' AND f GLOB 'xyzab*')
13080:          OR a=10
13081:          OR b=190
13082:          OR ((a BETWEEN 8 AND 10) AND a!=9)
13083:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
13084:          OR (g='gfedcba' AND f GLOB 'mnopq*')
13085:          OR ((a BETWEEN 67 AND 69) AND a!=68)
13086:          OR b=385
13087:          OR a=82
13088:          OR ((a BETWEEN 63 AND 65) AND a!=64)
13089:          OR c=22022
13090:   }
13091: } {8 10 35 49 55 63 64 65 66 67 69 82 90 scan 0 sort 0}
13092: do_test where7-2.564.1 {
13093:   count_steps_sort {
13094:      SELECT a FROM t2
13095:       WHERE b=1070
13096:          OR a=33
13097:          OR b=363
13098:          OR a=47
13099:   }
13100: } {33 47 scan 0 sort 0}
13101: do_test where7-2.564.2 {
13102:   count_steps_sort {
13103:      SELECT a FROM t3
13104:       WHERE b=1070
13105:          OR a=33
13106:          OR b=363
13107:          OR a=47
13108:   }
13109: } {33 47 scan 0 sort 0}
13110: do_test where7-2.565.1 {
13111:   count_steps_sort {
13112:      SELECT a FROM t2
13113:       WHERE c=1001
13114:          OR ((a BETWEEN 60 AND 62) AND a!=61)
13115:          OR ((a BETWEEN 63 AND 65) AND a!=64)
13116:          OR a=49
13117:          OR ((a BETWEEN 33 AND 35) AND a!=34)
13118:          OR c=33033
13119:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
13120:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
13121:          OR g IS NULL
13122:          OR b=220
13123:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
13124:   }
13125: } {1 2 3 18 20 33 35 49 60 62 63 65 70 81 97 98 99 scan 0 sort 0}
13126: do_test where7-2.565.2 {
13127:   count_steps_sort {
13128:      SELECT a FROM t3
13129:       WHERE c=1001
13130:          OR ((a BETWEEN 60 AND 62) AND a!=61)
13131:          OR ((a BETWEEN 63 AND 65) AND a!=64)
13132:          OR a=49
13133:          OR ((a BETWEEN 33 AND 35) AND a!=34)
13134:          OR c=33033
13135:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
13136:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
13137:          OR g IS NULL
13138:          OR b=220
13139:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
13140:   }
13141: } {1 2 3 18 20 33 35 49 60 62 63 65 70 81 97 98 99 scan 0 sort 0}
13142: do_test where7-2.566.1 {
13143:   count_steps_sort {
13144:      SELECT a FROM t2
13145:       WHERE (g='kjihgfe' AND f GLOB 'tuvwx*')
13146:          OR b=212
13147:          OR b=418
13148:          OR ((a BETWEEN 31 AND 33) AND a!=32)
13149:   }
13150: } {31 33 38 71 scan 0 sort 0}
13151: do_test where7-2.566.2 {
13152:   count_steps_sort {
13153:      SELECT a FROM t3
13154:       WHERE (g='kjihgfe' AND f GLOB 'tuvwx*')
13155:          OR b=212
13156:          OR b=418
13157:          OR ((a BETWEEN 31 AND 33) AND a!=32)
13158:   }
13159: } {31 33 38 71 scan 0 sort 0}
13160: do_test where7-2.567.1 {
13161:   count_steps_sort {
13162:      SELECT a FROM t2
13163:       WHERE b=344
13164:          OR f='nopqrstuv'
13165:          OR b=704
13166:          OR a=84
13167:   }
13168: } {13 39 64 65 84 91 scan 0 sort 0}
13169: do_test where7-2.567.2 {
13170:   count_steps_sort {
13171:      SELECT a FROM t3
13172:       WHERE b=344
13173:          OR f='nopqrstuv'
13174:          OR b=704
13175:          OR a=84
13176:   }
13177: } {13 39 64 65 84 91 scan 0 sort 0}
13178: do_test where7-2.568.1 {
13179:   count_steps_sort {
13180:      SELECT a FROM t2
13181:       WHERE ((a BETWEEN 30 AND 32) AND a!=31)
13182:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
13183:   }
13184: } {5 30 32 scan 0 sort 0}
13185: do_test where7-2.568.2 {
13186:   count_steps_sort {
13187:      SELECT a FROM t3
13188:       WHERE ((a BETWEEN 30 AND 32) AND a!=31)
13189:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
13190:   }
13191: } {5 30 32 scan 0 sort 0}
13192: do_test where7-2.569.1 {
13193:   count_steps_sort {
13194:      SELECT a FROM t2
13195:       WHERE (g='hgfedcb' AND f GLOB 'jklmn*')
13196:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
13197:   }
13198: } {26 52 78 87 scan 0 sort 0}
13199: do_test where7-2.569.2 {
13200:   count_steps_sort {
13201:      SELECT a FROM t3
13202:       WHERE (g='hgfedcb' AND f GLOB 'jklmn*')
13203:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
13204:   }
13205: } {26 52 78 87 scan 0 sort 0}
13206: do_test where7-2.570.1 {
13207:   count_steps_sort {
13208:      SELECT a FROM t2
13209:       WHERE ((a BETWEEN 0 AND 2) AND a!=1)
13210:          OR b=1100
13211:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
13212:          OR b=421
13213:          OR b=465
13214:          OR b=894
13215:          OR c=13013
13216:          OR b=47
13217:          OR b=674
13218:          OR ((a BETWEEN 0 AND 2) AND a!=1)
13219:   }
13220: } {2 37 38 39 70 100 scan 0 sort 0}
13221: do_test where7-2.570.2 {
13222:   count_steps_sort {
13223:      SELECT a FROM t3
13224:       WHERE ((a BETWEEN 0 AND 2) AND a!=1)
13225:          OR b=1100
13226:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
13227:          OR b=421
13228:          OR b=465
13229:          OR b=894
13230:          OR c=13013
13231:          OR b=47
13232:          OR b=674
13233:          OR ((a BETWEEN 0 AND 2) AND a!=1)
13234:   }
13235: } {2 37 38 39 70 100 scan 0 sort 0}
13236: do_test where7-2.571.1 {
13237:   count_steps_sort {
13238:      SELECT a FROM t2
13239:       WHERE c=18018
13240:          OR (g='ihgfedc' AND f GLOB 'abcde*')
13241:          OR b=410
13242:          OR b=858
13243:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
13244:   }
13245: } {49 52 53 54 78 scan 0 sort 0}
13246: do_test where7-2.571.2 {
13247:   count_steps_sort {
13248:      SELECT a FROM t3
13249:       WHERE c=18018
13250:          OR (g='ihgfedc' AND f GLOB 'abcde*')
13251:          OR b=410
13252:          OR b=858
13253:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
13254:   }
13255: } {49 52 53 54 78 scan 0 sort 0}
13256: do_test where7-2.572.1 {
13257:   count_steps_sort {
13258:      SELECT a FROM t2
13259:       WHERE (g='ponmlkj' AND f GLOB 'vwxyz*')
13260:          OR b=781
13261:   }
13262: } {47 71 scan 0 sort 0}
13263: do_test where7-2.572.2 {
13264:   count_steps_sort {
13265:      SELECT a FROM t3
13266:       WHERE (g='ponmlkj' AND f GLOB 'vwxyz*')
13267:          OR b=781
13268:   }
13269: } {47 71 scan 0 sort 0}
13270: do_test where7-2.573.1 {
13271:   count_steps_sort {
13272:      SELECT a FROM t2
13273:       WHERE b=1070
13274:          OR ((a BETWEEN 50 AND 52) AND a!=51)
13275:          OR a=54
13276:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
13277:          OR a=9
13278:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
13279:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
13280:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
13281:   }
13282: } {7 9 25 33 47 50 52 54 59 63 85 scan 0 sort 0}
13283: do_test where7-2.573.2 {
13284:   count_steps_sort {
13285:      SELECT a FROM t3
13286:       WHERE b=1070
13287:          OR ((a BETWEEN 50 AND 52) AND a!=51)
13288:          OR a=54
13289:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
13290:          OR a=9
13291:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
13292:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
13293:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
13294:   }
13295: } {7 9 25 33 47 50 52 54 59 63 85 scan 0 sort 0}
13296: do_test where7-2.574.1 {
13297:   count_steps_sort {
13298:      SELECT a FROM t2
13299:       WHERE a=55
13300:          OR a=62
13301:          OR a=63
13302:          OR (g='onmlkji' AND f GLOB 'yzabc*')
13303:          OR (g='rqponml' AND f GLOB 'ijklm*')
13304:          OR ((a BETWEEN 99 AND 101) AND a!=100)
13305:   }
13306: } {34 50 55 62 63 99 scan 0 sort 0}
13307: do_test where7-2.574.2 {
13308:   count_steps_sort {
13309:      SELECT a FROM t3
13310:       WHERE a=55
13311:          OR a=62
13312:          OR a=63
13313:          OR (g='onmlkji' AND f GLOB 'yzabc*')
13314:          OR (g='rqponml' AND f GLOB 'ijklm*')
13315:          OR ((a BETWEEN 99 AND 101) AND a!=100)
13316:   }
13317: } {34 50 55 62 63 99 scan 0 sort 0}
13318: do_test where7-2.575.1 {
13319:   count_steps_sort {
13320:      SELECT a FROM t2
13321:       WHERE b=421
13322:          OR b=146
13323:          OR b=22
13324:          OR f='efghijklm'
13325:   }
13326: } {2 4 30 56 82 scan 0 sort 0}
13327: do_test where7-2.575.2 {
13328:   count_steps_sort {
13329:      SELECT a FROM t3
13330:       WHERE b=421
13331:          OR b=146
13332:          OR b=22
13333:          OR f='efghijklm'
13334:   }
13335: } {2 4 30 56 82 scan 0 sort 0}
13336: do_test where7-2.576.1 {
13337:   count_steps_sort {
13338:      SELECT a FROM t2
13339:       WHERE b=553
13340:          OR ((a BETWEEN 21 AND 23) AND a!=22)
13341:          OR (g='onmlkji' AND f GLOB 'wxyza*')
13342:          OR (d>=59.0 AND d<60.0 AND d NOT NULL)
13343:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
13344:          OR b=583
13345:          OR a=56
13346:   }
13347: } {21 23 48 53 56 59 61 scan 0 sort 0}
13348: do_test where7-2.576.2 {
13349:   count_steps_sort {
13350:      SELECT a FROM t3
13351:       WHERE b=553
13352:          OR ((a BETWEEN 21 AND 23) AND a!=22)
13353:          OR (g='onmlkji' AND f GLOB 'wxyza*')
13354:          OR (d>=59.0 AND d<60.0 AND d NOT NULL)
13355:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
13356:          OR b=583
13357:          OR a=56
13358:   }
13359: } {21 23 48 53 56 59 61 scan 0 sort 0}
13360: do_test where7-2.577.1 {
13361:   count_steps_sort {
13362:      SELECT a FROM t2
13363:       WHERE a=83
13364:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
13365:          OR (g='srqponm' AND f GLOB 'defgh*')
13366:          OR a=1
13367:          OR ((a BETWEEN 17 AND 19) AND a!=18)
13368:          OR ((a BETWEEN 49 AND 51) AND a!=50)
13369:          OR b=245
13370:   }
13371: } {1 17 19 29 49 51 77 83 scan 0 sort 0}
13372: do_test where7-2.577.2 {
13373:   count_steps_sort {
13374:      SELECT a FROM t3
13375:       WHERE a=83
13376:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
13377:          OR (g='srqponm' AND f GLOB 'defgh*')
13378:          OR a=1
13379:          OR ((a BETWEEN 17 AND 19) AND a!=18)
13380:          OR ((a BETWEEN 49 AND 51) AND a!=50)
13381:          OR b=245
13382:   }
13383: } {1 17 19 29 49 51 77 83 scan 0 sort 0}
13384: do_test where7-2.578.1 {
13385:   count_steps_sort {
13386:      SELECT a FROM t2
13387:       WHERE c=3003
13388:          OR b=619
13389:          OR ((a BETWEEN 19 AND 21) AND a!=20)
13390:   }
13391: } {7 8 9 19 21 scan 0 sort 0}
13392: do_test where7-2.578.2 {
13393:   count_steps_sort {
13394:      SELECT a FROM t3
13395:       WHERE c=3003
13396:          OR b=619
13397:          OR ((a BETWEEN 19 AND 21) AND a!=20)
13398:   }
13399: } {7 8 9 19 21 scan 0 sort 0}
13400: do_test where7-2.579.1 {
13401:   count_steps_sort {
13402:      SELECT a FROM t2
13403:       WHERE b=924
13404:          OR a=92
13405:          OR a=63
13406:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
13407:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
13408:   }
13409: } {60 63 84 92 97 scan 0 sort 0}
13410: do_test where7-2.579.2 {
13411:   count_steps_sort {
13412:      SELECT a FROM t3
13413:       WHERE b=924
13414:          OR a=92
13415:          OR a=63
13416:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
13417:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
13418:   }
13419: } {60 63 84 92 97 scan 0 sort 0}
13420: do_test where7-2.580.1 {
13421:   count_steps_sort {
13422:      SELECT a FROM t2
13423:       WHERE b=440
13424:          OR f='vwxyzabcd'
13425:          OR b=190
13426:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
13427:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
13428:          OR b=88
13429:          OR b=58
13430:   }
13431: } {8 11 21 37 40 42 47 63 73 89 99 scan 0 sort 0}
13432: do_test where7-2.580.2 {
13433:   count_steps_sort {
13434:      SELECT a FROM t3
13435:       WHERE b=440
13436:          OR f='vwxyzabcd'
13437:          OR b=190
13438:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
13439:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
13440:          OR b=88
13441:          OR b=58
13442:   }
13443: } {8 11 21 37 40 42 47 63 73 89 99 scan 0 sort 0}
13444: do_test where7-2.581.1 {
13445:   count_steps_sort {
13446:      SELECT a FROM t2
13447:       WHERE b=495
13448:          OR c=24024
13449:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
13450:          OR b=1001
13451:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
13452:          OR d>1e10
13453:          OR b=531
13454:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
13455:          OR b=1089
13456:   }
13457: } {25 45 49 70 71 72 82 91 99 scan 0 sort 0}
13458: do_test where7-2.581.2 {
13459:   count_steps_sort {
13460:      SELECT a FROM t3
13461:       WHERE b=495
13462:          OR c=24024
13463:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
13464:          OR b=1001
13465:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
13466:          OR d>1e10
13467:          OR b=531
13468:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
13469:          OR b=1089
13470:   }
13471: } {25 45 49 70 71 72 82 91 99 scan 0 sort 0}
13472: do_test where7-2.582.1 {
13473:   count_steps_sort {
13474:      SELECT a FROM t2
13475:       WHERE (d>=48.0 AND d<49.0 AND d NOT NULL)
13476:          OR (d>=41.0 AND d<42.0 AND d NOT NULL)
13477:   }
13478: } {41 48 scan 0 sort 0}
13479: do_test where7-2.582.2 {
13480:   count_steps_sort {
13481:      SELECT a FROM t3
13482:       WHERE (d>=48.0 AND d<49.0 AND d NOT NULL)
13483:          OR (d>=41.0 AND d<42.0 AND d NOT NULL)
13484:   }
13485: } {41 48 scan 0 sort 0}
13486: do_test where7-2.583.1 {
13487:   count_steps_sort {
13488:      SELECT a FROM t2
13489:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
13490:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
13491:          OR ((a BETWEEN 80 AND 82) AND a!=81)
13492:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
13493:          OR ((a BETWEEN 91 AND 93) AND a!=92)
13494:          OR d>1e10
13495:          OR b=22
13496:          OR c=5005
13497:          OR ((a BETWEEN 22 AND 24) AND a!=23)
13498:   }
13499: } {1 2 13 14 15 22 24 52 71 73 80 82 91 93 scan 0 sort 0}
13500: do_test where7-2.583.2 {
13501:   count_steps_sort {
13502:      SELECT a FROM t3
13503:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
13504:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
13505:          OR ((a BETWEEN 80 AND 82) AND a!=81)
13506:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
13507:          OR ((a BETWEEN 91 AND 93) AND a!=92)
13508:          OR d>1e10
13509:          OR b=22
13510:          OR c=5005
13511:          OR ((a BETWEEN 22 AND 24) AND a!=23)
13512:   }
13513: } {1 2 13 14 15 22 24 52 71 73 80 82 91 93 scan 0 sort 0}
13514: do_test where7-2.584.1 {
13515:   count_steps_sort {
13516:      SELECT a FROM t2
13517:       WHERE ((a BETWEEN 9 AND 11) AND a!=10)
13518:          OR b=1078
13519:          OR b=806
13520:          OR b=605
13521:          OR ((a BETWEEN 23 AND 25) AND a!=24)
13522:          OR (g='jihgfed' AND f GLOB 'yzabc*')
13523:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
13524:   }
13525: } {9 11 15 23 25 41 55 67 76 93 98 scan 0 sort 0}
13526: do_test where7-2.584.2 {
13527:   count_steps_sort {
13528:      SELECT a FROM t3
13529:       WHERE ((a BETWEEN 9 AND 11) AND a!=10)
13530:          OR b=1078
13531:          OR b=806
13532:          OR b=605
13533:          OR ((a BETWEEN 23 AND 25) AND a!=24)
13534:          OR (g='jihgfed' AND f GLOB 'yzabc*')
13535:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
13536:   }
13537: } {9 11 15 23 25 41 55 67 76 93 98 scan 0 sort 0}
13538: do_test where7-2.585.1 {
13539:   count_steps_sort {
13540:      SELECT a FROM t2
13541:       WHERE ((a BETWEEN 84 AND 86) AND a!=85)
13542:          OR b=572
13543:          OR c=10010
13544:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
13545:          OR a=29
13546:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
13547:   }
13548: } {7 28 29 30 33 52 59 68 84 85 86 scan 0 sort 0}
13549: do_test where7-2.585.2 {
13550:   count_steps_sort {
13551:      SELECT a FROM t3
13552:       WHERE ((a BETWEEN 84 AND 86) AND a!=85)
13553:          OR b=572
13554:          OR c=10010
13555:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
13556:          OR a=29
13557:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
13558:   }
13559: } {7 28 29 30 33 52 59 68 84 85 86 scan 0 sort 0}
13560: do_test where7-2.586.1 {
13561:   count_steps_sort {
13562:      SELECT a FROM t2
13563:       WHERE ((a BETWEEN 94 AND 96) AND a!=95)
13564:          OR b=858
13565:          OR b=806
13566:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
13567:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
13568:   }
13569: } {63 77 78 94 96 scan 0 sort 0}
13570: do_test where7-2.586.2 {
13571:   count_steps_sort {
13572:      SELECT a FROM t3
13573:       WHERE ((a BETWEEN 94 AND 96) AND a!=95)
13574:          OR b=858
13575:          OR b=806
13576:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
13577:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
13578:   }
13579: } {63 77 78 94 96 scan 0 sort 0}
13580: do_test where7-2.587.1 {
13581:   count_steps_sort {
13582:      SELECT a FROM t2
13583:       WHERE f='vwxyzabcd'
13584:          OR a=72
13585:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
13586:          OR b=935
13587:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
13588:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
13589:          OR c=13013
13590:   }
13591: } {21 36 37 38 39 40 47 72 73 85 99 scan 0 sort 0}
13592: do_test where7-2.587.2 {
13593:   count_steps_sort {
13594:      SELECT a FROM t3
13595:       WHERE f='vwxyzabcd'
13596:          OR a=72
13597:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
13598:          OR b=935
13599:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
13600:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
13601:          OR c=13013
13602:   }
13603: } {21 36 37 38 39 40 47 72 73 85 99 scan 0 sort 0}
13604: do_test where7-2.588.1 {
13605:   count_steps_sort {
13606:      SELECT a FROM t2
13607:       WHERE c=5005
13608:          OR (g='gfedcba' AND f GLOB 'klmno*')
13609:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
13610:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
13611:          OR b=143
13612:          OR a=68
13613:          OR a=77
13614:          OR b=80
13615:   }
13616: } {13 14 15 43 44 68 77 88 scan 0 sort 0}
13617: do_test where7-2.588.2 {
13618:   count_steps_sort {
13619:      SELECT a FROM t3
13620:       WHERE c=5005
13621:          OR (g='gfedcba' AND f GLOB 'klmno*')
13622:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
13623:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
13624:          OR b=143
13625:          OR a=68
13626:          OR a=77
13627:          OR b=80
13628:   }
13629: } {13 14 15 43 44 68 77 88 scan 0 sort 0}
13630: do_test where7-2.589.1 {
13631:   count_steps_sort {
13632:      SELECT a FROM t2
13633:       WHERE (d>=5.0 AND d<6.0 AND d NOT NULL)
13634:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
13635:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
13636:          OR ((a BETWEEN 76 AND 78) AND a!=77)
13637:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
13638:          OR a=99
13639:          OR ((a BETWEEN 12 AND 14) AND a!=13)
13640:   }
13641: } {5 6 12 14 68 72 76 78 99 scan 0 sort 0}
13642: do_test where7-2.589.2 {
13643:   count_steps_sort {
13644:      SELECT a FROM t3
13645:       WHERE (d>=5.0 AND d<6.0 AND d NOT NULL)
13646:          OR (g='xwvutsr' AND f GLOB 'ghijk*')
13647:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
13648:          OR ((a BETWEEN 76 AND 78) AND a!=77)
13649:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
13650:          OR a=99
13651:          OR ((a BETWEEN 12 AND 14) AND a!=13)
13652:   }
13653: } {5 6 12 14 68 72 76 78 99 scan 0 sort 0}
13654: do_test where7-2.590.1 {
13655:   count_steps_sort {
13656:      SELECT a FROM t2
13657:       WHERE (g='qponmlk' AND f GLOB 'opqrs*')
13658:          OR ((a BETWEEN 88 AND 90) AND a!=89)
13659:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
13660:          OR (g='xwvutsr' AND f GLOB 'fghij*')
13661:          OR b=971
13662:          OR (g='xwvutsr' AND f GLOB 'fghij*')
13663:   }
13664: } {5 13 40 88 90 scan 0 sort 0}
13665: do_test where7-2.590.2 {
13666:   count_steps_sort {
13667:      SELECT a FROM t3
13668:       WHERE (g='qponmlk' AND f GLOB 'opqrs*')
13669:          OR ((a BETWEEN 88 AND 90) AND a!=89)
13670:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
13671:          OR (g='xwvutsr' AND f GLOB 'fghij*')
13672:          OR b=971
13673:          OR (g='xwvutsr' AND f GLOB 'fghij*')
13674:   }
13675: } {5 13 40 88 90 scan 0 sort 0}
13676: do_test where7-2.591.1 {
13677:   count_steps_sort {
13678:      SELECT a FROM t2
13679:       WHERE (f GLOB '?lmno*' AND f GLOB 'klmn*')
13680:          OR b=806
13681:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
13682:          OR b=1015
13683:          OR ((a BETWEEN 68 AND 70) AND a!=69)
13684:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
13685:   }
13686: } {10 13 36 39 43 62 65 68 70 88 91 scan 0 sort 0}
13687: do_test where7-2.591.2 {
13688:   count_steps_sort {
13689:      SELECT a FROM t3
13690:       WHERE (f GLOB '?lmno*' AND f GLOB 'klmn*')
13691:          OR b=806
13692:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
13693:          OR b=1015
13694:          OR ((a BETWEEN 68 AND 70) AND a!=69)
13695:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
13696:   }
13697: } {10 13 36 39 43 62 65 68 70 88 91 scan 0 sort 0}
13698: do_test where7-2.592.1 {
13699:   count_steps_sort {
13700:      SELECT a FROM t2
13701:       WHERE f='nopqrstuv'
13702:          OR b=993
13703:          OR a=76
13704:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
13705:          OR c=20020
13706:          OR a=26
13707:          OR b=1048
13708:          OR b=561
13709:          OR (g='rqponml' AND f GLOB 'klmno*')
13710:          OR ((a BETWEEN 55 AND 57) AND a!=56)
13711:          OR a=56
13712:   }
13713: } {13 26 36 39 51 55 56 57 58 59 60 65 76 79 91 scan 0 sort 0}
13714: do_test where7-2.592.2 {
13715:   count_steps_sort {
13716:      SELECT a FROM t3
13717:       WHERE f='nopqrstuv'
13718:          OR b=993
13719:          OR a=76
13720:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
13721:          OR c=20020
13722:          OR a=26
13723:          OR b=1048
13724:          OR b=561
13725:          OR (g='rqponml' AND f GLOB 'klmno*')
13726:          OR ((a BETWEEN 55 AND 57) AND a!=56)
13727:          OR a=56
13728:   }
13729: } {13 26 36 39 51 55 56 57 58 59 60 65 76 79 91 scan 0 sort 0}
13730: do_test where7-2.593.1 {
13731:   count_steps_sort {
13732:      SELECT a FROM t2
13733:       WHERE b=781
13734:          OR b=671
13735:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
13736:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
13737:          OR ((a BETWEEN 39 AND 41) AND a!=40)
13738:          OR b=113
13739:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
13740:          OR b=385
13741:          OR (g='hgfedcb' AND f GLOB 'fghij*')
13742:   }
13743: } {15 16 35 39 41 60 61 71 83 scan 0 sort 0}
13744: do_test where7-2.593.2 {
13745:   count_steps_sort {
13746:      SELECT a FROM t3
13747:       WHERE b=781
13748:          OR b=671
13749:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
13750:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
13751:          OR ((a BETWEEN 39 AND 41) AND a!=40)
13752:          OR b=113
13753:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
13754:          OR b=385
13755:          OR (g='hgfedcb' AND f GLOB 'fghij*')
13756:   }
13757: } {15 16 35 39 41 60 61 71 83 scan 0 sort 0}
13758: do_test where7-2.594.1 {
13759:   count_steps_sort {
13760:      SELECT a FROM t2
13761:       WHERE b=410
13762:          OR ((a BETWEEN 85 AND 87) AND a!=86)
13763:          OR b=674
13764:          OR b=825
13765:          OR b=704
13766:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
13767:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
13768:          OR ((a BETWEEN 58 AND 60) AND a!=59)
13769:          OR a=76
13770:          OR c=32032
13771:          OR ((a BETWEEN 43 AND 45) AND a!=44)
13772:   }
13773: } {9 43 45 58 60 61 64 75 76 85 87 94 95 96 scan 0 sort 0}
13774: do_test where7-2.594.2 {
13775:   count_steps_sort {
13776:      SELECT a FROM t3
13777:       WHERE b=410
13778:          OR ((a BETWEEN 85 AND 87) AND a!=86)
13779:          OR b=674
13780:          OR b=825
13781:          OR b=704
13782:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
13783:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
13784:          OR ((a BETWEEN 58 AND 60) AND a!=59)
13785:          OR a=76
13786:          OR c=32032
13787:          OR ((a BETWEEN 43 AND 45) AND a!=44)
13788:   }
13789: } {9 43 45 58 60 61 64 75 76 85 87 94 95 96 scan 0 sort 0}
13790: do_test where7-2.595.1 {
13791:   count_steps_sort {
13792:      SELECT a FROM t2
13793:       WHERE b=869
13794:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
13795:   }
13796: } {43 79 scan 0 sort 0}
13797: do_test where7-2.595.2 {
13798:   count_steps_sort {
13799:      SELECT a FROM t3
13800:       WHERE b=869
13801:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
13802:   }
13803: } {43 79 scan 0 sort 0}
13804: do_test where7-2.596.1 {
13805:   count_steps_sort {
13806:      SELECT a FROM t2
13807:       WHERE b=869
13808:          OR a=34
13809:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
13810:   }
13811: } {34 79 87 scan 0 sort 0}
13812: do_test where7-2.596.2 {
13813:   count_steps_sort {
13814:      SELECT a FROM t3
13815:       WHERE b=869
13816:          OR a=34
13817:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
13818:   }
13819: } {34 79 87 scan 0 sort 0}
13820: do_test where7-2.597.1 {
13821:   count_steps_sort {
13822:      SELECT a FROM t2
13823:       WHERE (g='rqponml' AND f GLOB 'hijkl*')
13824:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
13825:          OR a=8
13826:          OR a=72
13827:          OR ((a BETWEEN 95 AND 97) AND a!=96)
13828:          OR (g='gfedcba' AND f GLOB 'mnopq*')
13829:   }
13830: } {8 33 44 72 90 95 97 scan 0 sort 0}
13831: do_test where7-2.597.2 {
13832:   count_steps_sort {
13833:      SELECT a FROM t3
13834:       WHERE (g='rqponml' AND f GLOB 'hijkl*')
13835:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
13836:          OR a=8
13837:          OR a=72
13838:          OR ((a BETWEEN 95 AND 97) AND a!=96)
13839:          OR (g='gfedcba' AND f GLOB 'mnopq*')
13840:   }
13841: } {8 33 44 72 90 95 97 scan 0 sort 0}
13842: do_test where7-2.598.1 {
13843:   count_steps_sort {
13844:      SELECT a FROM t2
13845:       WHERE a=20
13846:          OR ((a BETWEEN 74 AND 76) AND a!=75)
13847:          OR b=341
13848:          OR (g='tsrqpon' AND f GLOB 'abcde*')
13849:          OR b=814
13850:          OR b=1026
13851:          OR a=14
13852:          OR a=13
13853:          OR b=1037
13854:          OR ((a BETWEEN 56 AND 58) AND a!=57)
13855:   }
13856: } {13 14 20 26 31 56 58 74 76 scan 0 sort 0}
13857: do_test where7-2.598.2 {
13858:   count_steps_sort {
13859:      SELECT a FROM t3
13860:       WHERE a=20
13861:          OR ((a BETWEEN 74 AND 76) AND a!=75)
13862:          OR b=341
13863:          OR (g='tsrqpon' AND f GLOB 'abcde*')
13864:          OR b=814
13865:          OR b=1026
13866:          OR a=14
13867:          OR a=13
13868:          OR b=1037
13869:          OR ((a BETWEEN 56 AND 58) AND a!=57)
13870:   }
13871: } {13 14 20 26 31 56 58 74 76 scan 0 sort 0}
13872: do_test where7-2.599.1 {
13873:   count_steps_sort {
13874:      SELECT a FROM t2
13875:       WHERE b=443
13876:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
13877:          OR b=839
13878:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
13879:          OR (g='onmlkji' AND f GLOB 'xyzab*')
13880:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
13881:          OR c=7007
13882:   }
13883: } {10 13 19 20 21 49 51 scan 0 sort 0}
13884: do_test where7-2.599.2 {
13885:   count_steps_sort {
13886:      SELECT a FROM t3
13887:       WHERE b=443
13888:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
13889:          OR b=839
13890:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
13891:          OR (g='onmlkji' AND f GLOB 'xyzab*')
13892:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
13893:          OR c=7007
13894:   }
13895: } {10 13 19 20 21 49 51 scan 0 sort 0}
13896: do_test where7-2.600.1 {
13897:   count_steps_sort {
13898:      SELECT a FROM t2
13899:       WHERE (f GLOB '?rstu*' AND f GLOB 'qrst*')
13900:          OR a=21
13901:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
13902:          OR (d>=3.0 AND d<4.0 AND d NOT NULL)
13903:          OR f='zabcdefgh'
13904:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
13905:          OR b=506
13906:          OR ((a BETWEEN 14 AND 16) AND a!=15)
13907:          OR b=88
13908:          OR b=190
13909:   }
13910: } {3 8 9 14 16 21 25 42 46 51 68 77 94 97 scan 0 sort 0}
13911: do_test where7-2.600.2 {
13912:   count_steps_sort {
13913:      SELECT a FROM t3
13914:       WHERE (f GLOB '?rstu*' AND f GLOB 'qrst*')
13915:          OR a=21
13916:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
13917:          OR (d>=3.0 AND d<4.0 AND d NOT NULL)
13918:          OR f='zabcdefgh'
13919:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
13920:          OR b=506
13921:          OR ((a BETWEEN 14 AND 16) AND a!=15)
13922:          OR b=88
13923:          OR b=190
13924:   }
13925: } {3 8 9 14 16 21 25 42 46 51 68 77 94 97 scan 0 sort 0}
13926: do_test where7-2.601.1 {
13927:   count_steps_sort {
13928:      SELECT a FROM t2
13929:       WHERE (d>=41.0 AND d<42.0 AND d NOT NULL)
13930:          OR f='bcdefghij'
13931:          OR ((a BETWEEN 68 AND 70) AND a!=69)
13932:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
13933:          OR (g='srqponm' AND f GLOB 'efghi*')
13934:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
13935:          OR b=762
13936:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
13937:          OR (g='jihgfed' AND f GLOB 'yzabc*')
13938:   }
13939: } {1 27 30 41 53 54 61 63 68 70 76 79 scan 0 sort 0}
13940: do_test where7-2.601.2 {
13941:   count_steps_sort {
13942:      SELECT a FROM t3
13943:       WHERE (d>=41.0 AND d<42.0 AND d NOT NULL)
13944:          OR f='bcdefghij'
13945:          OR ((a BETWEEN 68 AND 70) AND a!=69)
13946:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
13947:          OR (g='srqponm' AND f GLOB 'efghi*')
13948:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
13949:          OR b=762
13950:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
13951:          OR (g='jihgfed' AND f GLOB 'yzabc*')
13952:   }
13953: } {1 27 30 41 53 54 61 63 68 70 76 79 scan 0 sort 0}
13954: do_test where7-2.602.1 {
13955:   count_steps_sort {
13956:      SELECT a FROM t2
13957:       WHERE (d>=85.0 AND d<86.0 AND d NOT NULL)
13958:          OR f='qrstuvwxy'
13959:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
13960:   }
13961: } {16 42 56 68 85 94 scan 0 sort 0}
13962: do_test where7-2.602.2 {
13963:   count_steps_sort {
13964:      SELECT a FROM t3
13965:       WHERE (d>=85.0 AND d<86.0 AND d NOT NULL)
13966:          OR f='qrstuvwxy'
13967:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
13968:   }
13969: } {16 42 56 68 85 94 scan 0 sort 0}
13970: do_test where7-2.603.1 {
13971:   count_steps_sort {
13972:      SELECT a FROM t2
13973:       WHERE (d>=89.0 AND d<90.0 AND d NOT NULL)
13974:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
13975:          OR a=21
13976:          OR b<0
13977:          OR f='bcdefghij'
13978:          OR ((a BETWEEN 14 AND 16) AND a!=15)
13979:   }
13980: } {1 14 16 21 27 53 57 79 89 scan 0 sort 0}
13981: do_test where7-2.603.2 {
13982:   count_steps_sort {
13983:      SELECT a FROM t3
13984:       WHERE (d>=89.0 AND d<90.0 AND d NOT NULL)
13985:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
13986:          OR a=21
13987:          OR b<0
13988:          OR f='bcdefghij'
13989:          OR ((a BETWEEN 14 AND 16) AND a!=15)
13990:   }
13991: } {1 14 16 21 27 53 57 79 89 scan 0 sort 0}
13992: do_test where7-2.604.1 {
13993:   count_steps_sort {
13994:      SELECT a FROM t2
13995:       WHERE (d>=55.0 AND d<56.0 AND d NOT NULL)
13996:          OR (g='hgfedcb' AND f GLOB 'fghij*')
13997:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
13998:          OR b=1067
13999:          OR b=231
14000:          OR b=113
14001:          OR b=22
14002:          OR a=55
14003:          OR b=663
14004:   }
14005: } {2 21 40 55 83 97 scan 0 sort 0}
14006: do_test where7-2.604.2 {
14007:   count_steps_sort {
14008:      SELECT a FROM t3
14009:       WHERE (d>=55.0 AND d<56.0 AND d NOT NULL)
14010:          OR (g='hgfedcb' AND f GLOB 'fghij*')
14011:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
14012:          OR b=1067
14013:          OR b=231
14014:          OR b=113
14015:          OR b=22
14016:          OR a=55
14017:          OR b=663
14018:   }
14019: } {2 21 40 55 83 97 scan 0 sort 0}
14020: do_test where7-2.605.1 {
14021:   count_steps_sort {
14022:      SELECT a FROM t2
14023:       WHERE a=1
14024:          OR b=454
14025:          OR b=396
14026:          OR b=1059
14027:          OR a=69
14028:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
14029:          OR b=440
14030:          OR b=825
14031:   }
14032: } {1 21 36 40 47 69 73 75 99 scan 0 sort 0}
14033: do_test where7-2.605.2 {
14034:   count_steps_sort {
14035:      SELECT a FROM t3
14036:       WHERE a=1
14037:          OR b=454
14038:          OR b=396
14039:          OR b=1059
14040:          OR a=69
14041:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
14042:          OR b=440
14043:          OR b=825
14044:   }
14045: } {1 21 36 40 47 69 73 75 99 scan 0 sort 0}
14046: do_test where7-2.606.1 {
14047:   count_steps_sort {
14048:      SELECT a FROM t2
14049:       WHERE (d>=26.0 AND d<27.0 AND d NOT NULL)
14050:          OR b=308
14051:          OR c<=10
14052:          OR (g='xwvutsr' AND f GLOB 'hijkl*')
14053:          OR f='ghijklmno'
14054:          OR b=289
14055:          OR a=5
14056:          OR b=267
14057:          OR b=949
14058:          OR ((a BETWEEN 7 AND 9) AND a!=8)
14059:   }
14060: } {5 6 7 9 26 28 32 58 84 scan 0 sort 0}
14061: do_test where7-2.606.2 {
14062:   count_steps_sort {
14063:      SELECT a FROM t3
14064:       WHERE (d>=26.0 AND d<27.0 AND d NOT NULL)
14065:          OR b=308
14066:          OR c<=10
14067:          OR (g='xwvutsr' AND f GLOB 'hijkl*')
14068:          OR f='ghijklmno'
14069:          OR b=289
14070:          OR a=5
14071:          OR b=267
14072:          OR b=949
14073:          OR ((a BETWEEN 7 AND 9) AND a!=8)
14074:   }
14075: } {5 6 7 9 26 28 32 58 84 scan 0 sort 0}
14076: do_test where7-2.607.1 {
14077:   count_steps_sort {
14078:      SELECT a FROM t2
14079:       WHERE ((a BETWEEN 95 AND 97) AND a!=96)
14080:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
14081:          OR b=993
14082:          OR ((a BETWEEN 43 AND 45) AND a!=44)
14083:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
14084:          OR b=663
14085:          OR (g='ihgfedc' AND f GLOB 'defgh*')
14086:          OR b=869
14087:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
14088:          OR b=121
14089:   }
14090: } {11 17 24 43 45 50 76 79 81 95 97 scan 0 sort 0}
14091: do_test where7-2.607.2 {
14092:   count_steps_sort {
14093:      SELECT a FROM t3
14094:       WHERE ((a BETWEEN 95 AND 97) AND a!=96)
14095:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
14096:          OR b=993
14097:          OR ((a BETWEEN 43 AND 45) AND a!=44)
14098:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
14099:          OR b=663
14100:          OR (g='ihgfedc' AND f GLOB 'defgh*')
14101:          OR b=869
14102:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
14103:          OR b=121
14104:   }
14105: } {11 17 24 43 45 50 76 79 81 95 97 scan 0 sort 0}
14106: do_test where7-2.608.1 {
14107:   count_steps_sort {
14108:      SELECT a FROM t2
14109:       WHERE (g='xwvutsr' AND f GLOB 'efghi*')
14110:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
14111:          OR (g='hgfedcb' AND f GLOB 'jklmn*')
14112:          OR b=770
14113:   }
14114: } {4 27 70 87 scan 0 sort 0}
14115: do_test where7-2.608.2 {
14116:   count_steps_sort {
14117:      SELECT a FROM t3
14118:       WHERE (g='xwvutsr' AND f GLOB 'efghi*')
14119:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
14120:          OR (g='hgfedcb' AND f GLOB 'jklmn*')
14121:          OR b=770
14122:   }
14123: } {4 27 70 87 scan 0 sort 0}
14124: do_test where7-2.609.1 {
14125:   count_steps_sort {
14126:      SELECT a FROM t2
14127:       WHERE ((a BETWEEN 80 AND 82) AND a!=81)
14128:          OR (g='nmlkjih' AND f GLOB 'fghij*')
14129:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
14130:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
14131:          OR (g='gfedcba' AND f GLOB 'mnopq*')
14132:   }
14133: } {19 45 57 71 80 82 90 97 scan 0 sort 0}
14134: do_test where7-2.609.2 {
14135:   count_steps_sort {
14136:      SELECT a FROM t3
14137:       WHERE ((a BETWEEN 80 AND 82) AND a!=81)
14138:          OR (g='nmlkjih' AND f GLOB 'fghij*')
14139:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
14140:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
14141:          OR (g='gfedcba' AND f GLOB 'mnopq*')
14142:   }
14143: } {19 45 57 71 80 82 90 97 scan 0 sort 0}
14144: do_test where7-2.610.1 {
14145:   count_steps_sort {
14146:      SELECT a FROM t2
14147:       WHERE b=22
14148:          OR c=31031
14149:          OR b=894
14150:          OR a=31
14151:          OR ((a BETWEEN 84 AND 86) AND a!=85)
14152:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
14153:          OR a=94
14154:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
14155:          OR ((a BETWEEN 93 AND 95) AND a!=94)
14156:          OR a=21
14157:          OR b=1001
14158:   }
14159: } {2 21 31 84 86 91 92 93 94 95 scan 0 sort 0}
14160: do_test where7-2.610.2 {
14161:   count_steps_sort {
14162:      SELECT a FROM t3
14163:       WHERE b=22
14164:          OR c=31031
14165:          OR b=894
14166:          OR a=31
14167:          OR ((a BETWEEN 84 AND 86) AND a!=85)
14168:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
14169:          OR a=94
14170:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
14171:          OR ((a BETWEEN 93 AND 95) AND a!=94)
14172:          OR a=21
14173:          OR b=1001
14174:   }
14175: } {2 21 31 84 86 91 92 93 94 95 scan 0 sort 0}
14176: do_test where7-2.611.1 {
14177:   count_steps_sort {
14178:      SELECT a FROM t2
14179:       WHERE (g='onmlkji' AND f GLOB 'zabcd*')
14180:          OR b=1092
14181:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
14182:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
14183:          OR a=77
14184:          OR a=63
14185:          OR b=762
14186:          OR b=894
14187:          OR b=685
14188:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
14189:   }
14190: } {13 46 51 63 77 80 scan 0 sort 0}
14191: do_test where7-2.611.2 {
14192:   count_steps_sort {
14193:      SELECT a FROM t3
14194:       WHERE (g='onmlkji' AND f GLOB 'zabcd*')
14195:          OR b=1092
14196:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
14197:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
14198:          OR a=77
14199:          OR a=63
14200:          OR b=762
14201:          OR b=894
14202:          OR b=685
14203:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
14204:   }
14205: } {13 46 51 63 77 80 scan 0 sort 0}
14206: do_test where7-2.612.1 {
14207:   count_steps_sort {
14208:      SELECT a FROM t2
14209:       WHERE (g='wvutsrq' AND f GLOB 'klmno*')
14210:          OR ((a BETWEEN 93 AND 95) AND a!=94)
14211:          OR b=231
14212:   }
14213: } {10 21 93 95 scan 0 sort 0}
14214: do_test where7-2.612.2 {
14215:   count_steps_sort {
14216:      SELECT a FROM t3
14217:       WHERE (g='wvutsrq' AND f GLOB 'klmno*')
14218:          OR ((a BETWEEN 93 AND 95) AND a!=94)
14219:          OR b=231
14220:   }
14221: } {10 21 93 95 scan 0 sort 0}
14222: do_test where7-2.613.1 {
14223:   count_steps_sort {
14224:      SELECT a FROM t2
14225:       WHERE b=828
14226:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
14227:          OR ((a BETWEEN 8 AND 10) AND a!=9)
14228:   }
14229: } {8 10 26 52 78 scan 0 sort 0}
14230: do_test where7-2.613.2 {
14231:   count_steps_sort {
14232:      SELECT a FROM t3
14233:       WHERE b=828
14234:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
14235:          OR ((a BETWEEN 8 AND 10) AND a!=9)
14236:   }
14237: } {8 10 26 52 78 scan 0 sort 0}
14238: do_test where7-2.614.1 {
14239:   count_steps_sort {
14240:      SELECT a FROM t2
14241:       WHERE (f GLOB '?opqr*' AND f GLOB 'nopq*')
14242:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
14243:          OR b=520
14244:          OR ((a BETWEEN 4 AND 6) AND a!=5)
14245:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
14246:          OR ((a BETWEEN 31 AND 33) AND a!=32)
14247:          OR (g='edcbazy' AND f GLOB 'wxyza*')
14248:          OR a=21
14249:   }
14250: } {4 6 13 21 31 33 39 47 50 65 91 100 scan 0 sort 0}
14251: do_test where7-2.614.2 {
14252:   count_steps_sort {
14253:      SELECT a FROM t3
14254:       WHERE (f GLOB '?opqr*' AND f GLOB 'nopq*')
14255:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
14256:          OR b=520
14257:          OR ((a BETWEEN 4 AND 6) AND a!=5)
14258:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
14259:          OR ((a BETWEEN 31 AND 33) AND a!=32)
14260:          OR (g='edcbazy' AND f GLOB 'wxyza*')
14261:          OR a=21
14262:   }
14263: } {4 6 13 21 31 33 39 47 50 65 91 100 scan 0 sort 0}
14264: do_test where7-2.615.1 {
14265:   count_steps_sort {
14266:      SELECT a FROM t2
14267:       WHERE b=553
14268:          OR (g='lkjihgf' AND f GLOB 'lmnop*')
14269:          OR b=1034
14270:          OR b=418
14271:          OR a=57
14272:          OR f='mnopqrstu'
14273:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
14274:   }
14275: } {12 38 57 63 64 90 94 99 scan 0 sort 0}
14276: do_test where7-2.615.2 {
14277:   count_steps_sort {
14278:      SELECT a FROM t3
14279:       WHERE b=553
14280:          OR (g='lkjihgf' AND f GLOB 'lmnop*')
14281:          OR b=1034
14282:          OR b=418
14283:          OR a=57
14284:          OR f='mnopqrstu'
14285:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
14286:   }
14287: } {12 38 57 63 64 90 94 99 scan 0 sort 0}
14288: do_test where7-2.616.1 {
14289:   count_steps_sort {
14290:      SELECT a FROM t2
14291:       WHERE a=43
14292:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
14293:          OR b=418
14294:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
14295:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
14296:          OR b=594
14297:          OR a=21
14298:          OR a=78
14299:          OR a=91
14300:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
14301:   }
14302: } {21 38 43 47 54 70 78 80 91 scan 0 sort 0}
14303: do_test where7-2.616.2 {
14304:   count_steps_sort {
14305:      SELECT a FROM t3
14306:       WHERE a=43
14307:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
14308:          OR b=418
14309:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
14310:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
14311:          OR b=594
14312:          OR a=21
14313:          OR a=78
14314:          OR a=91
14315:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
14316:   }
14317: } {21 38 43 47 54 70 78 80 91 scan 0 sort 0}
14318: do_test where7-2.617.1 {
14319:   count_steps_sort {
14320:      SELECT a FROM t2
14321:       WHERE b=671
14322:          OR (g='onmlkji' AND f GLOB 'wxyza*')
14323:          OR ((a BETWEEN 95 AND 97) AND a!=96)
14324:   }
14325: } {48 61 95 97 scan 0 sort 0}
14326: do_test where7-2.617.2 {
14327:   count_steps_sort {
14328:      SELECT a FROM t3
14329:       WHERE b=671
14330:          OR (g='onmlkji' AND f GLOB 'wxyza*')
14331:          OR ((a BETWEEN 95 AND 97) AND a!=96)
14332:   }
14333: } {48 61 95 97 scan 0 sort 0}
14334: do_test where7-2.618.1 {
14335:   count_steps_sort {
14336:      SELECT a FROM t2
14337:       WHERE (d>=2.0 AND d<3.0 AND d NOT NULL)
14338:          OR b=726
14339:          OR b=663
14340:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
14341:          OR a=25
14342:          OR f='qrstuvwxy'
14343:   }
14344: } {2 13 16 25 42 66 68 94 scan 0 sort 0}
14345: do_test where7-2.618.2 {
14346:   count_steps_sort {
14347:      SELECT a FROM t3
14348:       WHERE (d>=2.0 AND d<3.0 AND d NOT NULL)
14349:          OR b=726
14350:          OR b=663
14351:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
14352:          OR a=25
14353:          OR f='qrstuvwxy'
14354:   }
14355: } {2 13 16 25 42 66 68 94 scan 0 sort 0}
14356: do_test where7-2.619.1 {
14357:   count_steps_sort {
14358:      SELECT a FROM t2
14359:       WHERE b=806
14360:          OR (g='ihgfedc' AND f GLOB 'efghi*')
14361:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
14362:          OR ((a BETWEEN 10 AND 12) AND a!=11)
14363:          OR b=275
14364:          OR ((a BETWEEN 80 AND 82) AND a!=81)
14365:   }
14366: } {10 12 25 50 80 82 scan 0 sort 0}
14367: do_test where7-2.619.2 {
14368:   count_steps_sort {
14369:      SELECT a FROM t3
14370:       WHERE b=806
14371:          OR (g='ihgfedc' AND f GLOB 'efghi*')
14372:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
14373:          OR ((a BETWEEN 10 AND 12) AND a!=11)
14374:          OR b=275
14375:          OR ((a BETWEEN 80 AND 82) AND a!=81)
14376:   }
14377: } {10 12 25 50 80 82 scan 0 sort 0}
14378: do_test where7-2.620.1 {
14379:   count_steps_sort {
14380:      SELECT a FROM t2
14381:       WHERE c=24024
14382:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
14383:          OR b=429
14384:          OR (g='qponmlk' AND f GLOB 'nopqr*')
14385:          OR b=110
14386:          OR a=39
14387:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
14388:   }
14389: } {2 10 23 39 70 71 72 scan 0 sort 0}
14390: do_test where7-2.620.2 {
14391:   count_steps_sort {
14392:      SELECT a FROM t3
14393:       WHERE c=24024
14394:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
14395:          OR b=429
14396:          OR (g='qponmlk' AND f GLOB 'nopqr*')
14397:          OR b=110
14398:          OR a=39
14399:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
14400:   }
14401: } {2 10 23 39 70 71 72 scan 0 sort 0}
14402: do_test where7-2.621.1 {
14403:   count_steps_sort {
14404:      SELECT a FROM t2
14405:       WHERE a=66
14406:          OR ((a BETWEEN 68 AND 70) AND a!=69)
14407:          OR b=198
14408:          OR b=682
14409:          OR c=23023
14410:   }
14411: } {18 62 66 67 68 69 70 scan 0 sort 0}
14412: do_test where7-2.621.2 {
14413:   count_steps_sort {
14414:      SELECT a FROM t3
14415:       WHERE a=66
14416:          OR ((a BETWEEN 68 AND 70) AND a!=69)
14417:          OR b=198
14418:          OR b=682
14419:          OR c=23023
14420:   }
14421: } {18 62 66 67 68 69 70 scan 0 sort 0}
14422: do_test where7-2.622.1 {
14423:   count_steps_sort {
14424:      SELECT a FROM t2
14425:       WHERE b=806
14426:          OR b=253
14427:          OR a=36
14428:   }
14429: } {23 36 scan 0 sort 0}
14430: do_test where7-2.622.2 {
14431:   count_steps_sort {
14432:      SELECT a FROM t3
14433:       WHERE b=806
14434:          OR b=253
14435:          OR a=36
14436:   }
14437: } {23 36 scan 0 sort 0}
14438: do_test where7-2.623.1 {
14439:   count_steps_sort {
14440:      SELECT a FROM t2
14441:       WHERE b=509
14442:          OR ((a BETWEEN 22 AND 24) AND a!=23)
14443:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
14444:          OR b=718
14445:          OR a=4
14446:          OR ((a BETWEEN 56 AND 58) AND a!=57)
14447:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
14448:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
14449:   }
14450: } {4 13 16 22 24 56 58 69 scan 0 sort 0}
14451: do_test where7-2.623.2 {
14452:   count_steps_sort {
14453:      SELECT a FROM t3
14454:       WHERE b=509
14455:          OR ((a BETWEEN 22 AND 24) AND a!=23)
14456:          OR (g='vutsrqp' AND f GLOB 'nopqr*')
14457:          OR b=718
14458:          OR a=4
14459:          OR ((a BETWEEN 56 AND 58) AND a!=57)
14460:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
14461:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
14462:   }
14463: } {4 13 16 22 24 56 58 69 scan 0 sort 0}
14464: do_test where7-2.624.1 {
14465:   count_steps_sort {
14466:      SELECT a FROM t2
14467:       WHERE (g='jihgfed' AND f GLOB 'zabcd*')
14468:          OR b=1026
14469:          OR a=93
14470:          OR c=18018
14471:   }
14472: } {52 53 54 77 93 scan 0 sort 0}
14473: do_test where7-2.624.2 {
14474:   count_steps_sort {
14475:      SELECT a FROM t3
14476:       WHERE (g='jihgfed' AND f GLOB 'zabcd*')
14477:          OR b=1026
14478:          OR a=93
14479:          OR c=18018
14480:   }
14481: } {52 53 54 77 93 scan 0 sort 0}
14482: do_test where7-2.625.1 {
14483:   count_steps_sort {
14484:      SELECT a FROM t2
14485:       WHERE b=388
14486:          OR a=44
14487:   }
14488: } {44 scan 0 sort 0}
14489: do_test where7-2.625.2 {
14490:   count_steps_sort {
14491:      SELECT a FROM t3
14492:       WHERE b=388
14493:          OR a=44
14494:   }
14495: } {44 scan 0 sort 0}
14496: do_test where7-2.626.1 {
14497:   count_steps_sort {
14498:      SELECT a FROM t2
14499:       WHERE c=9009
14500:          OR b=542
14501:          OR f='cdefghijk'
14502:          OR b=319
14503:          OR b=616
14504:   }
14505: } {2 25 26 27 28 29 54 56 80 scan 0 sort 0}
14506: do_test where7-2.626.2 {
14507:   count_steps_sort {
14508:      SELECT a FROM t3
14509:       WHERE c=9009
14510:          OR b=542
14511:          OR f='cdefghijk'
14512:          OR b=319
14513:          OR b=616
14514:   }
14515: } {2 25 26 27 28 29 54 56 80 scan 0 sort 0}
14516: do_test where7-2.627.1 {
14517:   count_steps_sort {
14518:      SELECT a FROM t2
14519:       WHERE b=990
14520:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
14521:          OR ((a BETWEEN 41 AND 43) AND a!=42)
14522:          OR (g='nmlkjih' AND f GLOB 'fghij*')
14523:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
14524:          OR b=531
14525:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
14526:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
14527:          OR f='qrstuvwxy'
14528:   }
14529: } {6 16 32 41 42 43 57 58 67 68 84 86 90 94 97 scan 0 sort 0}
14530: do_test where7-2.627.2 {
14531:   count_steps_sort {
14532:      SELECT a FROM t3
14533:       WHERE b=990
14534:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
14535:          OR ((a BETWEEN 41 AND 43) AND a!=42)
14536:          OR (g='nmlkjih' AND f GLOB 'fghij*')
14537:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
14538:          OR b=531
14539:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
14540:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
14541:          OR f='qrstuvwxy'
14542:   }
14543: } {6 16 32 41 42 43 57 58 67 68 84 86 90 94 97 scan 0 sort 0}
14544: do_test where7-2.628.1 {
14545:   count_steps_sort {
14546:      SELECT a FROM t2
14547:       WHERE a=60
14548:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
14549:          OR b=627
14550:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
14551:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
14552:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
14553:          OR b=883
14554:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
14555:          OR f='yzabcdefg'
14556:          OR (d>=59.0 AND d<60.0 AND d NOT NULL)
14557:   }
14558: } {24 38 50 57 59 60 73 76 78 93 99 scan 0 sort 0}
14559: do_test where7-2.628.2 {
14560:   count_steps_sort {
14561:      SELECT a FROM t3
14562:       WHERE a=60
14563:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
14564:          OR b=627
14565:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
14566:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
14567:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
14568:          OR b=883
14569:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
14570:          OR f='yzabcdefg'
14571:          OR (d>=59.0 AND d<60.0 AND d NOT NULL)
14572:   }
14573: } {24 38 50 57 59 60 73 76 78 93 99 scan 0 sort 0}
14574: do_test where7-2.629.1 {
14575:   count_steps_sort {
14576:      SELECT a FROM t2
14577:       WHERE b=696
14578:          OR b=938
14579:          OR a=18
14580:          OR b=957
14581:          OR c=18018
14582:          OR c=3003
14583:          OR ((a BETWEEN 33 AND 35) AND a!=34)
14584:   }
14585: } {7 8 9 18 33 35 52 53 54 87 scan 0 sort 0}
14586: do_test where7-2.629.2 {
14587:   count_steps_sort {
14588:      SELECT a FROM t3
14589:       WHERE b=696
14590:          OR b=938
14591:          OR a=18
14592:          OR b=957
14593:          OR c=18018
14594:          OR c=3003
14595:          OR ((a BETWEEN 33 AND 35) AND a!=34)
14596:   }
14597: } {7 8 9 18 33 35 52 53 54 87 scan 0 sort 0}
14598: do_test where7-2.630.1 {
14599:   count_steps_sort {
14600:      SELECT a FROM t2
14601:       WHERE c=29029
14602:          OR a=73
14603:   }
14604: } {73 85 86 87 scan 0 sort 0}
14605: do_test where7-2.630.2 {
14606:   count_steps_sort {
14607:      SELECT a FROM t3
14608:       WHERE c=29029
14609:          OR a=73
14610:   }
14611: } {73 85 86 87 scan 0 sort 0}
14612: do_test where7-2.631.1 {
14613:   count_steps_sort {
14614:      SELECT a FROM t2
14615:       WHERE a=28
14616:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
14617:          OR b=69
14618:          OR ((a BETWEEN 85 AND 87) AND a!=86)
14619:          OR b=781
14620:          OR a=64
14621:          OR b=91
14622:          OR (g='ihgfedc' AND f GLOB 'efghi*')
14623:          OR a=16
14624:          OR b=278
14625:          OR a=26
14626:   }
14627: } {16 26 27 28 64 71 82 85 87 scan 0 sort 0}
14628: do_test where7-2.631.2 {
14629:   count_steps_sort {
14630:      SELECT a FROM t3
14631:       WHERE a=28
14632:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
14633:          OR b=69
14634:          OR ((a BETWEEN 85 AND 87) AND a!=86)
14635:          OR b=781
14636:          OR a=64
14637:          OR b=91
14638:          OR (g='ihgfedc' AND f GLOB 'efghi*')
14639:          OR a=16
14640:          OR b=278
14641:          OR a=26
14642:   }
14643: } {16 26 27 28 64 71 82 85 87 scan 0 sort 0}
14644: do_test where7-2.632.1 {
14645:   count_steps_sort {
14646:      SELECT a FROM t2
14647:       WHERE a=70
14648:          OR c=3003
14649:   }
14650: } {7 8 9 70 scan 0 sort 0}
14651: do_test where7-2.632.2 {
14652:   count_steps_sort {
14653:      SELECT a FROM t3
14654:       WHERE a=70
14655:          OR c=3003
14656:   }
14657: } {7 8 9 70 scan 0 sort 0}
14658: do_test where7-2.633.1 {
14659:   count_steps_sort {
14660:      SELECT a FROM t2
14661:       WHERE c=31031
14662:          OR a=76
14663:          OR b=1023
14664:          OR b=33
14665:   }
14666: } {3 76 91 92 93 scan 0 sort 0}
14667: do_test where7-2.633.2 {
14668:   count_steps_sort {
14669:      SELECT a FROM t3
14670:       WHERE c=31031
14671:          OR a=76
14672:          OR b=1023
14673:          OR b=33
14674:   }
14675: } {3 76 91 92 93 scan 0 sort 0}
14676: do_test where7-2.634.1 {
14677:   count_steps_sort {
14678:      SELECT a FROM t2
14679:       WHERE (d>=62.0 AND d<63.0 AND d NOT NULL)
14680:          OR b=1001
14681:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
14682:   }
14683: } {62 86 91 scan 0 sort 0}
14684: do_test where7-2.634.2 {
14685:   count_steps_sort {
14686:      SELECT a FROM t3
14687:       WHERE (d>=62.0 AND d<63.0 AND d NOT NULL)
14688:          OR b=1001
14689:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
14690:   }
14691: } {62 86 91 scan 0 sort 0}
14692: do_test where7-2.635.1 {
14693:   count_steps_sort {
14694:      SELECT a FROM t2
14695:       WHERE f='yzabcdefg'
14696:          OR ((a BETWEEN 48 AND 50) AND a!=49)
14697:          OR a=100
14698:          OR (g='rqponml' AND f GLOB 'ijklm*')
14699:          OR a=62
14700:          OR a=67
14701:          OR b=605
14702:          OR c=23023
14703:          OR a=26
14704:          OR b=982
14705:          OR ((a BETWEEN 3 AND 5) AND a!=4)
14706:   }
14707: } {3 5 24 26 34 48 50 55 62 67 68 69 76 100 scan 0 sort 0}
14708: do_test where7-2.635.2 {
14709:   count_steps_sort {
14710:      SELECT a FROM t3
14711:       WHERE f='yzabcdefg'
14712:          OR ((a BETWEEN 48 AND 50) AND a!=49)
14713:          OR a=100
14714:          OR (g='rqponml' AND f GLOB 'ijklm*')
14715:          OR a=62
14716:          OR a=67
14717:          OR b=605
14718:          OR c=23023
14719:          OR a=26
14720:          OR b=982
14721:          OR ((a BETWEEN 3 AND 5) AND a!=4)
14722:   }
14723: } {3 5 24 26 34 48 50 55 62 67 68 69 76 100 scan 0 sort 0}
14724: do_test where7-2.636.1 {
14725:   count_steps_sort {
14726:      SELECT a FROM t2
14727:       WHERE b=220
14728:          OR ((a BETWEEN 24 AND 26) AND a!=25)
14729:          OR f IS NULL
14730:          OR ((a BETWEEN 25 AND 27) AND a!=26)
14731:          OR b=784
14732:   }
14733: } {20 24 25 26 27 scan 0 sort 0}
14734: do_test where7-2.636.2 {
14735:   count_steps_sort {
14736:      SELECT a FROM t3
14737:       WHERE b=220
14738:          OR ((a BETWEEN 24 AND 26) AND a!=25)
14739:          OR f IS NULL
14740:          OR ((a BETWEEN 25 AND 27) AND a!=26)
14741:          OR b=784
14742:   }
14743: } {20 24 25 26 27 scan 0 sort 0}
14744: do_test where7-2.637.1 {
14745:   count_steps_sort {
14746:      SELECT a FROM t2
14747:       WHERE (f GLOB '?stuv*' AND f GLOB 'rstu*')
14748:          OR b=751
14749:          OR (g='gfedcba' AND f GLOB 'klmno*')
14750:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
14751:          OR a=67
14752:          OR b=102
14753:   }
14754: } {10 17 43 67 69 88 95 scan 0 sort 0}
14755: do_test where7-2.637.2 {
14756:   count_steps_sort {
14757:      SELECT a FROM t3
14758:       WHERE (f GLOB '?stuv*' AND f GLOB 'rstu*')
14759:          OR b=751
14760:          OR (g='gfedcba' AND f GLOB 'klmno*')
14761:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
14762:          OR a=67
14763:          OR b=102
14764:   }
14765: } {10 17 43 67 69 88 95 scan 0 sort 0}
14766: do_test where7-2.638.1 {
14767:   count_steps_sort {
14768:      SELECT a FROM t2
14769:       WHERE (d>=69.0 AND d<70.0 AND d NOT NULL)
14770:          OR b=256
14771:          OR c=7007
14772:          OR c=26026
14773:          OR ((a BETWEEN 80 AND 82) AND a!=81)
14774:          OR (d>=74.0 AND d<75.0 AND d NOT NULL)
14775:          OR a=66
14776:   }
14777: } {19 20 21 66 69 74 76 77 78 80 82 scan 0 sort 0}
14778: do_test where7-2.638.2 {
14779:   count_steps_sort {
14780:      SELECT a FROM t3
14781:       WHERE (d>=69.0 AND d<70.0 AND d NOT NULL)
14782:          OR b=256
14783:          OR c=7007
14784:          OR c=26026
14785:          OR ((a BETWEEN 80 AND 82) AND a!=81)
14786:          OR (d>=74.0 AND d<75.0 AND d NOT NULL)
14787:          OR a=66
14788:   }
14789: } {19 20 21 66 69 74 76 77 78 80 82 scan 0 sort 0}
14790: do_test where7-2.639.1 {
14791:   count_steps_sort {
14792:      SELECT a FROM t2
14793:       WHERE c=2002
14794:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
14795:          OR ((a BETWEEN 41 AND 43) AND a!=42)
14796:          OR (g='ihgfedc' AND f GLOB 'defgh*')
14797:          OR b=33
14798:          OR b=817
14799:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
14800:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
14801:          OR (g='xwvutsr' AND f GLOB 'efghi*')
14802:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
14803:   }
14804: } {3 4 5 6 8 10 21 34 41 43 45 60 81 86 scan 0 sort 0}
14805: do_test where7-2.639.2 {
14806:   count_steps_sort {
14807:      SELECT a FROM t3
14808:       WHERE c=2002
14809:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
14810:          OR ((a BETWEEN 41 AND 43) AND a!=42)
14811:          OR (g='ihgfedc' AND f GLOB 'defgh*')
14812:          OR b=33
14813:          OR b=817
14814:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
14815:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
14816:          OR (g='xwvutsr' AND f GLOB 'efghi*')
14817:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
14818:   }
14819: } {3 4 5 6 8 10 21 34 41 43 45 60 81 86 scan 0 sort 0}
14820: do_test where7-2.640.1 {
14821:   count_steps_sort {
14822:      SELECT a FROM t2
14823:       WHERE (g='srqponm' AND f GLOB 'cdefg*')
14824:          OR (g='ihgfedc' AND f GLOB 'defgh*')
14825:          OR a=80
14826:          OR a=53
14827:          OR a=62
14828:          OR a=49
14829:          OR a=53
14830:          OR a=56
14831:          OR (d>=83.0 AND d<84.0 AND d NOT NULL)
14832:   }
14833: } {28 49 53 56 62 80 81 83 scan 0 sort 0}
14834: do_test where7-2.640.2 {
14835:   count_steps_sort {
14836:      SELECT a FROM t3
14837:       WHERE (g='srqponm' AND f GLOB 'cdefg*')
14838:          OR (g='ihgfedc' AND f GLOB 'defgh*')
14839:          OR a=80
14840:          OR a=53
14841:          OR a=62
14842:          OR a=49
14843:          OR a=53
14844:          OR a=56
14845:          OR (d>=83.0 AND d<84.0 AND d NOT NULL)
14846:   }
14847: } {28 49 53 56 62 80 81 83 scan 0 sort 0}
14848: do_test where7-2.641.1 {
14849:   count_steps_sort {
14850:      SELECT a FROM t2
14851:       WHERE ((a BETWEEN 7 AND 9) AND a!=8)
14852:          OR b=652
14853:          OR a=72
14854:          OR b=209
14855:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
14856:          OR a=38
14857:          OR ((a BETWEEN 66 AND 68) AND a!=67)
14858:          OR d>1e10
14859:   }
14860: } {7 9 19 23 38 66 68 72 scan 0 sort 0}
14861: do_test where7-2.641.2 {
14862:   count_steps_sort {
14863:      SELECT a FROM t3
14864:       WHERE ((a BETWEEN 7 AND 9) AND a!=8)
14865:          OR b=652
14866:          OR a=72
14867:          OR b=209
14868:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
14869:          OR a=38
14870:          OR ((a BETWEEN 66 AND 68) AND a!=67)
14871:          OR d>1e10
14872:   }
14873: } {7 9 19 23 38 66 68 72 scan 0 sort 0}
14874: do_test where7-2.642.1 {
14875:   count_steps_sort {
14876:      SELECT a FROM t2
14877:       WHERE b=949
14878:          OR e IS NULL
14879:   }
14880: } { scan 0 sort 0}
14881: do_test where7-2.642.2 {
14882:   count_steps_sort {
14883:      SELECT a FROM t3
14884:       WHERE b=949
14885:          OR e IS NULL
14886:   }
14887: } { scan 0 sort 0}
14888: do_test where7-2.643.1 {
14889:   count_steps_sort {
14890:      SELECT a FROM t2
14891:       WHERE b=179
14892:          OR (g='srqponm' AND f GLOB 'defgh*')
14893:          OR b=509
14894:          OR ((a BETWEEN 58 AND 60) AND a!=59)
14895:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
14896:          OR (g='tsrqpon' AND f GLOB 'abcde*')
14897:          OR f='bcdefghij'
14898:   }
14899: } {1 26 27 29 49 53 58 60 79 scan 0 sort 0}
14900: do_test where7-2.643.2 {
14901:   count_steps_sort {
14902:      SELECT a FROM t3
14903:       WHERE b=179
14904:          OR (g='srqponm' AND f GLOB 'defgh*')
14905:          OR b=509
14906:          OR ((a BETWEEN 58 AND 60) AND a!=59)
14907:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
14908:          OR (g='tsrqpon' AND f GLOB 'abcde*')
14909:          OR f='bcdefghij'
14910:   }
14911: } {1 26 27 29 49 53 58 60 79 scan 0 sort 0}
14912: do_test where7-2.644.1 {
14913:   count_steps_sort {
14914:      SELECT a FROM t2
14915:       WHERE a=23
14916:          OR a=43
14917:          OR c=19019
14918:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
14919:          OR c=18018
14920:   }
14921: } {23 43 47 52 53 54 55 56 57 scan 0 sort 0}
14922: do_test where7-2.644.2 {
14923:   count_steps_sort {
14924:      SELECT a FROM t3
14925:       WHERE a=23
14926:          OR a=43
14927:          OR c=19019
14928:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
14929:          OR c=18018
14930:   }
14931: } {23 43 47 52 53 54 55 56 57 scan 0 sort 0}
14932: do_test where7-2.645.1 {
14933:   count_steps_sort {
14934:      SELECT a FROM t2
14935:       WHERE a=36
14936:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
14937:          OR b=231
14938:   }
14939: } {21 22 36 scan 0 sort 0}
14940: do_test where7-2.645.2 {
14941:   count_steps_sort {
14942:      SELECT a FROM t3
14943:       WHERE a=36
14944:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
14945:          OR b=231
14946:   }
14947: } {21 22 36 scan 0 sort 0}
14948: do_test where7-2.646.1 {
14949:   count_steps_sort {
14950:      SELECT a FROM t2
14951:       WHERE a=21
14952:          OR b=355
14953:          OR a=97
14954:   }
14955: } {21 97 scan 0 sort 0}
14956: do_test where7-2.646.2 {
14957:   count_steps_sort {
14958:      SELECT a FROM t3
14959:       WHERE a=21
14960:          OR b=355
14961:          OR a=97
14962:   }
14963: } {21 97 scan 0 sort 0}
14964: do_test where7-2.647.1 {
14965:   count_steps_sort {
14966:      SELECT a FROM t2
14967:       WHERE (d>=28.0 AND d<29.0 AND d NOT NULL)
14968:          OR b=421
14969:          OR (g='qponmlk' AND f GLOB 'qrstu*')
14970:          OR b=704
14971:          OR a=90
14972:          OR a=78
14973:          OR 1000000<b
14974:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
14975:          OR (g='ihgfedc' AND f GLOB 'defgh*')
14976:          OR ((a BETWEEN 53 AND 55) AND a!=54)
14977:   }
14978: } {28 42 53 55 64 78 80 81 90 scan 0 sort 0}
14979: do_test where7-2.647.2 {
14980:   count_steps_sort {
14981:      SELECT a FROM t3
14982:       WHERE (d>=28.0 AND d<29.0 AND d NOT NULL)
14983:          OR b=421
14984:          OR (g='qponmlk' AND f GLOB 'qrstu*')
14985:          OR b=704
14986:          OR a=90
14987:          OR a=78
14988:          OR 1000000<b
14989:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
14990:          OR (g='ihgfedc' AND f GLOB 'defgh*')
14991:          OR ((a BETWEEN 53 AND 55) AND a!=54)
14992:   }
14993: } {28 42 53 55 64 78 80 81 90 scan 0 sort 0}
14994: do_test where7-2.648.1 {
14995:   count_steps_sort {
14996:      SELECT a FROM t2
14997:       WHERE (g='fedcbaz' AND f GLOB 'pqrst*')
14998:          OR ((a BETWEEN 93 AND 95) AND a!=94)
14999:   }
15000: } {93 95 scan 0 sort 0}
15001: do_test where7-2.648.2 {
15002:   count_steps_sort {
15003:      SELECT a FROM t3
15004:       WHERE (g='fedcbaz' AND f GLOB 'pqrst*')
15005:          OR ((a BETWEEN 93 AND 95) AND a!=94)
15006:   }
15007: } {93 95 scan 0 sort 0}
15008: do_test where7-2.649.1 {
15009:   count_steps_sort {
15010:      SELECT a FROM t2
15011:       WHERE d<0.0
15012:          OR a=78
15013:          OR b=539
15014:          OR ((a BETWEEN 8 AND 10) AND a!=9)
15015:          OR ((a BETWEEN 25 AND 27) AND a!=26)
15016:          OR e IS NULL
15017:          OR a=48
15018:          OR (g='nmlkjih' AND f GLOB 'fghij*')
15019:   }
15020: } {8 10 25 27 48 49 57 78 scan 0 sort 0}
15021: do_test where7-2.649.2 {
15022:   count_steps_sort {
15023:      SELECT a FROM t3
15024:       WHERE d<0.0
15025:          OR a=78
15026:          OR b=539
15027:          OR ((a BETWEEN 8 AND 10) AND a!=9)
15028:          OR ((a BETWEEN 25 AND 27) AND a!=26)
15029:          OR e IS NULL
15030:          OR a=48
15031:          OR (g='nmlkjih' AND f GLOB 'fghij*')
15032:   }
15033: } {8 10 25 27 48 49 57 78 scan 0 sort 0}
15034: do_test where7-2.650.1 {
15035:   count_steps_sort {
15036:      SELECT a FROM t2
15037:       WHERE ((a BETWEEN 94 AND 96) AND a!=95)
15038:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
15039:          OR b=22
15040:   }
15041: } {2 78 94 96 scan 0 sort 0}
15042: do_test where7-2.650.2 {
15043:   count_steps_sort {
15044:      SELECT a FROM t3
15045:       WHERE ((a BETWEEN 94 AND 96) AND a!=95)
15046:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
15047:          OR b=22
15048:   }
15049: } {2 78 94 96 scan 0 sort 0}
15050: do_test where7-2.651.1 {
15051:   count_steps_sort {
15052:      SELECT a FROM t2
15053:       WHERE b=275
15054:          OR ((a BETWEEN 57 AND 59) AND a!=58)
15055:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
15056:          OR (g='rqponml' AND f GLOB 'lmnop*')
15057:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
15058:          OR f='ijklmnopq'
15059:   }
15060: } {8 25 34 37 53 57 59 60 86 92 scan 0 sort 0}
15061: do_test where7-2.651.2 {
15062:   count_steps_sort {
15063:      SELECT a FROM t3
15064:       WHERE b=275
15065:          OR ((a BETWEEN 57 AND 59) AND a!=58)
15066:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
15067:          OR (g='rqponml' AND f GLOB 'lmnop*')
15068:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
15069:          OR f='ijklmnopq'
15070:   }
15071: } {8 25 34 37 53 57 59 60 86 92 scan 0 sort 0}
15072: do_test where7-2.652.1 {
15073:   count_steps_sort {
15074:      SELECT a FROM t2
15075:       WHERE b=256
15076:          OR c=13013
15077:          OR b=44
15078:          OR f='jklmnopqr'
15079:          OR b=883
15080:   }
15081: } {4 9 35 37 38 39 61 87 scan 0 sort 0}
15082: do_test where7-2.652.2 {
15083:   count_steps_sort {
15084:      SELECT a FROM t3
15085:       WHERE b=256
15086:          OR c=13013
15087:          OR b=44
15088:          OR f='jklmnopqr'
15089:          OR b=883
15090:   }
15091: } {4 9 35 37 38 39 61 87 scan 0 sort 0}
15092: do_test where7-2.653.1 {
15093:   count_steps_sort {
15094:      SELECT a FROM t2
15095:       WHERE f='zabcdefgh'
15096:          OR (g='xwvutsr' AND f GLOB 'defgh*')
15097:          OR a=54
15098:          OR b=770
15099:          OR ((a BETWEEN 96 AND 98) AND a!=97)
15100:          OR a=81
15101:          OR b=190
15102:          OR a=2
15103:   }
15104: } {2 3 25 51 54 70 77 81 96 98 scan 0 sort 0}
15105: do_test where7-2.653.2 {
15106:   count_steps_sort {
15107:      SELECT a FROM t3
15108:       WHERE f='zabcdefgh'
15109:          OR (g='xwvutsr' AND f GLOB 'defgh*')
15110:          OR a=54
15111:          OR b=770
15112:          OR ((a BETWEEN 96 AND 98) AND a!=97)
15113:          OR a=81
15114:          OR b=190
15115:          OR a=2
15116:   }
15117: } {2 3 25 51 54 70 77 81 96 98 scan 0 sort 0}
15118: do_test where7-2.654.1 {
15119:   count_steps_sort {
15120:      SELECT a FROM t2
15121:       WHERE (d>=12.0 AND d<13.0 AND d NOT NULL)
15122:          OR c=12012
15123:          OR a=16
15124:          OR a=15
15125:          OR ((a BETWEEN 70 AND 72) AND a!=71)
15126:          OR a=69
15127:          OR b=748
15128:          OR a=61
15129:          OR b=473
15130:          OR ((a BETWEEN 69 AND 71) AND a!=70)
15131:   }
15132: } {12 15 16 34 35 36 43 61 68 69 70 71 72 scan 0 sort 0}
15133: do_test where7-2.654.2 {
15134:   count_steps_sort {
15135:      SELECT a FROM t3
15136:       WHERE (d>=12.0 AND d<13.0 AND d NOT NULL)
15137:          OR c=12012
15138:          OR a=16
15139:          OR a=15
15140:          OR ((a BETWEEN 70 AND 72) AND a!=71)
15141:          OR a=69
15142:          OR b=748
15143:          OR a=61
15144:          OR b=473
15145:          OR ((a BETWEEN 69 AND 71) AND a!=70)
15146:   }
15147: } {12 15 16 34 35 36 43 61 68 69 70 71 72 scan 0 sort 0}
15148: do_test where7-2.655.1 {
15149:   count_steps_sort {
15150:      SELECT a FROM t2
15151:       WHERE b=223
15152:          OR a=14
15153:          OR ((a BETWEEN 74 AND 76) AND a!=75)
15154:          OR (g='qponmlk' AND f GLOB 'pqrst*')
15155:          OR ((a BETWEEN 33 AND 35) AND a!=34)
15156:          OR b=539
15157:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
15158:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
15159:          OR a=21
15160:   }
15161: } {14 21 33 35 41 48 49 61 74 76 scan 0 sort 0}
15162: do_test where7-2.655.2 {
15163:   count_steps_sort {
15164:      SELECT a FROM t3
15165:       WHERE b=223
15166:          OR a=14
15167:          OR ((a BETWEEN 74 AND 76) AND a!=75)
15168:          OR (g='qponmlk' AND f GLOB 'pqrst*')
15169:          OR ((a BETWEEN 33 AND 35) AND a!=34)
15170:          OR b=539
15171:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
15172:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
15173:          OR a=21
15174:   }
15175: } {14 21 33 35 41 48 49 61 74 76 scan 0 sort 0}
15176: do_test where7-2.656.1 {
15177:   count_steps_sort {
15178:      SELECT a FROM t2
15179:       WHERE a=99
15180:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
15181:          OR a=73
15182:          OR a=56
15183:          OR b=253
15184:          OR b=880
15185:   }
15186: } {5 23 31 56 57 73 80 83 99 scan 0 sort 0}
15187: do_test where7-2.656.2 {
15188:   count_steps_sort {
15189:      SELECT a FROM t3
15190:       WHERE a=99
15191:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
15192:          OR a=73
15193:          OR a=56
15194:          OR b=253
15195:          OR b=880
15196:   }
15197: } {5 23 31 56 57 73 80 83 99 scan 0 sort 0}
15198: do_test where7-2.657.1 {
15199:   count_steps_sort {
15200:      SELECT a FROM t2
15201:       WHERE b=927
15202:          OR b=300
15203:          OR b=223
15204:          OR (g='wvutsrq' AND f GLOB 'jklmn*')
15205:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
15206:          OR b=154
15207:          OR b=759
15208:   }
15209: } {9 14 69 95 scan 0 sort 0}
15210: do_test where7-2.657.2 {
15211:   count_steps_sort {
15212:      SELECT a FROM t3
15213:       WHERE b=927
15214:          OR b=300
15215:          OR b=223
15216:          OR (g='wvutsrq' AND f GLOB 'jklmn*')
15217:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
15218:          OR b=154
15219:          OR b=759
15220:   }
15221: } {9 14 69 95 scan 0 sort 0}
15222: do_test where7-2.658.1 {
15223:   count_steps_sort {
15224:      SELECT a FROM t2
15225:       WHERE b=242
15226:          OR b=905
15227:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
15228:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
15229:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
15230:          OR a=24
15231:          OR ((a BETWEEN 67 AND 69) AND a!=68)
15232:          OR b=1100
15233:          OR b=850
15234:          OR ((a BETWEEN 55 AND 57) AND a!=56)
15235:   }
15236: } {22 24 55 57 66 67 69 86 96 100 scan 0 sort 0}
15237: do_test where7-2.658.2 {
15238:   count_steps_sort {
15239:      SELECT a FROM t3
15240:       WHERE b=242
15241:          OR b=905
15242:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
15243:          OR (g='hgfedcb' AND f GLOB 'ijklm*')
15244:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
15245:          OR a=24
15246:          OR ((a BETWEEN 67 AND 69) AND a!=68)
15247:          OR b=1100
15248:          OR b=850
15249:          OR ((a BETWEEN 55 AND 57) AND a!=56)
15250:   }
15251: } {22 24 55 57 66 67 69 86 96 100 scan 0 sort 0}
15252: do_test where7-2.659.1 {
15253:   count_steps_sort {
15254:      SELECT a FROM t2
15255:       WHERE b=190
15256:          OR a=72
15257:          OR b=377
15258:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
15259:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
15260:          OR b=476
15261:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
15262:   }
15263: } {2 26 52 72 78 93 scan 0 sort 0}
15264: do_test where7-2.659.2 {
15265:   count_steps_sort {
15266:      SELECT a FROM t3
15267:       WHERE b=190
15268:          OR a=72
15269:          OR b=377
15270:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
15271:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
15272:          OR b=476
15273:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
15274:   }
15275: } {2 26 52 72 78 93 scan 0 sort 0}
15276: do_test where7-2.660.1 {
15277:   count_steps_sort {
15278:      SELECT a FROM t2
15279:       WHERE b=245
15280:          OR b=638
15281:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
15282:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
15283:          OR f='opqrstuvw'
15284:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
15285:          OR b=817
15286:          OR a=85
15287:          OR (g='lkjihgf' AND f GLOB 'mnopq*')
15288:   }
15289: } {14 40 58 62 64 66 67 85 86 92 scan 0 sort 0}
15290: do_test where7-2.660.2 {
15291:   count_steps_sort {
15292:      SELECT a FROM t3
15293:       WHERE b=245
15294:          OR b=638
15295:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
15296:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
15297:          OR f='opqrstuvw'
15298:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
15299:          OR b=817
15300:          OR a=85
15301:          OR (g='lkjihgf' AND f GLOB 'mnopq*')
15302:   }
15303: } {14 40 58 62 64 66 67 85 86 92 scan 0 sort 0}
15304: do_test where7-2.661.1 {
15305:   count_steps_sort {
15306:      SELECT a FROM t2
15307:       WHERE ((a BETWEEN 22 AND 24) AND a!=23)
15308:          OR b=968
15309:   }
15310: } {22 24 88 scan 0 sort 0}
15311: do_test where7-2.661.2 {
15312:   count_steps_sort {
15313:      SELECT a FROM t3
15314:       WHERE ((a BETWEEN 22 AND 24) AND a!=23)
15315:          OR b=968
15316:   }
15317: } {22 24 88 scan 0 sort 0}
15318: do_test where7-2.662.1 {
15319:   count_steps_sort {
15320:      SELECT a FROM t2
15321:       WHERE ((a BETWEEN 60 AND 62) AND a!=61)
15322:          OR ((a BETWEEN 74 AND 76) AND a!=75)
15323:          OR b=22
15324:          OR b=993
15325:          OR f='tuvwxyzab'
15326:   }
15327: } {2 19 45 60 62 71 74 76 97 scan 0 sort 0}
15328: do_test where7-2.662.2 {
15329:   count_steps_sort {
15330:      SELECT a FROM t3
15331:       WHERE ((a BETWEEN 60 AND 62) AND a!=61)
15332:          OR ((a BETWEEN 74 AND 76) AND a!=75)
15333:          OR b=22
15334:          OR b=993
15335:          OR f='tuvwxyzab'
15336:   }
15337: } {2 19 45 60 62 71 74 76 97 scan 0 sort 0}
15338: do_test where7-2.663.1 {
15339:   count_steps_sort {
15340:      SELECT a FROM t2
15341:       WHERE ((a BETWEEN 55 AND 57) AND a!=56)
15342:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
15343:          OR c<=10
15344:          OR ((a BETWEEN 75 AND 77) AND a!=76)
15345:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
15346:          OR b=553
15347:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
15348:          OR b=1045
15349:   }
15350: } {55 57 72 73 75 77 85 95 scan 0 sort 0}
15351: do_test where7-2.663.2 {
15352:   count_steps_sort {
15353:      SELECT a FROM t3
15354:       WHERE ((a BETWEEN 55 AND 57) AND a!=56)
15355:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
15356:          OR c<=10
15357:          OR ((a BETWEEN 75 AND 77) AND a!=76)
15358:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
15359:          OR b=553
15360:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
15361:          OR b=1045
15362:   }
15363: } {55 57 72 73 75 77 85 95 scan 0 sort 0}
15364: do_test where7-2.664.1 {
15365:   count_steps_sort {
15366:      SELECT a FROM t2
15367:       WHERE b=440
15368:          OR ((a BETWEEN 3 AND 5) AND a!=4)
15369:          OR ((a BETWEEN 44 AND 46) AND a!=45)
15370:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
15371:          OR a=89
15372:          OR c=18018
15373:          OR b=154
15374:          OR b=506
15375:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
15376:          OR a=78
15377:          OR b=751
15378:   }
15379: } {1 3 5 14 27 31 40 44 46 52 53 54 57 78 79 83 89 scan 0 sort 0}
15380: do_test where7-2.664.2 {
15381:   count_steps_sort {
15382:      SELECT a FROM t3
15383:       WHERE b=440
15384:          OR ((a BETWEEN 3 AND 5) AND a!=4)
15385:          OR ((a BETWEEN 44 AND 46) AND a!=45)
15386:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
15387:          OR a=89
15388:          OR c=18018
15389:          OR b=154
15390:          OR b=506
15391:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
15392:          OR a=78
15393:          OR b=751
15394:   }
15395: } {1 3 5 14 27 31 40 44 46 52 53 54 57 78 79 83 89 scan 0 sort 0}
15396: do_test where7-2.665.1 {
15397:   count_steps_sort {
15398:      SELECT a FROM t2
15399:       WHERE b=407
15400:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
15401:          OR (g='rqponml' AND f GLOB 'klmno*')
15402:          OR b=209
15403:          OR b=814
15404:          OR (g='wvutsrq' AND f GLOB 'klmno*')
15405:          OR a=44
15406:          OR (g='qponmlk' AND f GLOB 'mnopq*')
15407:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
15408:          OR b=1092
15409:   }
15410: } {10 19 36 37 38 44 65 74 99 scan 0 sort 0}
15411: do_test where7-2.665.2 {
15412:   count_steps_sort {
15413:      SELECT a FROM t3
15414:       WHERE b=407
15415:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
15416:          OR (g='rqponml' AND f GLOB 'klmno*')
15417:          OR b=209
15418:          OR b=814
15419:          OR (g='wvutsrq' AND f GLOB 'klmno*')
15420:          OR a=44
15421:          OR (g='qponmlk' AND f GLOB 'mnopq*')
15422:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
15423:          OR b=1092
15424:   }
15425: } {10 19 36 37 38 44 65 74 99 scan 0 sort 0}
15426: do_test where7-2.666.1 {
15427:   count_steps_sort {
15428:      SELECT a FROM t2
15429:       WHERE ((a BETWEEN 24 AND 26) AND a!=25)
15430:          OR b=1103
15431:          OR b=190
15432:          OR b=737
15433:          OR a=97
15434:          OR b=451
15435:          OR b=583
15436:          OR a=63
15437:          OR c=8008
15438:          OR ((a BETWEEN 45 AND 47) AND a!=46)
15439:   }
15440: } {22 23 24 26 41 45 47 53 63 67 97 scan 0 sort 0}
15441: do_test where7-2.666.2 {
15442:   count_steps_sort {
15443:      SELECT a FROM t3
15444:       WHERE ((a BETWEEN 24 AND 26) AND a!=25)
15445:          OR b=1103
15446:          OR b=190
15447:          OR b=737
15448:          OR a=97
15449:          OR b=451
15450:          OR b=583
15451:          OR a=63
15452:          OR c=8008
15453:          OR ((a BETWEEN 45 AND 47) AND a!=46)
15454:   }
15455: } {22 23 24 26 41 45 47 53 63 67 97 scan 0 sort 0}
15456: do_test where7-2.667.1 {
15457:   count_steps_sort {
15458:      SELECT a FROM t2
15459:       WHERE a=12
15460:          OR b=935
15461:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
15462:          OR b=1070
15463:          OR a=24
15464:          OR a=95
15465:          OR ((a BETWEEN 27 AND 29) AND a!=28)
15466:          OR a=40
15467:          OR b=935
15468:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
15469:   }
15470: } {12 24 27 29 40 53 85 87 95 scan 0 sort 0}
15471: do_test where7-2.667.2 {
15472:   count_steps_sort {
15473:      SELECT a FROM t3
15474:       WHERE a=12
15475:          OR b=935
15476:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
15477:          OR b=1070
15478:          OR a=24
15479:          OR a=95
15480:          OR ((a BETWEEN 27 AND 29) AND a!=28)
15481:          OR a=40
15482:          OR b=935
15483:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
15484:   }
15485: } {12 24 27 29 40 53 85 87 95 scan 0 sort 0}
15486: do_test where7-2.668.1 {
15487:   count_steps_sort {
15488:      SELECT a FROM t2
15489:       WHERE b=858
15490:          OR a=82
15491:          OR b=209
15492:          OR b=374
15493:          OR ((a BETWEEN 76 AND 78) AND a!=77)
15494:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
15495:          OR c=22022
15496:   }
15497: } {19 34 40 64 65 66 76 78 82 scan 0 sort 0}
15498: do_test where7-2.668.2 {
15499:   count_steps_sort {
15500:      SELECT a FROM t3
15501:       WHERE b=858
15502:          OR a=82
15503:          OR b=209
15504:          OR b=374
15505:          OR ((a BETWEEN 76 AND 78) AND a!=77)
15506:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
15507:          OR c=22022
15508:   }
15509: } {19 34 40 64 65 66 76 78 82 scan 0 sort 0}
15510: do_test where7-2.669.1 {
15511:   count_steps_sort {
15512:      SELECT a FROM t2
15513:       WHERE a=27
15514:          OR (g='rqponml' AND f GLOB 'lmnop*')
15515:          OR b=121
15516:          OR ((a BETWEEN 7 AND 9) AND a!=8)
15517:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
15518:          OR a=67
15519:          OR ((a BETWEEN 30 AND 32) AND a!=31)
15520:          OR c=1001
15521:          OR ((a BETWEEN 50 AND 52) AND a!=51)
15522:          OR ((a BETWEEN 19 AND 21) AND a!=20)
15523:   }
15524: } {1 2 3 7 8 9 11 19 21 27 30 32 37 50 52 67 scan 0 sort 0}
15525: do_test where7-2.669.2 {
15526:   count_steps_sort {
15527:      SELECT a FROM t3
15528:       WHERE a=27
15529:          OR (g='rqponml' AND f GLOB 'lmnop*')
15530:          OR b=121
15531:          OR ((a BETWEEN 7 AND 9) AND a!=8)
15532:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
15533:          OR a=67
15534:          OR ((a BETWEEN 30 AND 32) AND a!=31)
15535:          OR c=1001
15536:          OR ((a BETWEEN 50 AND 52) AND a!=51)
15537:          OR ((a BETWEEN 19 AND 21) AND a!=20)
15538:   }
15539: } {1 2 3 7 8 9 11 19 21 27 30 32 37 50 52 67 scan 0 sort 0}
15540: do_test where7-2.670.1 {
15541:   count_steps_sort {
15542:      SELECT a FROM t2
15543:       WHERE b=99
15544:          OR (g='nmlkjih' AND f GLOB 'fghij*')
15545:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
15546:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
15547:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
15548:   }
15549: } {1 9 46 57 98 scan 0 sort 0}
15550: do_test where7-2.670.2 {
15551:   count_steps_sort {
15552:      SELECT a FROM t3
15553:       WHERE b=99
15554:          OR (g='nmlkjih' AND f GLOB 'fghij*')
15555:          OR (d>=98.0 AND d<99.0 AND d NOT NULL)
15556:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
15557:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
15558:   }
15559: } {1 9 46 57 98 scan 0 sort 0}
15560: do_test where7-2.671.1 {
15561:   count_steps_sort {
15562:      SELECT a FROM t2
15563:       WHERE a=3
15564:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
15565:          OR b=355
15566:          OR b=814
15567:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
15568:          OR a=81
15569:          OR (g='qponmlk' AND f GLOB 'qrstu*')
15570:          OR b=542
15571:          OR b=795
15572:   }
15573: } {3 42 62 74 79 81 scan 0 sort 0}
15574: do_test where7-2.671.2 {
15575:   count_steps_sort {
15576:      SELECT a FROM t3
15577:       WHERE a=3
15578:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
15579:          OR b=355
15580:          OR b=814
15581:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
15582:          OR a=81
15583:          OR (g='qponmlk' AND f GLOB 'qrstu*')
15584:          OR b=542
15585:          OR b=795
15586:   }
15587: } {3 42 62 74 79 81 scan 0 sort 0}
15588: do_test where7-2.672.1 {
15589:   count_steps_sort {
15590:      SELECT a FROM t2
15591:       WHERE (d>=1.0 AND d<2.0 AND d NOT NULL)
15592:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
15593:          OR b=363
15594:          OR (g='srqponm' AND f GLOB 'fghij*')
15595:          OR ((a BETWEEN 64 AND 66) AND a!=65)
15596:          OR b=619
15597:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
15598:          OR a=73
15599:   }
15600: } {1 14 31 33 56 64 66 73 scan 0 sort 0}
15601: do_test where7-2.672.2 {
15602:   count_steps_sort {
15603:      SELECT a FROM t3
15604:       WHERE (d>=1.0 AND d<2.0 AND d NOT NULL)
15605:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
15606:          OR b=363
15607:          OR (g='srqponm' AND f GLOB 'fghij*')
15608:          OR ((a BETWEEN 64 AND 66) AND a!=65)
15609:          OR b=619
15610:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
15611:          OR a=73
15612:   }
15613: } {1 14 31 33 56 64 66 73 scan 0 sort 0}
15614: do_test where7-2.673.1 {
15615:   count_steps_sort {
15616:      SELECT a FROM t2
15617:       WHERE b=935
15618:          OR a=42
15619:          OR (g='nmlkjih' AND f GLOB 'defgh*')
15620:          OR b=330
15621:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
15622:   }
15623: } {9 30 35 42 55 61 85 87 scan 0 sort 0}
15624: do_test where7-2.673.2 {
15625:   count_steps_sort {
15626:      SELECT a FROM t3
15627:       WHERE b=935
15628:          OR a=42
15629:          OR (g='nmlkjih' AND f GLOB 'defgh*')
15630:          OR b=330
15631:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
15632:   }
15633: } {9 30 35 42 55 61 85 87 scan 0 sort 0}
15634: do_test where7-2.674.1 {
15635:   count_steps_sort {
15636:      SELECT a FROM t2
15637:       WHERE a=79
15638:          OR b=201
15639:          OR b=99
15640:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
15641:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
15642:          OR a=64
15643:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
15644:          OR a=89
15645:   }
15646: } {9 16 19 21 42 64 68 79 89 94 scan 0 sort 0}
15647: do_test where7-2.674.2 {
15648:   count_steps_sort {
15649:      SELECT a FROM t3
15650:       WHERE a=79
15651:          OR b=201
15652:          OR b=99
15653:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
15654:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
15655:          OR a=64
15656:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
15657:          OR a=89
15658:   }
15659: } {9 16 19 21 42 64 68 79 89 94 scan 0 sort 0}
15660: do_test where7-2.675.1 {
15661:   count_steps_sort {
15662:      SELECT a FROM t2
15663:       WHERE b=784
15664:          OR a=85
15665:          OR b=663
15666:          OR c=17017
15667:          OR b=561
15668:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
15669:          OR b=495
15670:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
15671:          OR b=352
15672:          OR ((a BETWEEN 39 AND 41) AND a!=40)
15673:   }
15674: } {32 39 41 45 49 50 51 65 68 85 scan 0 sort 0}
15675: do_test where7-2.675.2 {
15676:   count_steps_sort {
15677:      SELECT a FROM t3
15678:       WHERE b=784
15679:          OR a=85
15680:          OR b=663
15681:          OR c=17017
15682:          OR b=561
15683:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
15684:          OR b=495
15685:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
15686:          OR b=352
15687:          OR ((a BETWEEN 39 AND 41) AND a!=40)
15688:   }
15689: } {32 39 41 45 49 50 51 65 68 85 scan 0 sort 0}
15690: do_test where7-2.676.1 {
15691:   count_steps_sort {
15692:      SELECT a FROM t2
15693:       WHERE (d>=100.0 AND d<101.0 AND d NOT NULL)
15694:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
15695:          OR f='klmnopqrs'
15696:          OR f='lmnopqrst'
15697:   }
15698: } {10 11 19 36 37 62 63 88 89 100 scan 0 sort 0}
15699: do_test where7-2.676.2 {
15700:   count_steps_sort {
15701:      SELECT a FROM t3
15702:       WHERE (d>=100.0 AND d<101.0 AND d NOT NULL)
15703:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
15704:          OR f='klmnopqrs'
15705:          OR f='lmnopqrst'
15706:   }
15707: } {10 11 19 36 37 62 63 88 89 100 scan 0 sort 0}
15708: do_test where7-2.677.1 {
15709:   count_steps_sort {
15710:      SELECT a FROM t2
15711:       WHERE ((a BETWEEN 90 AND 92) AND a!=91)
15712:          OR a=46
15713:          OR a=44
15714:   }
15715: } {44 46 90 92 scan 0 sort 0}
15716: do_test where7-2.677.2 {
15717:   count_steps_sort {
15718:      SELECT a FROM t3
15719:       WHERE ((a BETWEEN 90 AND 92) AND a!=91)
15720:          OR a=46
15721:          OR a=44
15722:   }
15723: } {44 46 90 92 scan 0 sort 0}
15724: do_test where7-2.678.1 {
15725:   count_steps_sort {
15726:      SELECT a FROM t2
15727:       WHERE b=36
15728:          OR (g='qponmlk' AND f GLOB 'nopqr*')
15729:          OR ((a BETWEEN 18 AND 20) AND a!=19)
15730:          OR b=682
15731:          OR ((a BETWEEN 53 AND 55) AND a!=54)
15732:          OR b=91
15733:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
15734:          OR ((a BETWEEN 95 AND 97) AND a!=96)
15735:          OR c=12012
15736:          OR b=267
15737:          OR (g='jihgfed' AND f GLOB 'yzabc*')
15738:   }
15739: } {18 20 34 35 36 39 43 53 55 62 76 95 97 scan 0 sort 0}
15740: do_test where7-2.678.2 {
15741:   count_steps_sort {
15742:      SELECT a FROM t3
15743:       WHERE b=36
15744:          OR (g='qponmlk' AND f GLOB 'nopqr*')
15745:          OR ((a BETWEEN 18 AND 20) AND a!=19)
15746:          OR b=682
15747:          OR ((a BETWEEN 53 AND 55) AND a!=54)
15748:          OR b=91
15749:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
15750:          OR ((a BETWEEN 95 AND 97) AND a!=96)
15751:          OR c=12012
15752:          OR b=267
15753:          OR (g='jihgfed' AND f GLOB 'yzabc*')
15754:   }
15755: } {18 20 34 35 36 39 43 53 55 62 76 95 97 scan 0 sort 0}
15756: do_test where7-2.679.1 {
15757:   count_steps_sort {
15758:      SELECT a FROM t2
15759:       WHERE b=594
15760:          OR f='hijklmnop'
15761:          OR ((a BETWEEN 65 AND 67) AND a!=66)
15762:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
15763:          OR b=707
15764:          OR b=363
15765:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
15766:          OR b=157
15767:          OR (g='tsrqpon' AND f GLOB 'yzabc*')
15768:   }
15769: } {7 12 24 33 54 58 59 65 67 85 scan 0 sort 0}
15770: do_test where7-2.679.2 {
15771:   count_steps_sort {
15772:      SELECT a FROM t3
15773:       WHERE b=594
15774:          OR f='hijklmnop'
15775:          OR ((a BETWEEN 65 AND 67) AND a!=66)
15776:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
15777:          OR b=707
15778:          OR b=363
15779:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
15780:          OR b=157
15781:          OR (g='tsrqpon' AND f GLOB 'yzabc*')
15782:   }
15783: } {7 12 24 33 54 58 59 65 67 85 scan 0 sort 0}
15784: do_test where7-2.680.1 {
15785:   count_steps_sort {
15786:      SELECT a FROM t2
15787:       WHERE (d>=27.0 AND d<28.0 AND d NOT NULL)
15788:          OR a=2
15789:          OR a=84
15790:          OR b=399
15791:          OR b=828
15792:          OR a=21
15793:          OR b=748
15794:          OR c=13013
15795:          OR a=57
15796:          OR f='mnopqrstu'
15797:   }
15798: } {2 12 21 27 37 38 39 57 64 68 84 90 scan 0 sort 0}
15799: do_test where7-2.680.2 {
15800:   count_steps_sort {
15801:      SELECT a FROM t3
15802:       WHERE (d>=27.0 AND d<28.0 AND d NOT NULL)
15803:          OR a=2
15804:          OR a=84
15805:          OR b=399
15806:          OR b=828
15807:          OR a=21
15808:          OR b=748
15809:          OR c=13013
15810:          OR a=57
15811:          OR f='mnopqrstu'
15812:   }
15813: } {2 12 21 27 37 38 39 57 64 68 84 90 scan 0 sort 0}
15814: do_test where7-2.681.1 {
15815:   count_steps_sort {
15816:      SELECT a FROM t2
15817:       WHERE (g='nmlkjih' AND f GLOB 'defgh*')
15818:          OR b=674
15819:          OR ((a BETWEEN 38 AND 40) AND a!=39)
15820:          OR c=3003
15821:          OR a=19
15822:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
15823:          OR ((a BETWEEN 20 AND 22) AND a!=21)
15824:   }
15825: } {7 8 9 19 20 22 38 40 46 55 scan 0 sort 0}
15826: do_test where7-2.681.2 {
15827:   count_steps_sort {
15828:      SELECT a FROM t3
15829:       WHERE (g='nmlkjih' AND f GLOB 'defgh*')
15830:          OR b=674
15831:          OR ((a BETWEEN 38 AND 40) AND a!=39)
15832:          OR c=3003
15833:          OR a=19
15834:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
15835:          OR ((a BETWEEN 20 AND 22) AND a!=21)
15836:   }
15837: } {7 8 9 19 20 22 38 40 46 55 scan 0 sort 0}
15838: do_test where7-2.682.1 {
15839:   count_steps_sort {
15840:      SELECT a FROM t2
15841:       WHERE b=652
15842:          OR a=83
15843:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
15844:          OR b=102
15845:          OR b=300
15846:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
15847:   }
15848: } {49 83 97 scan 0 sort 0}
15849: do_test where7-2.682.2 {
15850:   count_steps_sort {
15851:      SELECT a FROM t3
15852:       WHERE b=652
15853:          OR a=83
15854:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
15855:          OR b=102
15856:          OR b=300
15857:          OR (d>=49.0 AND d<50.0 AND d NOT NULL)
15858:   }
15859: } {49 83 97 scan 0 sort 0}
15860: do_test where7-2.683.1 {
15861:   count_steps_sort {
15862:      SELECT a FROM t2
15863:       WHERE ((a BETWEEN 53 AND 55) AND a!=54)
15864:          OR ((a BETWEEN 43 AND 45) AND a!=44)
15865:          OR c=4004
15866:          OR a=95
15867:          OR b=707
15868:          OR f='vwxyzabcd'
15869:          OR b=286
15870:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
15871:          OR b=693
15872:          OR ((a BETWEEN 6 AND 8) AND a!=7)
15873:   }
15874: } {6 8 10 11 12 21 26 43 45 47 53 55 63 73 95 99 scan 0 sort 0}
15875: do_test where7-2.683.2 {
15876:   count_steps_sort {
15877:      SELECT a FROM t3
15878:       WHERE ((a BETWEEN 53 AND 55) AND a!=54)
15879:          OR ((a BETWEEN 43 AND 45) AND a!=44)
15880:          OR c=4004
15881:          OR a=95
15882:          OR b=707
15883:          OR f='vwxyzabcd'
15884:          OR b=286
15885:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
15886:          OR b=693
15887:          OR ((a BETWEEN 6 AND 8) AND a!=7)
15888:   }
15889: } {6 8 10 11 12 21 26 43 45 47 53 55 63 73 95 99 scan 0 sort 0}
15890: do_test where7-2.684.1 {
15891:   count_steps_sort {
15892:      SELECT a FROM t2
15893:       WHERE b=209
15894:          OR b=198
15895:          OR a=52
15896:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
15897:          OR d<0.0
15898:          OR (g='rqponml' AND f GLOB 'jklmn*')
15899:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
15900:          OR b=168
15901:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
15902:          OR f='uvwxyzabc'
15903:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
15904:   }
15905: } {7 18 19 20 24 33 35 42 46 52 59 64 72 85 98 scan 0 sort 0}
15906: do_test where7-2.684.2 {
15907:   count_steps_sort {
15908:      SELECT a FROM t3
15909:       WHERE b=209
15910:          OR b=198
15911:          OR a=52
15912:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
15913:          OR d<0.0
15914:          OR (g='rqponml' AND f GLOB 'jklmn*')
15915:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
15916:          OR b=168
15917:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
15918:          OR f='uvwxyzabc'
15919:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
15920:   }
15921: } {7 18 19 20 24 33 35 42 46 52 59 64 72 85 98 scan 0 sort 0}
15922: do_test where7-2.685.1 {
15923:   count_steps_sort {
15924:      SELECT a FROM t2
15925:       WHERE ((a BETWEEN 4 AND 6) AND a!=5)
15926:          OR (g='tsrqpon' AND f GLOB 'abcde*')
15927:          OR ((a BETWEEN 89 AND 91) AND a!=90)
15928:          OR f='rstuvwxyz'
15929:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
15930:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
15931:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
15932:          OR a=14
15933:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
15934:   }
15935: } {4 6 8 12 14 17 21 26 43 47 69 73 84 89 91 95 99 scan 0 sort 0}
15936: do_test where7-2.685.2 {
15937:   count_steps_sort {
15938:      SELECT a FROM t3
15939:       WHERE ((a BETWEEN 4 AND 6) AND a!=5)
15940:          OR (g='tsrqpon' AND f GLOB 'abcde*')
15941:          OR ((a BETWEEN 89 AND 91) AND a!=90)
15942:          OR f='rstuvwxyz'
15943:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
15944:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
15945:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
15946:          OR a=14
15947:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
15948:   }
15949: } {4 6 8 12 14 17 21 26 43 47 69 73 84 89 91 95 99 scan 0 sort 0}
15950: do_test where7-2.686.1 {
15951:   count_steps_sort {
15952:      SELECT a FROM t2
15953:       WHERE ((a BETWEEN 13 AND 15) AND a!=14)
15954:          OR ((a BETWEEN 93 AND 95) AND a!=94)
15955:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
15956:          OR f='mnopqrstu'
15957:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
15958:          OR ((a BETWEEN 33 AND 35) AND a!=34)
15959:          OR a=38
15960:          OR c=26026
15961:   }
15962: } {2 12 13 15 33 35 38 64 76 77 78 90 93 95 97 scan 0 sort 0}
15963: do_test where7-2.686.2 {
15964:   count_steps_sort {
15965:      SELECT a FROM t3
15966:       WHERE ((a BETWEEN 13 AND 15) AND a!=14)
15967:          OR ((a BETWEEN 93 AND 95) AND a!=94)
15968:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
15969:          OR f='mnopqrstu'
15970:          OR (g='fedcbaz' AND f GLOB 'tuvwx*')
15971:          OR ((a BETWEEN 33 AND 35) AND a!=34)
15972:          OR a=38
15973:          OR c=26026
15974:   }
15975: } {2 12 13 15 33 35 38 64 76 77 78 90 93 95 97 scan 0 sort 0}
15976: do_test where7-2.687.1 {
15977:   count_steps_sort {
15978:      SELECT a FROM t2
15979:       WHERE (g='ponmlkj' AND f GLOB 'stuvw*')
15980:          OR ((a BETWEEN 71 AND 73) AND a!=72)
15981:          OR a=7
15982:          OR (g='qponmlk' AND f GLOB 'nopqr*')
15983:          OR (g='srqponm' AND f GLOB 'ghijk*')
15984:          OR ((a BETWEEN 33 AND 35) AND a!=34)
15985:   }
15986: } {7 32 33 35 39 44 71 73 scan 0 sort 0}
15987: do_test where7-2.687.2 {
15988:   count_steps_sort {
15989:      SELECT a FROM t3
15990:       WHERE (g='ponmlkj' AND f GLOB 'stuvw*')
15991:          OR ((a BETWEEN 71 AND 73) AND a!=72)
15992:          OR a=7
15993:          OR (g='qponmlk' AND f GLOB 'nopqr*')
15994:          OR (g='srqponm' AND f GLOB 'ghijk*')
15995:          OR ((a BETWEEN 33 AND 35) AND a!=34)
15996:   }
15997: } {7 32 33 35 39 44 71 73 scan 0 sort 0}
15998: do_test where7-2.688.1 {
15999:   count_steps_sort {
16000:      SELECT a FROM t2
16001:       WHERE c=6006
16002:          OR b=938
16003:          OR b=484
16004:          OR b=652
16005:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
16006:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
16007:          OR f='opqrstuvw'
16008:   }
16009: } {14 15 16 17 18 40 41 44 58 66 67 92 93 scan 0 sort 0}
16010: do_test where7-2.688.2 {
16011:   count_steps_sort {
16012:      SELECT a FROM t3
16013:       WHERE c=6006
16014:          OR b=938
16015:          OR b=484
16016:          OR b=652
16017:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
16018:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
16019:          OR f='opqrstuvw'
16020:   }
16021: } {14 15 16 17 18 40 41 44 58 66 67 92 93 scan 0 sort 0}
16022: do_test where7-2.689.1 {
16023:   count_steps_sort {
16024:      SELECT a FROM t2
16025:       WHERE c=27027
16026:          OR b=968
16027:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
16028:          OR b=487
16029:          OR b=924
16030:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
16031:          OR c=14014
16032:          OR b=1001
16033:   }
16034: } {40 41 42 51 70 79 80 81 84 88 91 scan 0 sort 0}
16035: do_test where7-2.689.2 {
16036:   count_steps_sort {
16037:      SELECT a FROM t3
16038:       WHERE c=27027
16039:          OR b=968
16040:          OR (d>=51.0 AND d<52.0 AND d NOT NULL)
16041:          OR b=487
16042:          OR b=924
16043:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
16044:          OR c=14014
16045:          OR b=1001
16046:   }
16047: } {40 41 42 51 70 79 80 81 84 88 91 scan 0 sort 0}
16048: do_test where7-2.690.1 {
16049:   count_steps_sort {
16050:      SELECT a FROM t2
16051:       WHERE a=25
16052:          OR ((a BETWEEN 43 AND 45) AND a!=44)
16053:          OR (g='gfedcba' AND f GLOB 'mnopq*')
16054:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
16055:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
16056:          OR b=443
16057:          OR b=564
16058:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
16059:          OR b=531
16060:          OR b=1081
16061:          OR a=96
16062:   }
16063: } {10 19 25 43 45 69 71 90 96 97 scan 0 sort 0}
16064: do_test where7-2.690.2 {
16065:   count_steps_sort {
16066:      SELECT a FROM t3
16067:       WHERE a=25
16068:          OR ((a BETWEEN 43 AND 45) AND a!=44)
16069:          OR (g='gfedcba' AND f GLOB 'mnopq*')
16070:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
16071:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
16072:          OR b=443
16073:          OR b=564
16074:          OR (g='kjihgfe' AND f GLOB 'rstuv*')
16075:          OR b=531
16076:          OR b=1081
16077:          OR a=96
16078:   }
16079: } {10 19 25 43 45 69 71 90 96 97 scan 0 sort 0}
16080: do_test where7-2.691.1 {
16081:   count_steps_sort {
16082:      SELECT a FROM t2
16083:       WHERE b=36
16084:          OR (g='srqponm' AND f GLOB 'defgh*')
16085:   }
16086: } {29 scan 0 sort 0}
16087: do_test where7-2.691.2 {
16088:   count_steps_sort {
16089:      SELECT a FROM t3
16090:       WHERE b=36
16091:          OR (g='srqponm' AND f GLOB 'defgh*')
16092:   }
16093: } {29 scan 0 sort 0}
16094: do_test where7-2.692.1 {
16095:   count_steps_sort {
16096:      SELECT a FROM t2
16097:       WHERE (g='kjihgfe' AND f GLOB 'stuvw*')
16098:          OR b=531
16099:          OR ((a BETWEEN 93 AND 95) AND a!=94)
16100:          OR (d>=3.0 AND d<4.0 AND d NOT NULL)
16101:   }
16102: } {3 70 93 95 scan 0 sort 0}
16103: do_test where7-2.692.2 {
16104:   count_steps_sort {
16105:      SELECT a FROM t3
16106:       WHERE (g='kjihgfe' AND f GLOB 'stuvw*')
16107:          OR b=531
16108:          OR ((a BETWEEN 93 AND 95) AND a!=94)
16109:          OR (d>=3.0 AND d<4.0 AND d NOT NULL)
16110:   }
16111: } {3 70 93 95 scan 0 sort 0}
16112: do_test where7-2.693.1 {
16113:   count_steps_sort {
16114:      SELECT a FROM t2
16115:       WHERE b=256
16116:          OR b=1034
16117:   }
16118: } {94 scan 0 sort 0}
16119: do_test where7-2.693.2 {
16120:   count_steps_sort {
16121:      SELECT a FROM t3
16122:       WHERE b=256
16123:          OR b=1034
16124:   }
16125: } {94 scan 0 sort 0}
16126: do_test where7-2.694.1 {
16127:   count_steps_sort {
16128:      SELECT a FROM t2
16129:       WHERE (d>=60.0 AND d<61.0 AND d NOT NULL)
16130:          OR ((a BETWEEN 24 AND 26) AND a!=25)
16131:          OR (d>=83.0 AND d<84.0 AND d NOT NULL)
16132:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
16133:          OR b=784
16134:          OR b=718
16135:          OR a=18
16136:          OR a=3
16137:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
16138:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
16139:          OR c=28028
16140:   }
16141: } {3 18 19 21 24 26 47 58 60 73 82 83 84 99 scan 0 sort 0}
16142: do_test where7-2.694.2 {
16143:   count_steps_sort {
16144:      SELECT a FROM t3
16145:       WHERE (d>=60.0 AND d<61.0 AND d NOT NULL)
16146:          OR ((a BETWEEN 24 AND 26) AND a!=25)
16147:          OR (d>=83.0 AND d<84.0 AND d NOT NULL)
16148:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
16149:          OR b=784
16150:          OR b=718
16151:          OR a=18
16152:          OR a=3
16153:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
16154:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
16155:          OR c=28028
16156:   }
16157: } {3 18 19 21 24 26 47 58 60 73 82 83 84 99 scan 0 sort 0}
16158: do_test where7-2.695.1 {
16159:   count_steps_sort {
16160:      SELECT a FROM t2
16161:       WHERE b=473
16162:          OR b=649
16163:          OR ((a BETWEEN 46 AND 48) AND a!=47)
16164:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
16165:          OR b=1100
16166:          OR b=1012
16167:          OR a=72
16168:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
16169:          OR b=176
16170:          OR b=355
16171:   }
16172: } {16 18 43 46 48 59 72 91 92 100 scan 0 sort 0}
16173: do_test where7-2.695.2 {
16174:   count_steps_sort {
16175:      SELECT a FROM t3
16176:       WHERE b=473
16177:          OR b=649
16178:          OR ((a BETWEEN 46 AND 48) AND a!=47)
16179:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
16180:          OR b=1100
16181:          OR b=1012
16182:          OR a=72
16183:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
16184:          OR b=176
16185:          OR b=355
16186:   }
16187: } {16 18 43 46 48 59 72 91 92 100 scan 0 sort 0}
16188: do_test where7-2.696.1 {
16189:   count_steps_sort {
16190:      SELECT a FROM t2
16191:       WHERE (d>=15.0 AND d<16.0 AND d NOT NULL)
16192:          OR f='cdefghijk'
16193:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
16194:          OR ((a BETWEEN 30 AND 32) AND a!=31)
16195:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
16196:          OR (g='srqponm' AND f GLOB 'ghijk*')
16197:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
16198:   }
16199: } {2 15 19 28 29 30 32 54 80 91 scan 0 sort 0}
16200: do_test where7-2.696.2 {
16201:   count_steps_sort {
16202:      SELECT a FROM t3
16203:       WHERE (d>=15.0 AND d<16.0 AND d NOT NULL)
16204:          OR f='cdefghijk'
16205:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
16206:          OR ((a BETWEEN 30 AND 32) AND a!=31)
16207:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
16208:          OR (g='srqponm' AND f GLOB 'ghijk*')
16209:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
16210:   }
16211: } {2 15 19 28 29 30 32 54 80 91 scan 0 sort 0}
16212: do_test where7-2.697.1 {
16213:   count_steps_sort {
16214:      SELECT a FROM t2
16215:       WHERE (g='mlkjihg' AND f GLOB 'ijklm*')
16216:          OR b=883
16217:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
16218:          OR b=938
16219:          OR ((a BETWEEN 17 AND 19) AND a!=18)
16220:          OR f='defghijkl'
16221:          OR c=2002
16222:          OR b=990
16223:   }
16224: } {3 4 5 6 17 19 22 29 55 60 81 90 scan 0 sort 0}
16225: do_test where7-2.697.2 {
16226:   count_steps_sort {
16227:      SELECT a FROM t3
16228:       WHERE (g='mlkjihg' AND f GLOB 'ijklm*')
16229:          OR b=883
16230:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
16231:          OR b=938
16232:          OR ((a BETWEEN 17 AND 19) AND a!=18)
16233:          OR f='defghijkl'
16234:          OR c=2002
16235:          OR b=990
16236:   }
16237: } {3 4 5 6 17 19 22 29 55 60 81 90 scan 0 sort 0}
16238: do_test where7-2.698.1 {
16239:   count_steps_sort {
16240:      SELECT a FROM t2
16241:       WHERE ((a BETWEEN 7 AND 9) AND a!=8)
16242:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
16243:          OR b=902
16244:          OR b=25
16245:   }
16246: } {7 9 76 82 scan 0 sort 0}
16247: do_test where7-2.698.2 {
16248:   count_steps_sort {
16249:      SELECT a FROM t3
16250:       WHERE ((a BETWEEN 7 AND 9) AND a!=8)
16251:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
16252:          OR b=902
16253:          OR b=25
16254:   }
16255: } {7 9 76 82 scan 0 sort 0}
16256: do_test where7-2.699.1 {
16257:   count_steps_sort {
16258:      SELECT a FROM t2
16259:       WHERE (g='tsrqpon' AND f GLOB 'abcde*')
16260:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
16261:          OR ((a BETWEEN 68 AND 70) AND a!=69)
16262:          OR ((a BETWEEN 74 AND 76) AND a!=75)
16263:          OR b=1092
16264:          OR b=495
16265:   }
16266: } {26 45 55 68 70 74 76 scan 0 sort 0}
16267: do_test where7-2.699.2 {
16268:   count_steps_sort {
16269:      SELECT a FROM t3
16270:       WHERE (g='tsrqpon' AND f GLOB 'abcde*')
16271:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
16272:          OR ((a BETWEEN 68 AND 70) AND a!=69)
16273:          OR ((a BETWEEN 74 AND 76) AND a!=75)
16274:          OR b=1092
16275:          OR b=495
16276:   }
16277: } {26 45 55 68 70 74 76 scan 0 sort 0}
16278: do_test where7-2.700.1 {
16279:   count_steps_sort {
16280:      SELECT a FROM t2
16281:       WHERE ((a BETWEEN 90 AND 92) AND a!=91)
16282:          OR a=46
16283:          OR a=74
16284:   }
16285: } {46 74 90 92 scan 0 sort 0}
16286: do_test where7-2.700.2 {
16287:   count_steps_sort {
16288:      SELECT a FROM t3
16289:       WHERE ((a BETWEEN 90 AND 92) AND a!=91)
16290:          OR a=46
16291:          OR a=74
16292:   }
16293: } {46 74 90 92 scan 0 sort 0}
16294: do_test where7-2.701.1 {
16295:   count_steps_sort {
16296:      SELECT a FROM t2
16297:       WHERE a=18
16298:          OR b=66
16299:          OR b=498
16300:          OR b=143
16301:          OR b=1034
16302:          OR b=289
16303:          OR b=319
16304:   }
16305: } {6 13 18 29 94 scan 0 sort 0}
16306: do_test where7-2.701.2 {
16307:   count_steps_sort {
16308:      SELECT a FROM t3
16309:       WHERE a=18
16310:          OR b=66
16311:          OR b=498
16312:          OR b=143
16313:          OR b=1034
16314:          OR b=289
16315:          OR b=319
16316:   }
16317: } {6 13 18 29 94 scan 0 sort 0}
16318: do_test where7-2.702.1 {
16319:   count_steps_sort {
16320:      SELECT a FROM t2
16321:       WHERE (f GLOB '?abcd*' AND f GLOB 'zabc*')
16322:          OR (g='srqponm' AND f GLOB 'efghi*')
16323:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
16324:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
16325:          OR (g='srqponm' AND f GLOB 'cdefg*')
16326:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
16327:          OR f='lmnopqrst'
16328:          OR ((a BETWEEN 11 AND 13) AND a!=12)
16329:          OR b=872
16330:          OR a=44
16331:          OR ((a BETWEEN 38 AND 40) AND a!=39)
16332:   }
16333: } {11 13 25 28 30 37 38 40 44 45 51 54 63 77 79 89 scan 0 sort 0}
16334: do_test where7-2.702.2 {
16335:   count_steps_sort {
16336:      SELECT a FROM t3
16337:       WHERE (f GLOB '?abcd*' AND f GLOB 'zabc*')
16338:          OR (g='srqponm' AND f GLOB 'efghi*')
16339:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
16340:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
16341:          OR (g='srqponm' AND f GLOB 'cdefg*')
16342:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
16343:          OR f='lmnopqrst'
16344:          OR ((a BETWEEN 11 AND 13) AND a!=12)
16345:          OR b=872
16346:          OR a=44
16347:          OR ((a BETWEEN 38 AND 40) AND a!=39)
16348:   }
16349: } {11 13 25 28 30 37 38 40 44 45 51 54 63 77 79 89 scan 0 sort 0}
16350: do_test where7-2.703.1 {
16351:   count_steps_sort {
16352:      SELECT a FROM t2
16353:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
16354:          OR a=20
16355:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
16356:          OR (g='jihgfed' AND f GLOB 'xyzab*')
16357:          OR b=1004
16358:          OR b=77
16359:          OR b=927
16360:          OR a=99
16361:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
16362:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
16363:   }
16364: } {7 17 20 46 66 71 72 73 75 98 99 scan 0 sort 0}
16365: do_test where7-2.703.2 {
16366:   count_steps_sort {
16367:      SELECT a FROM t3
16368:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
16369:          OR a=20
16370:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
16371:          OR (g='jihgfed' AND f GLOB 'xyzab*')
16372:          OR b=1004
16373:          OR b=77
16374:          OR b=927
16375:          OR a=99
16376:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
16377:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
16378:   }
16379: } {7 17 20 46 66 71 72 73 75 98 99 scan 0 sort 0}
16380: do_test where7-2.704.1 {
16381:   count_steps_sort {
16382:      SELECT a FROM t2
16383:       WHERE (d>=76.0 AND d<77.0 AND d NOT NULL)
16384:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
16385:          OR b=11
16386:          OR ((a BETWEEN 21 AND 23) AND a!=22)
16387:   }
16388: } {1 21 23 45 76 scan 0 sort 0}
16389: do_test where7-2.704.2 {
16390:   count_steps_sort {
16391:      SELECT a FROM t3
16392:       WHERE (d>=76.0 AND d<77.0 AND d NOT NULL)
16393:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
16394:          OR b=11
16395:          OR ((a BETWEEN 21 AND 23) AND a!=22)
16396:   }
16397: } {1 21 23 45 76 scan 0 sort 0}
16398: do_test where7-2.705.1 {
16399:   count_steps_sort {
16400:      SELECT a FROM t2
16401:       WHERE b=572
16402:          OR (g='nmlkjih' AND f GLOB 'fghij*')
16403:   }
16404: } {52 57 scan 0 sort 0}
16405: do_test where7-2.705.2 {
16406:   count_steps_sort {
16407:      SELECT a FROM t3
16408:       WHERE b=572
16409:          OR (g='nmlkjih' AND f GLOB 'fghij*')
16410:   }
16411: } {52 57 scan 0 sort 0}
16412: do_test where7-2.706.1 {
16413:   count_steps_sort {
16414:      SELECT a FROM t2
16415:       WHERE (d>=44.0 AND d<45.0 AND d NOT NULL)
16416:          OR ((a BETWEEN 54 AND 56) AND a!=55)
16417:          OR f='lmnopqrst'
16418:          OR (f GLOB '?lmno*' AND f GLOB 'klmn*')
16419:          OR (g='ihgfedc' AND f GLOB 'defgh*')
16420:          OR a=23
16421:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
16422:   }
16423: } {10 11 23 36 37 44 54 56 62 63 69 81 88 89 scan 0 sort 0}
16424: do_test where7-2.706.2 {
16425:   count_steps_sort {
16426:      SELECT a FROM t3
16427:       WHERE (d>=44.0 AND d<45.0 AND d NOT NULL)
16428:          OR ((a BETWEEN 54 AND 56) AND a!=55)
16429:          OR f='lmnopqrst'
16430:          OR (f GLOB '?lmno*' AND f GLOB 'klmn*')
16431:          OR (g='ihgfedc' AND f GLOB 'defgh*')
16432:          OR a=23
16433:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
16434:   }
16435: } {10 11 23 36 37 44 54 56 62 63 69 81 88 89 scan 0 sort 0}
16436: do_test where7-2.707.1 {
16437:   count_steps_sort {
16438:      SELECT a FROM t2
16439:       WHERE b=836
16440:          OR ((a BETWEEN 89 AND 91) AND a!=90)
16441:          OR b=605
16442:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
16443:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
16444:          OR b=759
16445:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
16446:          OR ((a BETWEEN 38 AND 40) AND a!=39)
16447:          OR a=40
16448:          OR f='ghijklmno'
16449:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
16450:   }
16451: } {6 24 32 38 40 46 50 55 58 69 70 76 84 85 89 91 scan 0 sort 0}
16452: do_test where7-2.707.2 {
16453:   count_steps_sort {
16454:      SELECT a FROM t3
16455:       WHERE b=836
16456:          OR ((a BETWEEN 89 AND 91) AND a!=90)
16457:          OR b=605
16458:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
16459:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
16460:          OR b=759
16461:          OR (f GLOB '?zabc*' AND f GLOB 'yzab*')
16462:          OR ((a BETWEEN 38 AND 40) AND a!=39)
16463:          OR a=40
16464:          OR f='ghijklmno'
16465:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
16466:   }
16467: } {6 24 32 38 40 46 50 55 58 69 70 76 84 85 89 91 scan 0 sort 0}
16468: do_test where7-2.708.1 {
16469:   count_steps_sort {
16470:      SELECT a FROM t2
16471:       WHERE (d>=51.0 AND d<52.0 AND d NOT NULL)
16472:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
16473:   }
16474: } {42 51 scan 0 sort 0}
16475: do_test where7-2.708.2 {
16476:   count_steps_sort {
16477:      SELECT a FROM t3
16478:       WHERE (d>=51.0 AND d<52.0 AND d NOT NULL)
16479:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
16480:   }
16481: } {42 51 scan 0 sort 0}
16482: do_test where7-2.709.1 {
16483:   count_steps_sort {
16484:      SELECT a FROM t2
16485:       WHERE c=27027
16486:          OR b=872
16487:          OR a=56
16488:   }
16489: } {56 79 80 81 scan 0 sort 0}
16490: do_test where7-2.709.2 {
16491:   count_steps_sort {
16492:      SELECT a FROM t3
16493:       WHERE c=27027
16494:          OR b=872
16495:          OR a=56
16496:   }
16497: } {56 79 80 81 scan 0 sort 0}
16498: do_test where7-2.710.1 {
16499:   count_steps_sort {
16500:      SELECT a FROM t2
16501:       WHERE b=685
16502:          OR b=256
16503:          OR ((a BETWEEN 78 AND 80) AND a!=79)
16504:          OR a=44
16505:          OR a=63
16506:          OR a=15
16507:          OR ((a BETWEEN 22 AND 24) AND a!=23)
16508:   }
16509: } {15 22 24 44 63 78 80 scan 0 sort 0}
16510: do_test where7-2.710.2 {
16511:   count_steps_sort {
16512:      SELECT a FROM t3
16513:       WHERE b=685
16514:          OR b=256
16515:          OR ((a BETWEEN 78 AND 80) AND a!=79)
16516:          OR a=44
16517:          OR a=63
16518:          OR a=15
16519:          OR ((a BETWEEN 22 AND 24) AND a!=23)
16520:   }
16521: } {15 22 24 44 63 78 80 scan 0 sort 0}
16522: do_test where7-2.711.1 {
16523:   count_steps_sort {
16524:      SELECT a FROM t2
16525:       WHERE (g='nmlkjih' AND f GLOB 'efghi*')
16526:          OR a=34
16527:          OR ((a BETWEEN 6 AND 8) AND a!=7)
16528:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
16529:          OR a=67
16530:          OR a=28
16531:   }
16532: } {6 8 28 34 56 67 75 scan 0 sort 0}
16533: do_test where7-2.711.2 {
16534:   count_steps_sort {
16535:      SELECT a FROM t3
16536:       WHERE (g='nmlkjih' AND f GLOB 'efghi*')
16537:          OR a=34
16538:          OR ((a BETWEEN 6 AND 8) AND a!=7)
16539:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
16540:          OR a=67
16541:          OR a=28
16542:   }
16543: } {6 8 28 34 56 67 75 scan 0 sort 0}
16544: do_test where7-2.712.1 {
16545:   count_steps_sort {
16546:      SELECT a FROM t2
16547:       WHERE (g='qponmlk' AND f GLOB 'pqrst*')
16548:          OR a=52
16549:          OR ((a BETWEEN 68 AND 70) AND a!=69)
16550:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
16551:          OR f='ghijklmno'
16552:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
16553:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
16554:          OR b=319
16555:          OR a=34
16556:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
16557:          OR f='hijklmnop'
16558:   }
16559: } {6 7 12 18 24 29 32 33 34 41 52 58 59 68 70 84 85 scan 0 sort 0}
16560: do_test where7-2.712.2 {
16561:   count_steps_sort {
16562:      SELECT a FROM t3
16563:       WHERE (g='qponmlk' AND f GLOB 'pqrst*')
16564:          OR a=52
16565:          OR ((a BETWEEN 68 AND 70) AND a!=69)
16566:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
16567:          OR f='ghijklmno'
16568:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
16569:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
16570:          OR b=319
16571:          OR a=34
16572:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
16573:          OR f='hijklmnop'
16574:   }
16575: } {6 7 12 18 24 29 32 33 34 41 52 58 59 68 70 84 85 scan 0 sort 0}
16576: do_test where7-2.713.1 {
16577:   count_steps_sort {
16578:      SELECT a FROM t2
16579:       WHERE (g='qponmlk' AND f GLOB 'pqrst*')
16580:          OR ((a BETWEEN 69 AND 71) AND a!=70)
16581:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
16582:          OR a=47
16583:   }
16584: } {41 47 69 71 scan 0 sort 0}
16585: do_test where7-2.713.2 {
16586:   count_steps_sort {
16587:      SELECT a FROM t3
16588:       WHERE (g='qponmlk' AND f GLOB 'pqrst*')
16589:          OR ((a BETWEEN 69 AND 71) AND a!=70)
16590:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
16591:          OR a=47
16592:   }
16593: } {41 47 69 71 scan 0 sort 0}
16594: do_test where7-2.714.1 {
16595:   count_steps_sort {
16596:      SELECT a FROM t2
16597:       WHERE ((a BETWEEN 33 AND 35) AND a!=34)
16598:          OR c=7007
16599:   }
16600: } {19 20 21 33 35 scan 0 sort 0}
16601: do_test where7-2.714.2 {
16602:   count_steps_sort {
16603:      SELECT a FROM t3
16604:       WHERE ((a BETWEEN 33 AND 35) AND a!=34)
16605:          OR c=7007
16606:   }
16607: } {19 20 21 33 35 scan 0 sort 0}
16608: do_test where7-2.715.1 {
16609:   count_steps_sort {
16610:      SELECT a FROM t2
16611:       WHERE b=531
16612:          OR a=12
16613:          OR b=583
16614:          OR ((a BETWEEN 93 AND 95) AND a!=94)
16615:          OR a=61
16616:          OR b=187
16617:   }
16618: } {12 17 53 61 93 95 scan 0 sort 0}
16619: do_test where7-2.715.2 {
16620:   count_steps_sort {
16621:      SELECT a FROM t3
16622:       WHERE b=531
16623:          OR a=12
16624:          OR b=583
16625:          OR ((a BETWEEN 93 AND 95) AND a!=94)
16626:          OR a=61
16627:          OR b=187
16628:   }
16629: } {12 17 53 61 93 95 scan 0 sort 0}
16630: do_test where7-2.716.1 {
16631:   count_steps_sort {
16632:      SELECT a FROM t2
16633:       WHERE c=31031
16634:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
16635:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
16636:          OR ((a BETWEEN 66 AND 68) AND a!=67)
16637:          OR b=256
16638:          OR ((a BETWEEN 77 AND 79) AND a!=78)
16639:          OR (g='qponmlk' AND f GLOB 'mnopq*')
16640:          OR b=715
16641:          OR b=212
16642:          OR b=99
16643:          OR c=29029
16644:   }
16645: } {9 12 38 45 65 66 68 77 79 85 86 87 91 92 93 scan 0 sort 0}
16646: do_test where7-2.716.2 {
16647:   count_steps_sort {
16648:      SELECT a FROM t3
16649:       WHERE c=31031
16650:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
16651:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
16652:          OR ((a BETWEEN 66 AND 68) AND a!=67)
16653:          OR b=256
16654:          OR ((a BETWEEN 77 AND 79) AND a!=78)
16655:          OR (g='qponmlk' AND f GLOB 'mnopq*')
16656:          OR b=715
16657:          OR b=212
16658:          OR b=99
16659:          OR c=29029
16660:   }
16661: } {9 12 38 45 65 66 68 77 79 85 86 87 91 92 93 scan 0 sort 0}
16662: do_test where7-2.717.1 {
16663:   count_steps_sort {
16664:      SELECT a FROM t2
16665:       WHERE ((a BETWEEN 40 AND 42) AND a!=41)
16666:          OR b=33
16667:          OR a=62
16668:          OR b=916
16669:          OR b=1012
16670:          OR a=2
16671:          OR a=51
16672:          OR b=286
16673:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
16674:          OR b=80
16675:   }
16676: } {2 3 26 40 42 51 62 92 96 scan 0 sort 0}
16677: do_test where7-2.717.2 {
16678:   count_steps_sort {
16679:      SELECT a FROM t3
16680:       WHERE ((a BETWEEN 40 AND 42) AND a!=41)
16681:          OR b=33
16682:          OR a=62
16683:          OR b=916
16684:          OR b=1012
16685:          OR a=2
16686:          OR a=51
16687:          OR b=286
16688:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
16689:          OR b=80
16690:   }
16691: } {2 3 26 40 42 51 62 92 96 scan 0 sort 0}
16692: do_test where7-2.718.1 {
16693:   count_steps_sort {
16694:      SELECT a FROM t2
16695:       WHERE b=847
16696:          OR f='efghijklm'
16697:          OR (d>=6.0 AND d<7.0 AND d NOT NULL)
16698:   }
16699: } {4 6 30 56 77 82 scan 0 sort 0}
16700: do_test where7-2.718.2 {
16701:   count_steps_sort {
16702:      SELECT a FROM t3
16703:       WHERE b=847
16704:          OR f='efghijklm'
16705:          OR (d>=6.0 AND d<7.0 AND d NOT NULL)
16706:   }
16707: } {4 6 30 56 77 82 scan 0 sort 0}
16708: do_test where7-2.719.1 {
16709:   count_steps_sort {
16710:      SELECT a FROM t2
16711:       WHERE (g='tsrqpon' AND f GLOB 'zabcd*')
16712:          OR ((a BETWEEN 62 AND 64) AND a!=63)
16713:   }
16714: } {25 62 64 scan 0 sort 0}
16715: do_test where7-2.719.2 {
16716:   count_steps_sort {
16717:      SELECT a FROM t3
16718:       WHERE (g='tsrqpon' AND f GLOB 'zabcd*')
16719:          OR ((a BETWEEN 62 AND 64) AND a!=63)
16720:   }
16721: } {25 62 64 scan 0 sort 0}
16722: do_test where7-2.720.1 {
16723:   count_steps_sort {
16724:      SELECT a FROM t2
16725:       WHERE ((a BETWEEN 43 AND 45) AND a!=44)
16726:          OR ((a BETWEEN 31 AND 33) AND a!=32)
16727:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
16728:          OR a=43
16729:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
16730:          OR b=729
16731:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
16732:   }
16733: } {14 31 33 43 45 53 scan 0 sort 0}
16734: do_test where7-2.720.2 {
16735:   count_steps_sort {
16736:      SELECT a FROM t3
16737:       WHERE ((a BETWEEN 43 AND 45) AND a!=44)
16738:          OR ((a BETWEEN 31 AND 33) AND a!=32)
16739:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
16740:          OR a=43
16741:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
16742:          OR b=729
16743:          OR (g='vutsrqp' AND f GLOB 'opqrs*')
16744:   }
16745: } {14 31 33 43 45 53 scan 0 sort 0}
16746: do_test where7-2.721.1 {
16747:   count_steps_sort {
16748:      SELECT a FROM t2
16749:       WHERE f='efghijklm'
16750:          OR a=70
16751:          OR b=278
16752:          OR ((a BETWEEN 33 AND 35) AND a!=34)
16753:          OR c=8008
16754:          OR f='opqrstuvw'
16755:          OR ((a BETWEEN 23 AND 25) AND a!=24)
16756:          OR (g='xwvutsr' AND f GLOB 'fghij*')
16757:   }
16758: } {4 5 14 22 23 24 25 30 33 35 40 56 66 70 82 92 scan 0 sort 0}
16759: do_test where7-2.721.2 {
16760:   count_steps_sort {
16761:      SELECT a FROM t3
16762:       WHERE f='efghijklm'
16763:          OR a=70
16764:          OR b=278
16765:          OR ((a BETWEEN 33 AND 35) AND a!=34)
16766:          OR c=8008
16767:          OR f='opqrstuvw'
16768:          OR ((a BETWEEN 23 AND 25) AND a!=24)
16769:          OR (g='xwvutsr' AND f GLOB 'fghij*')
16770:   }
16771: } {4 5 14 22 23 24 25 30 33 35 40 56 66 70 82 92 scan 0 sort 0}
16772: do_test where7-2.722.1 {
16773:   count_steps_sort {
16774:      SELECT a FROM t2
16775:       WHERE ((a BETWEEN 40 AND 42) AND a!=41)
16776:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
16777:          OR c<=10
16778:          OR (g='srqponm' AND f GLOB 'fghij*')
16779:          OR a=35
16780:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
16781:          OR b=1089
16782:          OR a=73
16783:          OR b=737
16784:          OR c=18018
16785:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
16786:   }
16787: } {6 23 31 32 35 40 42 52 53 54 58 62 67 73 84 99 scan 0 sort 0}
16788: do_test where7-2.722.2 {
16789:   count_steps_sort {
16790:      SELECT a FROM t3
16791:       WHERE ((a BETWEEN 40 AND 42) AND a!=41)
16792:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
16793:          OR c<=10
16794:          OR (g='srqponm' AND f GLOB 'fghij*')
16795:          OR a=35
16796:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
16797:          OR b=1089
16798:          OR a=73
16799:          OR b=737
16800:          OR c=18018
16801:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
16802:   }
16803: } {6 23 31 32 35 40 42 52 53 54 58 62 67 73 84 99 scan 0 sort 0}
16804: do_test where7-2.723.1 {
16805:   count_steps_sort {
16806:      SELECT a FROM t2
16807:       WHERE ((a BETWEEN 0 AND 2) AND a!=1)
16808:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
16809:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
16810:          OR b=762
16811:          OR ((a BETWEEN 39 AND 41) AND a!=40)
16812:          OR a=80
16813:   }
16814: } {2 39 41 79 80 95 scan 0 sort 0}
16815: do_test where7-2.723.2 {
16816:   count_steps_sort {
16817:      SELECT a FROM t3
16818:       WHERE ((a BETWEEN 0 AND 2) AND a!=1)
16819:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
16820:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
16821:          OR b=762
16822:          OR ((a BETWEEN 39 AND 41) AND a!=40)
16823:          OR a=80
16824:   }
16825: } {2 39 41 79 80 95 scan 0 sort 0}
16826: do_test where7-2.724.1 {
16827:   count_steps_sort {
16828:      SELECT a FROM t2
16829:       WHERE ((a BETWEEN 28 AND 30) AND a!=29)
16830:          OR b=737
16831:          OR ((a BETWEEN 80 AND 82) AND a!=81)
16832:          OR b=979
16833:          OR a=36
16834:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
16835:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
16836:          OR a=55
16837:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
16838:   }
16839: } {20 28 30 36 46 50 55 67 72 80 82 89 95 98 scan 0 sort 0}
16840: do_test where7-2.724.2 {
16841:   count_steps_sort {
16842:      SELECT a FROM t3
16843:       WHERE ((a BETWEEN 28 AND 30) AND a!=29)
16844:          OR b=737
16845:          OR ((a BETWEEN 80 AND 82) AND a!=81)
16846:          OR b=979
16847:          OR a=36
16848:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
16849:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
16850:          OR a=55
16851:          OR (g='fedcbaz' AND f GLOB 'rstuv*')
16852:   }
16853: } {20 28 30 36 46 50 55 67 72 80 82 89 95 98 scan 0 sort 0}
16854: do_test where7-2.725.1 {
16855:   count_steps_sort {
16856:      SELECT a FROM t2
16857:       WHERE a=75
16858:          OR a=61
16859:          OR (g='onmlkji' AND f GLOB 'abcde*')
16860:          OR (g='gfedcba' AND f GLOB 'nopqr*')
16861:   }
16862: } {52 61 75 91 scan 0 sort 0}
16863: do_test where7-2.725.2 {
16864:   count_steps_sort {
16865:      SELECT a FROM t3
16866:       WHERE a=75
16867:          OR a=61
16868:          OR (g='onmlkji' AND f GLOB 'abcde*')
16869:          OR (g='gfedcba' AND f GLOB 'nopqr*')
16870:   }
16871: } {52 61 75 91 scan 0 sort 0}
16872: do_test where7-2.726.1 {
16873:   count_steps_sort {
16874:      SELECT a FROM t2
16875:       WHERE b=1004
16876:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
16877:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
16878:          OR a=56
16879:   }
16880: } {7 56 61 scan 0 sort 0}
16881: do_test where7-2.726.2 {
16882:   count_steps_sort {
16883:      SELECT a FROM t3
16884:       WHERE b=1004
16885:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
16886:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
16887:          OR a=56
16888:   }
16889: } {7 56 61 scan 0 sort 0}
16890: do_test where7-2.727.1 {
16891:   count_steps_sort {
16892:      SELECT a FROM t2
16893:       WHERE a=93
16894:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
16895:          OR a=83
16896:          OR b=828
16897:          OR b=454
16898:          OR ((a BETWEEN 89 AND 91) AND a!=90)
16899:          OR b=924
16900:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
16901:          OR a=50
16902:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
16903:   }
16904: } {38 50 58 66 83 84 89 91 93 scan 0 sort 0}
16905: do_test where7-2.727.2 {
16906:   count_steps_sort {
16907:      SELECT a FROM t3
16908:       WHERE a=93
16909:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
16910:          OR a=83
16911:          OR b=828
16912:          OR b=454
16913:          OR ((a BETWEEN 89 AND 91) AND a!=90)
16914:          OR b=924
16915:          OR (g='lkjihgf' AND f GLOB 'opqrs*')
16916:          OR a=50
16917:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
16918:   }
16919: } {38 50 58 66 83 84 89 91 93 scan 0 sort 0}
16920: do_test where7-2.728.1 {
16921:   count_steps_sort {
16922:      SELECT a FROM t2
16923:       WHERE f='stuvwxyza'
16924:          OR a=44
16925:          OR c=2002
16926:   }
16927: } {4 5 6 18 44 70 96 scan 0 sort 0}
16928: do_test where7-2.728.2 {
16929:   count_steps_sort {
16930:      SELECT a FROM t3
16931:       WHERE f='stuvwxyza'
16932:          OR a=44
16933:          OR c=2002
16934:   }
16935: } {4 5 6 18 44 70 96 scan 0 sort 0}
16936: do_test where7-2.729.1 {
16937:   count_steps_sort {
16938:      SELECT a FROM t2
16939:       WHERE a=55
16940:          OR a=65
16941:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
16942:   }
16943: } {14 40 55 65 66 92 scan 0 sort 0}
16944: do_test where7-2.729.2 {
16945:   count_steps_sort {
16946:      SELECT a FROM t3
16947:       WHERE a=55
16948:          OR a=65
16949:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
16950:   }
16951: } {14 40 55 65 66 92 scan 0 sort 0}
16952: do_test where7-2.730.1 {
16953:   count_steps_sort {
16954:      SELECT a FROM t2
16955:       WHERE ((a BETWEEN 72 AND 74) AND a!=73)
16956:          OR b=605
16957:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
16958:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
16959:          OR ((a BETWEEN 72 AND 74) AND a!=73)
16960:          OR f='ijklmnopq'
16961:          OR ((a BETWEEN 86 AND 88) AND a!=87)
16962:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
16963:          OR c=9009
16964:          OR b=374
16965:   }
16966: } {8 12 13 25 26 27 34 43 55 60 72 74 86 88 scan 0 sort 0}
16967: do_test where7-2.730.2 {
16968:   count_steps_sort {
16969:      SELECT a FROM t3
16970:       WHERE ((a BETWEEN 72 AND 74) AND a!=73)
16971:          OR b=605
16972:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
16973:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
16974:          OR ((a BETWEEN 72 AND 74) AND a!=73)
16975:          OR f='ijklmnopq'
16976:          OR ((a BETWEEN 86 AND 88) AND a!=87)
16977:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
16978:          OR c=9009
16979:          OR b=374
16980:   }
16981: } {8 12 13 25 26 27 34 43 55 60 72 74 86 88 scan 0 sort 0}
16982: do_test where7-2.731.1 {
16983:   count_steps_sort {
16984:      SELECT a FROM t2
16985:       WHERE b=476
16986:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
16987:          OR b=982
16988:          OR a=43
16989:          OR b=355
16990:   }
16991: } {8 43 scan 0 sort 0}
16992: do_test where7-2.731.2 {
16993:   count_steps_sort {
16994:      SELECT a FROM t3
16995:       WHERE b=476
16996:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
16997:          OR b=982
16998:          OR a=43
16999:          OR b=355
17000:   }
17001: } {8 43 scan 0 sort 0}
17002: do_test where7-2.732.1 {
17003:   count_steps_sort {
17004:      SELECT a FROM t2
17005:       WHERE a=85
17006:          OR b=718
17007:          OR (g='fedcbaz' AND f GLOB 'pqrst*')
17008:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
17009:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
17010:   }
17011: } {1 25 27 53 79 85 93 scan 0 sort 0}
17012: do_test where7-2.732.2 {
17013:   count_steps_sort {
17014:      SELECT a FROM t3
17015:       WHERE a=85
17016:          OR b=718
17017:          OR (g='fedcbaz' AND f GLOB 'pqrst*')
17018:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
17019:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
17020:   }
17021: } {1 25 27 53 79 85 93 scan 0 sort 0}
17022: do_test where7-2.733.1 {
17023:   count_steps_sort {
17024:      SELECT a FROM t2
17025:       WHERE (d>=73.0 AND d<74.0 AND d NOT NULL)
17026:          OR ((a BETWEEN 96 AND 98) AND a!=97)
17027:   }
17028: } {73 96 98 scan 0 sort 0}
17029: do_test where7-2.733.2 {
17030:   count_steps_sort {
17031:      SELECT a FROM t3
17032:       WHERE (d>=73.0 AND d<74.0 AND d NOT NULL)
17033:          OR ((a BETWEEN 96 AND 98) AND a!=97)
17034:   }
17035: } {73 96 98 scan 0 sort 0}
17036: do_test where7-2.734.1 {
17037:   count_steps_sort {
17038:      SELECT a FROM t2
17039:       WHERE b=176
17040:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
17041:          OR ((a BETWEEN 27 AND 29) AND a!=28)
17042:          OR b=619
17043:          OR b=597
17044:          OR b=198
17045:          OR a=27
17046:          OR b=91
17047:          OR a=77
17048:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
17049:   }
17050: } {16 18 25 27 29 77 80 scan 0 sort 0}
17051: do_test where7-2.734.2 {
17052:   count_steps_sort {
17053:      SELECT a FROM t3
17054:       WHERE b=176
17055:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
17056:          OR ((a BETWEEN 27 AND 29) AND a!=28)
17057:          OR b=619
17058:          OR b=597
17059:          OR b=198
17060:          OR a=27
17061:          OR b=91
17062:          OR a=77
17063:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
17064:   }
17065: } {16 18 25 27 29 77 80 scan 0 sort 0}
17066: do_test where7-2.735.1 {
17067:   count_steps_sort {
17068:      SELECT a FROM t2
17069:       WHERE a=41
17070:          OR b=528
17071:          OR c=3003
17072:          OR ((a BETWEEN 20 AND 22) AND a!=21)
17073:          OR b=22
17074:   }
17075: } {2 7 8 9 20 22 41 48 scan 0 sort 0}
17076: do_test where7-2.735.2 {
17077:   count_steps_sort {
17078:      SELECT a FROM t3
17079:       WHERE a=41
17080:          OR b=528
17081:          OR c=3003
17082:          OR ((a BETWEEN 20 AND 22) AND a!=21)
17083:          OR b=22
17084:   }
17085: } {2 7 8 9 20 22 41 48 scan 0 sort 0}
17086: do_test where7-2.736.1 {
17087:   count_steps_sort {
17088:      SELECT a FROM t2
17089:       WHERE (f GLOB '?rstu*' AND f GLOB 'qrst*')
17090:          OR b=465
17091:          OR ((a BETWEEN 63 AND 65) AND a!=64)
17092:          OR a=37
17093:          OR b=1056
17094:          OR (g='srqponm' AND f GLOB 'defgh*')
17095:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
17096:          OR b=1023
17097:   }
17098: } {4 16 29 37 42 63 65 68 93 94 96 scan 0 sort 0}
17099: do_test where7-2.736.2 {
17100:   count_steps_sort {
17101:      SELECT a FROM t3
17102:       WHERE (f GLOB '?rstu*' AND f GLOB 'qrst*')
17103:          OR b=465
17104:          OR ((a BETWEEN 63 AND 65) AND a!=64)
17105:          OR a=37
17106:          OR b=1056
17107:          OR (g='srqponm' AND f GLOB 'defgh*')
17108:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
17109:          OR b=1023
17110:   }
17111: } {4 16 29 37 42 63 65 68 93 94 96 scan 0 sort 0}
17112: do_test where7-2.737.1 {
17113:   count_steps_sort {
17114:      SELECT a FROM t2
17115:       WHERE a=76
17116:          OR a=8
17117:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
17118:          OR b=495
17119:          OR b=663
17120:          OR a=98
17121:          OR b=748
17122:   }
17123: } {8 27 45 68 76 98 scan 0 sort 0}
17124: do_test where7-2.737.2 {
17125:   count_steps_sort {
17126:      SELECT a FROM t3
17127:       WHERE a=76
17128:          OR a=8
17129:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
17130:          OR b=495
17131:          OR b=663
17132:          OR a=98
17133:          OR b=748
17134:   }
17135: } {8 27 45 68 76 98 scan 0 sort 0}
17136: do_test where7-2.738.1 {
17137:   count_steps_sort {
17138:      SELECT a FROM t2
17139:       WHERE b=1081
17140:          OR b=542
17141:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
17142:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
17143:          OR b=828
17144:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
17145:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
17146:          OR a=18
17147:   }
17148: } {18 47 61 64 67 scan 0 sort 0}
17149: do_test where7-2.738.2 {
17150:   count_steps_sort {
17151:      SELECT a FROM t3
17152:       WHERE b=1081
17153:          OR b=542
17154:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
17155:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
17156:          OR b=828
17157:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
17158:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
17159:          OR a=18
17160:   }
17161: } {18 47 61 64 67 scan 0 sort 0}
17162: do_test where7-2.739.1 {
17163:   count_steps_sort {
17164:      SELECT a FROM t2
17165:       WHERE f='abcdefghi'
17166:          OR a=14
17167:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
17168:          OR c=27027
17169:          OR a=47
17170:   }
17171: } {13 14 26 47 52 78 79 80 81 scan 0 sort 0}
17172: do_test where7-2.739.2 {
17173:   count_steps_sort {
17174:      SELECT a FROM t3
17175:       WHERE f='abcdefghi'
17176:          OR a=14
17177:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
17178:          OR c=27027
17179:          OR a=47
17180:   }
17181: } {13 14 26 47 52 78 79 80 81 scan 0 sort 0}
17182: do_test where7-2.740.1 {
17183:   count_steps_sort {
17184:      SELECT a FROM t2
17185:       WHERE c=31031
17186:          OR b=737
17187:          OR a=37
17188:          OR ((a BETWEEN 98 AND 100) AND a!=99)
17189:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
17190:          OR ((a BETWEEN 65 AND 67) AND a!=66)
17191:          OR a=91
17192:          OR b=77
17193:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
17194:   }
17195: } {7 37 65 67 91 92 93 94 98 100 scan 0 sort 0}
17196: do_test where7-2.740.2 {
17197:   count_steps_sort {
17198:      SELECT a FROM t3
17199:       WHERE c=31031
17200:          OR b=737
17201:          OR a=37
17202:          OR ((a BETWEEN 98 AND 100) AND a!=99)
17203:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
17204:          OR ((a BETWEEN 65 AND 67) AND a!=66)
17205:          OR a=91
17206:          OR b=77
17207:          OR (d>=94.0 AND d<95.0 AND d NOT NULL)
17208:   }
17209: } {7 37 65 67 91 92 93 94 98 100 scan 0 sort 0}
17210: do_test where7-2.741.1 {
17211:   count_steps_sort {
17212:      SELECT a FROM t2
17213:       WHERE a=17
17214:          OR b=484
17215:          OR c=3003
17216:          OR b=121
17217:          OR a=53
17218:   }
17219: } {7 8 9 11 17 44 53 scan 0 sort 0}
17220: do_test where7-2.741.2 {
17221:   count_steps_sort {
17222:      SELECT a FROM t3
17223:       WHERE a=17
17224:          OR b=484
17225:          OR c=3003
17226:          OR b=121
17227:          OR a=53
17228:   }
17229: } {7 8 9 11 17 44 53 scan 0 sort 0}
17230: do_test where7-2.742.1 {
17231:   count_steps_sort {
17232:      SELECT a FROM t2
17233:       WHERE b=880
17234:          OR b=696
17235:          OR (g='xwvutsr' AND f GLOB 'fghij*')
17236:          OR b=308
17237:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
17238:          OR ((a BETWEEN 96 AND 98) AND a!=97)
17239:   }
17240: } {5 28 65 80 96 98 scan 0 sort 0}
17241: do_test where7-2.742.2 {
17242:   count_steps_sort {
17243:      SELECT a FROM t3
17244:       WHERE b=880
17245:          OR b=696
17246:          OR (g='xwvutsr' AND f GLOB 'fghij*')
17247:          OR b=308
17248:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
17249:          OR ((a BETWEEN 96 AND 98) AND a!=97)
17250:   }
17251: } {5 28 65 80 96 98 scan 0 sort 0}
17252: do_test where7-2.743.1 {
17253:   count_steps_sort {
17254:      SELECT a FROM t2
17255:       WHERE (g='tsrqpon' AND f GLOB 'zabcd*')
17256:          OR a=24
17257:          OR f IS NULL
17258:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
17259:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
17260:          OR c=12012
17261:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
17262:   }
17263: } {24 25 34 35 36 57 77 88 scan 0 sort 0}
17264: do_test where7-2.743.2 {
17265:   count_steps_sort {
17266:      SELECT a FROM t3
17267:       WHERE (g='tsrqpon' AND f GLOB 'zabcd*')
17268:          OR a=24
17269:          OR f IS NULL
17270:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
17271:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
17272:          OR c=12012
17273:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
17274:   }
17275: } {24 25 34 35 36 57 77 88 scan 0 sort 0}
17276: do_test where7-2.744.1 {
17277:   count_steps_sort {
17278:      SELECT a FROM t2
17279:       WHERE a=94
17280:          OR (d>=74.0 AND d<75.0 AND d NOT NULL)
17281:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
17282:          OR b=792
17283:          OR a=77
17284:          OR a=26
17285:          OR b=641
17286:          OR a=38
17287:   }
17288: } {26 38 72 74 77 85 94 scan 0 sort 0}
17289: do_test where7-2.744.2 {
17290:   count_steps_sort {
17291:      SELECT a FROM t3
17292:       WHERE a=94
17293:          OR (d>=74.0 AND d<75.0 AND d NOT NULL)
17294:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
17295:          OR b=792
17296:          OR a=77
17297:          OR a=26
17298:          OR b=641
17299:          OR a=38
17300:   }
17301: } {26 38 72 74 77 85 94 scan 0 sort 0}
17302: do_test where7-2.745.1 {
17303:   count_steps_sort {
17304:      SELECT a FROM t2
17305:       WHERE ((a BETWEEN 51 AND 53) AND a!=52)
17306:          OR (d>=30.0 AND d<31.0 AND d NOT NULL)
17307:          OR b=14
17308:          OR ((a BETWEEN 89 AND 91) AND a!=90)
17309:          OR ((a BETWEEN 15 AND 17) AND a!=16)
17310:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
17311:          OR b=121
17312:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
17313:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
17314:   }
17315: } {11 15 17 27 30 51 53 63 86 89 91 scan 0 sort 0}
17316: do_test where7-2.745.2 {
17317:   count_steps_sort {
17318:      SELECT a FROM t3
17319:       WHERE ((a BETWEEN 51 AND 53) AND a!=52)
17320:          OR (d>=30.0 AND d<31.0 AND d NOT NULL)
17321:          OR b=14
17322:          OR ((a BETWEEN 89 AND 91) AND a!=90)
17323:          OR ((a BETWEEN 15 AND 17) AND a!=16)
17324:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
17325:          OR b=121
17326:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
17327:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
17328:   }
17329: } {11 15 17 27 30 51 53 63 86 89 91 scan 0 sort 0}
17330: do_test where7-2.746.1 {
17331:   count_steps_sort {
17332:      SELECT a FROM t2
17333:       WHERE b=517
17334:          OR ((a BETWEEN 69 AND 71) AND a!=70)
17335:          OR f='opqrstuvw'
17336:   }
17337: } {14 40 47 66 69 71 92 scan 0 sort 0}
17338: do_test where7-2.746.2 {
17339:   count_steps_sort {
17340:      SELECT a FROM t3
17341:       WHERE b=517
17342:          OR ((a BETWEEN 69 AND 71) AND a!=70)
17343:          OR f='opqrstuvw'
17344:   }
17345: } {14 40 47 66 69 71 92 scan 0 sort 0}
17346: do_test where7-2.747.1 {
17347:   count_steps_sort {
17348:      SELECT a FROM t2
17349:       WHERE (d>=84.0 AND d<85.0 AND d NOT NULL)
17350:          OR ((a BETWEEN 32 AND 34) AND a!=33)
17351:          OR b=267
17352:          OR c=19019
17353:          OR a=42
17354:          OR b=938
17355:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
17356:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
17357:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
17358:          OR ((a BETWEEN 22 AND 24) AND a!=23)
17359:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
17360:   }
17361: } {1 9 17 21 22 24 32 34 35 42 43 55 56 57 61 69 84 87 95 scan 0 sort 0}
17362: do_test where7-2.747.2 {
17363:   count_steps_sort {
17364:      SELECT a FROM t3
17365:       WHERE (d>=84.0 AND d<85.0 AND d NOT NULL)
17366:          OR ((a BETWEEN 32 AND 34) AND a!=33)
17367:          OR b=267
17368:          OR c=19019
17369:          OR a=42
17370:          OR b=938
17371:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
17372:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
17373:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
17374:          OR ((a BETWEEN 22 AND 24) AND a!=23)
17375:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
17376:   }
17377: } {1 9 17 21 22 24 32 34 35 42 43 55 56 57 61 69 84 87 95 scan 0 sort 0}
17378: do_test where7-2.748.1 {
17379:   count_steps_sort {
17380:      SELECT a FROM t2
17381:       WHERE b=179
17382:          OR a=50
17383:          OR (g='srqponm' AND f GLOB 'defgh*')
17384:   }
17385: } {29 50 scan 0 sort 0}
17386: do_test where7-2.748.2 {
17387:   count_steps_sort {
17388:      SELECT a FROM t3
17389:       WHERE b=179
17390:          OR a=50
17391:          OR (g='srqponm' AND f GLOB 'defgh*')
17392:   }
17393: } {29 50 scan 0 sort 0}
17394: do_test where7-2.749.1 {
17395:   count_steps_sort {
17396:      SELECT a FROM t2
17397:       WHERE (g='vutsrqp' AND f GLOB 'rstuv*')
17398:          OR f='xyzabcdef'
17399:          OR ((a BETWEEN 49 AND 51) AND a!=50)
17400:          OR b=575
17401:          OR b=385
17402:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
17403:          OR ((a BETWEEN 63 AND 65) AND a!=64)
17404:          OR a=46
17405:          OR b=220
17406:          OR a=63
17407:   }
17408: } {17 18 20 23 35 46 49 51 63 65 75 scan 0 sort 0}
17409: do_test where7-2.749.2 {
17410:   count_steps_sort {
17411:      SELECT a FROM t3
17412:       WHERE (g='vutsrqp' AND f GLOB 'rstuv*')
17413:          OR f='xyzabcdef'
17414:          OR ((a BETWEEN 49 AND 51) AND a!=50)
17415:          OR b=575
17416:          OR b=385
17417:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
17418:          OR ((a BETWEEN 63 AND 65) AND a!=64)
17419:          OR a=46
17420:          OR b=220
17421:          OR a=63
17422:   }
17423: } {17 18 20 23 35 46 49 51 63 65 75 scan 0 sort 0}
17424: do_test where7-2.750.1 {
17425:   count_steps_sort {
17426:      SELECT a FROM t2
17427:       WHERE b=1056
17428:          OR ((a BETWEEN 91 AND 93) AND a!=92)
17429:          OR b=1078
17430:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
17431:          OR c=31031
17432:          OR b=869
17433:          OR (g='jihgfed' AND f GLOB 'zabcd*')
17434:          OR b=245
17435:          OR a=92
17436:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
17437:          OR b=880
17438:   }
17439: } {66 77 79 80 91 92 93 96 98 scan 0 sort 0}
17440: do_test where7-2.750.2 {
17441:   count_steps_sort {
17442:      SELECT a FROM t3
17443:       WHERE b=1056
17444:          OR ((a BETWEEN 91 AND 93) AND a!=92)
17445:          OR b=1078
17446:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
17447:          OR c=31031
17448:          OR b=869
17449:          OR (g='jihgfed' AND f GLOB 'zabcd*')
17450:          OR b=245
17451:          OR a=92
17452:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
17453:          OR b=880
17454:   }
17455: } {66 77 79 80 91 92 93 96 98 scan 0 sort 0}
17456: do_test where7-2.751.1 {
17457:   count_steps_sort {
17458:      SELECT a FROM t2
17459:       WHERE b=1078
17460:          OR c=28028
17461:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
17462:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
17463:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
17464:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
17465:          OR ((a BETWEEN 17 AND 19) AND a!=18)
17466:          OR c=9009
17467:          OR a=17
17468:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
17469:   }
17470: } {16 17 19 25 26 27 38 39 40 42 61 68 82 83 84 94 98 scan 0 sort 0}
17471: do_test where7-2.751.2 {
17472:   count_steps_sort {
17473:      SELECT a FROM t3
17474:       WHERE b=1078
17475:          OR c=28028
17476:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
17477:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
17478:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
17479:          OR (g='mlkjihg' AND f GLOB 'jklmn*')
17480:          OR ((a BETWEEN 17 AND 19) AND a!=18)
17481:          OR c=9009
17482:          OR a=17
17483:          OR (d>=39.0 AND d<40.0 AND d NOT NULL)
17484:   }
17485: } {16 17 19 25 26 27 38 39 40 42 61 68 82 83 84 94 98 scan 0 sort 0}
17486: do_test where7-2.752.1 {
17487:   count_steps_sort {
17488:      SELECT a FROM t2
17489:       WHERE (d>=57.0 AND d<58.0 AND d NOT NULL)
17490:          OR b=762
17491:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
17492:          OR f='tuvwxyzab'
17493:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
17494:          OR ((a BETWEEN 31 AND 33) AND a!=32)
17495:          OR b=1034
17496:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
17497:   }
17498: } {14 19 31 33 44 45 57 58 71 94 97 scan 0 sort 0}
17499: do_test where7-2.752.2 {
17500:   count_steps_sort {
17501:      SELECT a FROM t3
17502:       WHERE (d>=57.0 AND d<58.0 AND d NOT NULL)
17503:          OR b=762
17504:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
17505:          OR f='tuvwxyzab'
17506:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
17507:          OR ((a BETWEEN 31 AND 33) AND a!=32)
17508:          OR b=1034
17509:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
17510:   }
17511: } {14 19 31 33 44 45 57 58 71 94 97 scan 0 sort 0}
17512: do_test where7-2.753.1 {
17513:   count_steps_sort {
17514:      SELECT a FROM t2
17515:       WHERE b=47
17516:          OR b=187
17517:          OR a=56
17518:          OR ((a BETWEEN 30 AND 32) AND a!=31)
17519:          OR ((a BETWEEN 68 AND 70) AND a!=69)
17520:          OR ((a BETWEEN 89 AND 91) AND a!=90)
17521:   }
17522: } {17 30 32 56 68 70 89 91 scan 0 sort 0}
17523: do_test where7-2.753.2 {
17524:   count_steps_sort {
17525:      SELECT a FROM t3
17526:       WHERE b=47
17527:          OR b=187
17528:          OR a=56
17529:          OR ((a BETWEEN 30 AND 32) AND a!=31)
17530:          OR ((a BETWEEN 68 AND 70) AND a!=69)
17531:          OR ((a BETWEEN 89 AND 91) AND a!=90)
17532:   }
17533: } {17 30 32 56 68 70 89 91 scan 0 sort 0}
17534: do_test where7-2.754.1 {
17535:   count_steps_sort {
17536:      SELECT a FROM t2
17537:       WHERE c=11011
17538:          OR a=14
17539:          OR c=16016
17540:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
17541:          OR (g='srqponm' AND f GLOB 'efghi*')
17542:          OR f='jklmnopqr'
17543:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
17544:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
17545:          OR b=916
17546:   }
17547: } {9 14 21 25 30 31 32 33 35 46 47 48 61 87 96 scan 0 sort 0}
17548: do_test where7-2.754.2 {
17549:   count_steps_sort {
17550:      SELECT a FROM t3
17551:       WHERE c=11011
17552:          OR a=14
17553:          OR c=16016
17554:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
17555:          OR (g='srqponm' AND f GLOB 'efghi*')
17556:          OR f='jklmnopqr'
17557:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
17558:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
17559:          OR b=916
17560:   }
17561: } {9 14 21 25 30 31 32 33 35 46 47 48 61 87 96 scan 0 sort 0}
17562: do_test where7-2.755.1 {
17563:   count_steps_sort {
17564:      SELECT a FROM t2
17565:       WHERE b=949
17566:          OR (g='srqponm' AND f GLOB 'cdefg*')
17567:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
17568:          OR c<=10
17569:          OR a=14
17570:          OR b=608
17571:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
17572:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
17573:          OR b=121
17574:          OR b=333
17575:          OR ((a BETWEEN 93 AND 95) AND a!=94)
17576:   }
17577: } {11 14 17 28 66 93 95 98 scan 0 sort 0}
17578: do_test where7-2.755.2 {
17579:   count_steps_sort {
17580:      SELECT a FROM t3
17581:       WHERE b=949
17582:          OR (g='srqponm' AND f GLOB 'cdefg*')
17583:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
17584:          OR c<=10
17585:          OR a=14
17586:          OR b=608
17587:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
17588:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
17589:          OR b=121
17590:          OR b=333
17591:          OR ((a BETWEEN 93 AND 95) AND a!=94)
17592:   }
17593: } {11 14 17 28 66 93 95 98 scan 0 sort 0}
17594: do_test where7-2.756.1 {
17595:   count_steps_sort {
17596:      SELECT a FROM t2
17597:       WHERE (g='kjihgfe' AND f GLOB 'rstuv*')
17598:          OR b=355
17599:          OR b=627
17600:          OR b=1001
17601:          OR b=1026
17602:          OR ((a BETWEEN 58 AND 60) AND a!=59)
17603:   }
17604: } {57 58 60 69 91 scan 0 sort 0}
17605: do_test where7-2.756.2 {
17606:   count_steps_sort {
17607:      SELECT a FROM t3
17608:       WHERE (g='kjihgfe' AND f GLOB 'rstuv*')
17609:          OR b=355
17610:          OR b=627
17611:          OR b=1001
17612:          OR b=1026
17613:          OR ((a BETWEEN 58 AND 60) AND a!=59)
17614:   }
17615: } {57 58 60 69 91 scan 0 sort 0}
17616: do_test where7-2.757.1 {
17617:   count_steps_sort {
17618:      SELECT a FROM t2
17619:       WHERE (g='xwvutsr' AND f GLOB 'efghi*')
17620:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
17621:   }
17622: } {4 79 scan 0 sort 0}
17623: do_test where7-2.757.2 {
17624:   count_steps_sort {
17625:      SELECT a FROM t3
17626:       WHERE (g='xwvutsr' AND f GLOB 'efghi*')
17627:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
17628:   }
17629: } {4 79 scan 0 sort 0}
17630: do_test where7-2.758.1 {
17631:   count_steps_sort {
17632:      SELECT a FROM t2
17633:       WHERE b=685
17634:          OR a=14
17635:          OR b=990
17636:          OR (g='tsrqpon' AND f GLOB 'abcde*')
17637:          OR f='efghijklm'
17638:          OR c=1001
17639:          OR b=784
17640:          OR (g='srqponm' AND f GLOB 'ghijk*')
17641:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
17642:   }
17643: } {1 2 3 4 14 26 30 32 56 69 82 90 scan 0 sort 0}
17644: do_test where7-2.758.2 {
17645:   count_steps_sort {
17646:      SELECT a FROM t3
17647:       WHERE b=685
17648:          OR a=14
17649:          OR b=990
17650:          OR (g='tsrqpon' AND f GLOB 'abcde*')
17651:          OR f='efghijklm'
17652:          OR c=1001
17653:          OR b=784
17654:          OR (g='srqponm' AND f GLOB 'ghijk*')
17655:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
17656:   }
17657: } {1 2 3 4 14 26 30 32 56 69 82 90 scan 0 sort 0}
17658: do_test where7-2.759.1 {
17659:   count_steps_sort {
17660:      SELECT a FROM t2
17661:       WHERE a=54
17662:          OR (g='qponmlk' AND f GLOB 'nopqr*')
17663:          OR c=26026
17664:          OR ((a BETWEEN 97 AND 99) AND a!=98)
17665:   }
17666: } {39 54 76 77 78 97 99 scan 0 sort 0}
17667: do_test where7-2.759.2 {
17668:   count_steps_sort {
17669:      SELECT a FROM t3
17670:       WHERE a=54
17671:          OR (g='qponmlk' AND f GLOB 'nopqr*')
17672:          OR c=26026
17673:          OR ((a BETWEEN 97 AND 99) AND a!=98)
17674:   }
17675: } {39 54 76 77 78 97 99 scan 0 sort 0}
17676: do_test where7-2.760.1 {
17677:   count_steps_sort {
17678:      SELECT a FROM t2
17679:       WHERE (g='hgfedcb' AND f GLOB 'ghijk*')
17680:          OR c=24024
17681:          OR a=98
17682:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
17683:          OR a=5
17684:          OR ((a BETWEEN 31 AND 33) AND a!=32)
17685:          OR (g='rqponml' AND f GLOB 'klmno*')
17686:          OR f='pqrstuvwx'
17687:          OR f='bcdefghij'
17688:          OR b=1001
17689:          OR ((a BETWEEN 77 AND 79) AND a!=78)
17690:   }
17691: } {1 5 15 21 27 31 33 36 41 53 67 70 71 72 77 79 84 91 93 98 scan 0 sort 0}
17692: do_test where7-2.760.2 {
17693:   count_steps_sort {
17694:      SELECT a FROM t3
17695:       WHERE (g='hgfedcb' AND f GLOB 'ghijk*')
17696:          OR c=24024
17697:          OR a=98
17698:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
17699:          OR a=5
17700:          OR ((a BETWEEN 31 AND 33) AND a!=32)
17701:          OR (g='rqponml' AND f GLOB 'klmno*')
17702:          OR f='pqrstuvwx'
17703:          OR f='bcdefghij'
17704:          OR b=1001
17705:          OR ((a BETWEEN 77 AND 79) AND a!=78)
17706:   }
17707: } {1 5 15 21 27 31 33 36 41 53 67 70 71 72 77 79 84 91 93 98 scan 0 sort 0}
17708: do_test where7-2.761.1 {
17709:   count_steps_sort {
17710:      SELECT a FROM t2
17711:       WHERE b=781
17712:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
17713:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
17714:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
17715:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
17716:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
17717:          OR f='lmnopqrst'
17718:          OR a=39
17719:          OR a=100
17720:          OR ((a BETWEEN 56 AND 58) AND a!=57)
17721:   }
17722: } {1 11 14 37 39 40 54 56 58 63 66 71 89 92 99 100 scan 0 sort 0}
17723: do_test where7-2.761.2 {
17724:   count_steps_sort {
17725:      SELECT a FROM t3
17726:       WHERE b=781
17727:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
17728:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
17729:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
17730:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
17731:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
17732:          OR f='lmnopqrst'
17733:          OR a=39
17734:          OR a=100
17735:          OR ((a BETWEEN 56 AND 58) AND a!=57)
17736:   }
17737: } {1 11 14 37 39 40 54 56 58 63 66 71 89 92 99 100 scan 0 sort 0}
17738: do_test where7-2.762.1 {
17739:   count_steps_sort {
17740:      SELECT a FROM t2
17741:       WHERE c=4004
17742:          OR b=718
17743:          OR (g='qponmlk' AND f GLOB 'opqrs*')
17744:          OR a=50
17745:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
17746:          OR b=363
17747:          OR (g='rqponml' AND f GLOB 'ijklm*')
17748:          OR b=1023
17749:   }
17750: } {10 11 12 33 34 40 50 93 scan 0 sort 0}
17751: do_test where7-2.762.2 {
17752:   count_steps_sort {
17753:      SELECT a FROM t3
17754:       WHERE c=4004
17755:          OR b=718
17756:          OR (g='qponmlk' AND f GLOB 'opqrs*')
17757:          OR a=50
17758:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
17759:          OR b=363
17760:          OR (g='rqponml' AND f GLOB 'ijklm*')
17761:          OR b=1023
17762:   }
17763: } {10 11 12 33 34 40 50 93 scan 0 sort 0}
17764: do_test where7-2.763.1 {
17765:   count_steps_sort {
17766:      SELECT a FROM t2
17767:       WHERE b=1081
17768:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
17769:          OR b=473
17770:          OR ((a BETWEEN 43 AND 45) AND a!=44)
17771:          OR b=586
17772:          OR (g='tsrqpon' AND f GLOB 'abcde*')
17773:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
17774:   }
17775: } {20 26 43 45 46 55 72 98 scan 0 sort 0}
17776: do_test where7-2.763.2 {
17777:   count_steps_sort {
17778:      SELECT a FROM t3
17779:       WHERE b=1081
17780:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
17781:          OR b=473
17782:          OR ((a BETWEEN 43 AND 45) AND a!=44)
17783:          OR b=586
17784:          OR (g='tsrqpon' AND f GLOB 'abcde*')
17785:          OR (f GLOB '?vwxy*' AND f GLOB 'uvwx*')
17786:   }
17787: } {20 26 43 45 46 55 72 98 scan 0 sort 0}
17788: do_test where7-2.764.1 {
17789:   count_steps_sort {
17790:      SELECT a FROM t2
17791:       WHERE (f GLOB '?ijkl*' AND f GLOB 'hijk*')
17792:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
17793:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
17794:   }
17795: } {7 13 33 58 59 85 scan 0 sort 0}
17796: do_test where7-2.764.2 {
17797:   count_steps_sort {
17798:      SELECT a FROM t3
17799:       WHERE (f GLOB '?ijkl*' AND f GLOB 'hijk*')
17800:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
17801:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
17802:   }
17803: } {7 13 33 58 59 85 scan 0 sort 0}
17804: do_test where7-2.765.1 {
17805:   count_steps_sort {
17806:      SELECT a FROM t2
17807:       WHERE (g='hgfedcb' AND f GLOB 'hijkl*')
17808:          OR ((a BETWEEN 76 AND 78) AND a!=77)
17809:          OR a=47
17810:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
17811:          OR (g='lkjihgf' AND f GLOB 'lmnop*')
17812:          OR (d>=84.0 AND d<85.0 AND d NOT NULL)
17813:          OR f='lmnopqrst'
17814:   }
17815: } {11 37 47 63 68 76 78 84 85 89 scan 0 sort 0}
17816: do_test where7-2.765.2 {
17817:   count_steps_sort {
17818:      SELECT a FROM t3
17819:       WHERE (g='hgfedcb' AND f GLOB 'hijkl*')
17820:          OR ((a BETWEEN 76 AND 78) AND a!=77)
17821:          OR a=47
17822:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
17823:          OR (g='lkjihgf' AND f GLOB 'lmnop*')
17824:          OR (d>=84.0 AND d<85.0 AND d NOT NULL)
17825:          OR f='lmnopqrst'
17826:   }
17827: } {11 37 47 63 68 76 78 84 85 89 scan 0 sort 0}
17828: do_test where7-2.766.1 {
17829:   count_steps_sort {
17830:      SELECT a FROM t2
17831:       WHERE c>=34035
17832:          OR a=29
17833:          OR ((a BETWEEN 19 AND 21) AND a!=20)
17834:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
17835:          OR f='abcdefghi'
17836:          OR b=993
17837:          OR ((a BETWEEN 52 AND 54) AND a!=53)
17838:          OR ((a BETWEEN 45 AND 47) AND a!=46)
17839:   }
17840: } {19 21 26 29 45 47 52 54 73 78 99 scan 0 sort 0}
17841: do_test where7-2.766.2 {
17842:   count_steps_sort {
17843:      SELECT a FROM t3
17844:       WHERE c>=34035
17845:          OR a=29
17846:          OR ((a BETWEEN 19 AND 21) AND a!=20)
17847:          OR (f GLOB '?wxyz*' AND f GLOB 'vwxy*')
17848:          OR f='abcdefghi'
17849:          OR b=993
17850:          OR ((a BETWEEN 52 AND 54) AND a!=53)
17851:          OR ((a BETWEEN 45 AND 47) AND a!=46)
17852:   }
17853: } {19 21 26 29 45 47 52 54 73 78 99 scan 0 sort 0}
17854: do_test where7-2.767.1 {
17855:   count_steps_sort {
17856:      SELECT a FROM t2
17857:       WHERE (d>=63.0 AND d<64.0 AND d NOT NULL)
17858:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
17859:          OR b=696
17860:          OR b=154
17861:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
17862:          OR a=22
17863:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
17864:          OR a=52
17865:          OR a=21
17866:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
17867:   }
17868: } {14 16 21 22 24 47 52 63 70 scan 0 sort 0}
17869: do_test where7-2.767.2 {
17870:   count_steps_sort {
17871:      SELECT a FROM t3
17872:       WHERE (d>=63.0 AND d<64.0 AND d NOT NULL)
17873:          OR (d>=16.0 AND d<17.0 AND d NOT NULL)
17874:          OR b=696
17875:          OR b=154
17876:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
17877:          OR a=22
17878:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
17879:          OR a=52
17880:          OR a=21
17881:          OR (d>=70.0 AND d<71.0 AND d NOT NULL)
17882:   }
17883: } {14 16 21 22 24 47 52 63 70 scan 0 sort 0}
17884: do_test where7-2.768.1 {
17885:   count_steps_sort {
17886:      SELECT a FROM t2
17887:       WHERE b=693
17888:          OR b=201
17889:          OR ((a BETWEEN 36 AND 38) AND a!=37)
17890:          OR b=520
17891:          OR ((a BETWEEN 23 AND 25) AND a!=24)
17892:          OR b=407
17893:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
17894:          OR c>=34035
17895:          OR b=135
17896:   }
17897: } {23 25 36 37 38 63 scan 0 sort 0}
17898: do_test where7-2.768.2 {
17899:   count_steps_sort {
17900:      SELECT a FROM t3
17901:       WHERE b=693
17902:          OR b=201
17903:          OR ((a BETWEEN 36 AND 38) AND a!=37)
17904:          OR b=520
17905:          OR ((a BETWEEN 23 AND 25) AND a!=24)
17906:          OR b=407
17907:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
17908:          OR c>=34035
17909:          OR b=135
17910:   }
17911: } {23 25 36 37 38 63 scan 0 sort 0}
17912: do_test where7-2.769.1 {
17913:   count_steps_sort {
17914:      SELECT a FROM t2
17915:       WHERE (d>=43.0 AND d<44.0 AND d NOT NULL)
17916:          OR b=707
17917:          OR b=14
17918:          OR b=1089
17919:          OR b=352
17920:   }
17921: } {32 43 99 scan 0 sort 0}
17922: do_test where7-2.769.2 {
17923:   count_steps_sort {
17924:      SELECT a FROM t3
17925:       WHERE (d>=43.0 AND d<44.0 AND d NOT NULL)
17926:          OR b=707
17927:          OR b=14
17928:          OR b=1089
17929:          OR b=352
17930:   }
17931: } {32 43 99 scan 0 sort 0}
17932: do_test where7-2.770.1 {
17933:   count_steps_sort {
17934:      SELECT a FROM t2
17935:       WHERE b=278
17936:          OR b=278
17937:          OR b=825
17938:          OR f='rstuvwxyz'
17939:          OR b=938
17940:          OR ((a BETWEEN 17 AND 19) AND a!=18)
17941:          OR ((a BETWEEN 43 AND 45) AND a!=44)
17942:   }
17943: } {17 19 43 45 69 75 95 scan 0 sort 0}
17944: do_test where7-2.770.2 {
17945:   count_steps_sort {
17946:      SELECT a FROM t3
17947:       WHERE b=278
17948:          OR b=278
17949:          OR b=825
17950:          OR f='rstuvwxyz'
17951:          OR b=938
17952:          OR ((a BETWEEN 17 AND 19) AND a!=18)
17953:          OR ((a BETWEEN 43 AND 45) AND a!=44)
17954:   }
17955: } {17 19 43 45 69 75 95 scan 0 sort 0}
17956: do_test where7-2.771.1 {
17957:   count_steps_sort {
17958:      SELECT a FROM t2
17959:       WHERE ((a BETWEEN 32 AND 34) AND a!=33)
17960:          OR b=1045
17961:          OR c=27027
17962:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
17963:   }
17964: } {11 32 34 37 63 79 80 81 89 95 scan 0 sort 0}
17965: do_test where7-2.771.2 {
17966:   count_steps_sort {
17967:      SELECT a FROM t3
17968:       WHERE ((a BETWEEN 32 AND 34) AND a!=33)
17969:          OR b=1045
17970:          OR c=27027
17971:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
17972:   }
17973: } {11 32 34 37 63 79 80 81 89 95 scan 0 sort 0}
17974: do_test where7-2.772.1 {
17975:   count_steps_sort {
17976:      SELECT a FROM t2
17977:       WHERE a=87
17978:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
17979:          OR b=487
17980:          OR (g='gfedcba' AND f GLOB 'mnopq*')
17981:   }
17982: } {47 87 90 scan 0 sort 0}
17983: do_test where7-2.772.2 {
17984:   count_steps_sort {
17985:      SELECT a FROM t3
17986:       WHERE a=87
17987:          OR (d>=47.0 AND d<48.0 AND d NOT NULL)
17988:          OR b=487
17989:          OR (g='gfedcba' AND f GLOB 'mnopq*')
17990:   }
17991: } {47 87 90 scan 0 sort 0}
17992: do_test where7-2.773.1 {
17993:   count_steps_sort {
17994:      SELECT a FROM t2
17995:       WHERE ((a BETWEEN 30 AND 32) AND a!=31)
17996:          OR b=69
17997:          OR b=608
17998:          OR b=814
17999:          OR a=67
18000:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
18001:          OR b=1059
18002:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
18003:          OR a=18
18004:          OR b=407
18005:          OR ((a BETWEEN 10 AND 12) AND a!=11)
18006:   }
18007: } {10 12 18 30 32 37 58 61 67 74 scan 0 sort 0}
18008: do_test where7-2.773.2 {
18009:   count_steps_sort {
18010:      SELECT a FROM t3
18011:       WHERE ((a BETWEEN 30 AND 32) AND a!=31)
18012:          OR b=69
18013:          OR b=608
18014:          OR b=814
18015:          OR a=67
18016:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
18017:          OR b=1059
18018:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
18019:          OR a=18
18020:          OR b=407
18021:          OR ((a BETWEEN 10 AND 12) AND a!=11)
18022:   }
18023: } {10 12 18 30 32 37 58 61 67 74 scan 0 sort 0}
18024: do_test where7-2.774.1 {
18025:   count_steps_sort {
18026:      SELECT a FROM t2
18027:       WHERE b=223
18028:          OR b=80
18029:          OR ((a BETWEEN 97 AND 99) AND a!=98)
18030:          OR ((a BETWEEN 74 AND 76) AND a!=75)
18031:   }
18032: } {74 76 97 99 scan 0 sort 0}
18033: do_test where7-2.774.2 {
18034:   count_steps_sort {
18035:      SELECT a FROM t3
18036:       WHERE b=223
18037:          OR b=80
18038:          OR ((a BETWEEN 97 AND 99) AND a!=98)
18039:          OR ((a BETWEEN 74 AND 76) AND a!=75)
18040:   }
18041: } {74 76 97 99 scan 0 sort 0}
18042: do_test where7-2.775.1 {
18043:   count_steps_sort {
18044:      SELECT a FROM t2
18045:       WHERE b=220
18046:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
18047:          OR b=363
18048:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
18049:          OR (g='nmlkjih' AND f GLOB 'defgh*')
18050:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
18051:          OR ((a BETWEEN 10 AND 12) AND a!=11)
18052:   }
18053: } {10 12 20 33 52 54 55 66 scan 0 sort 0}
18054: do_test where7-2.775.2 {
18055:   count_steps_sort {
18056:      SELECT a FROM t3
18057:       WHERE b=220
18058:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
18059:          OR b=363
18060:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
18061:          OR (g='nmlkjih' AND f GLOB 'defgh*')
18062:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
18063:          OR ((a BETWEEN 10 AND 12) AND a!=11)
18064:   }
18065: } {10 12 20 33 52 54 55 66 scan 0 sort 0}
18066: do_test where7-2.776.1 {
18067:   count_steps_sort {
18068:      SELECT a FROM t2
18069:       WHERE b=498
18070:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
18071:          OR b=880
18072:          OR ((a BETWEEN 60 AND 62) AND a!=61)
18073:          OR b=828
18074:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
18075:          OR b=113
18076:   }
18077: } {5 15 60 62 80 scan 0 sort 0}
18078: do_test where7-2.776.2 {
18079:   count_steps_sort {
18080:      SELECT a FROM t3
18081:       WHERE b=498
18082:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
18083:          OR b=880
18084:          OR ((a BETWEEN 60 AND 62) AND a!=61)
18085:          OR b=828
18086:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
18087:          OR b=113
18088:   }
18089: } {5 15 60 62 80 scan 0 sort 0}
18090: do_test where7-2.777.1 {
18091:   count_steps_sort {
18092:      SELECT a FROM t2
18093:       WHERE b=1059
18094:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
18095:          OR b=960
18096:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
18097:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
18098:          OR b=894
18099:          OR c=2002
18100:   }
18101: } {4 5 6 12 16 20 42 68 94 scan 0 sort 0}
18102: do_test where7-2.777.2 {
18103:   count_steps_sort {
18104:      SELECT a FROM t3
18105:       WHERE b=1059
18106:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
18107:          OR b=960
18108:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
18109:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
18110:          OR b=894
18111:          OR c=2002
18112:   }
18113: } {4 5 6 12 16 20 42 68 94 scan 0 sort 0}
18114: do_test where7-2.778.1 {
18115:   count_steps_sort {
18116:      SELECT a FROM t2
18117:       WHERE b=14
18118:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
18119:   }
18120: } {85 scan 0 sort 0}
18121: do_test where7-2.778.2 {
18122:   count_steps_sort {
18123:      SELECT a FROM t3
18124:       WHERE b=14
18125:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
18126:   }
18127: } {85 scan 0 sort 0}
18128: do_test where7-2.779.1 {
18129:   count_steps_sort {
18130:      SELECT a FROM t2
18131:       WHERE b=806
18132:          OR (g='rqponml' AND f GLOB 'hijkl*')
18133:          OR b=795
18134:          OR ((a BETWEEN 99 AND 101) AND a!=100)
18135:          OR ((a BETWEEN 21 AND 23) AND a!=22)
18136:          OR ((a BETWEEN 86 AND 88) AND a!=87)
18137:          OR c=23023
18138:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
18139:   }
18140: } {21 23 33 67 68 69 86 88 99 scan 0 sort 0}
18141: do_test where7-2.779.2 {
18142:   count_steps_sort {
18143:      SELECT a FROM t3
18144:       WHERE b=806
18145:          OR (g='rqponml' AND f GLOB 'hijkl*')
18146:          OR b=795
18147:          OR ((a BETWEEN 99 AND 101) AND a!=100)
18148:          OR ((a BETWEEN 21 AND 23) AND a!=22)
18149:          OR ((a BETWEEN 86 AND 88) AND a!=87)
18150:          OR c=23023
18151:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
18152:   }
18153: } {21 23 33 67 68 69 86 88 99 scan 0 sort 0}
18154: do_test where7-2.780.1 {
18155:   count_steps_sort {
18156:      SELECT a FROM t2
18157:       WHERE b=726
18158:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
18159:          OR ((a BETWEEN 8 AND 10) AND a!=9)
18160:          OR f='abcdefghi'
18161:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
18162:          OR b=869
18163:   }
18164: } {8 10 15 26 41 52 66 67 78 79 92 93 scan 0 sort 0}
18165: do_test where7-2.780.2 {
18166:   count_steps_sort {
18167:      SELECT a FROM t3
18168:       WHERE b=726
18169:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
18170:          OR ((a BETWEEN 8 AND 10) AND a!=9)
18171:          OR f='abcdefghi'
18172:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
18173:          OR b=869
18174:   }
18175: } {8 10 15 26 41 52 66 67 78 79 92 93 scan 0 sort 0}
18176: do_test where7-2.781.1 {
18177:   count_steps_sort {
18178:      SELECT a FROM t2
18179:       WHERE a=59
18180:          OR ((a BETWEEN 5 AND 7) AND a!=6)
18181:          OR b=1081
18182:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
18183:   }
18184: } {5 7 59 96 scan 0 sort 0}
18185: do_test where7-2.781.2 {
18186:   count_steps_sort {
18187:      SELECT a FROM t3
18188:       WHERE a=59
18189:          OR ((a BETWEEN 5 AND 7) AND a!=6)
18190:          OR b=1081
18191:          OR (g='fedcbaz' AND f GLOB 'stuvw*')
18192:   }
18193: } {5 7 59 96 scan 0 sort 0}
18194: do_test where7-2.782.1 {
18195:   count_steps_sort {
18196:      SELECT a FROM t2
18197:       WHERE (g='qponmlk' AND f GLOB 'nopqr*')
18198:          OR b=1037
18199:          OR b=132
18200:          OR c=1001
18201:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
18202:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
18203:          OR (g='gfedcba' AND f GLOB 'nopqr*')
18204:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
18205:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
18206:          OR a=32
18207:   }
18208: } {1 2 3 12 18 20 32 39 58 68 91 scan 0 sort 0}
18209: do_test where7-2.782.2 {
18210:   count_steps_sort {
18211:      SELECT a FROM t3
18212:       WHERE (g='qponmlk' AND f GLOB 'nopqr*')
18213:          OR b=1037
18214:          OR b=132
18215:          OR c=1001
18216:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
18217:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
18218:          OR (g='gfedcba' AND f GLOB 'nopqr*')
18219:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
18220:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
18221:          OR a=32
18222:   }
18223: } {1 2 3 12 18 20 32 39 58 68 91 scan 0 sort 0}
18224: do_test where7-2.783.1 {
18225:   count_steps_sort {
18226:      SELECT a FROM t2
18227:       WHERE a=24
18228:          OR b=927
18229:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
18230:          OR a=7
18231:          OR b=462
18232:          OR b=608
18233:          OR b=781
18234:          OR b=253
18235:          OR c=25025
18236:          OR b=132
18237:   }
18238: } {7 12 23 24 42 52 71 73 74 75 scan 0 sort 0}
18239: do_test where7-2.783.2 {
18240:   count_steps_sort {
18241:      SELECT a FROM t3
18242:       WHERE a=24
18243:          OR b=927
18244:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
18245:          OR a=7
18246:          OR b=462
18247:          OR b=608
18248:          OR b=781
18249:          OR b=253
18250:          OR c=25025
18251:          OR b=132
18252:   }
18253: } {7 12 23 24 42 52 71 73 74 75 scan 0 sort 0}
18254: do_test where7-2.784.1 {
18255:   count_steps_sort {
18256:      SELECT a FROM t2
18257:       WHERE (g='mlkjihg' AND f GLOB 'jklmn*')
18258:          OR b=1001
18259:          OR ((a BETWEEN 23 AND 25) AND a!=24)
18260:          OR a=83
18261:   }
18262: } {23 25 61 83 91 scan 0 sort 0}
18263: do_test where7-2.784.2 {
18264:   count_steps_sort {
18265:      SELECT a FROM t3
18266:       WHERE (g='mlkjihg' AND f GLOB 'jklmn*')
18267:          OR b=1001
18268:          OR ((a BETWEEN 23 AND 25) AND a!=24)
18269:          OR a=83
18270:   }
18271: } {23 25 61 83 91 scan 0 sort 0}
18272: do_test where7-2.785.1 {
18273:   count_steps_sort {
18274:      SELECT a FROM t2
18275:       WHERE (d>=60.0 AND d<61.0 AND d NOT NULL)
18276:          OR b=36
18277:          OR (f GLOB '?efgh*' AND f GLOB 'defg*')
18278:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
18279:          OR ((a BETWEEN 46 AND 48) AND a!=47)
18280:          OR ((a BETWEEN 31 AND 33) AND a!=32)
18281:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
18282:          OR (g='ihgfedc' AND f GLOB 'efghi*')
18283:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
18284:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
18285:          OR ((a BETWEEN 26 AND 28) AND a!=27)
18286:   }
18287: } {3 26 28 29 31 33 46 48 55 60 73 77 80 81 82 91 scan 0 sort 0}
18288: do_test where7-2.785.2 {
18289:   count_steps_sort {
18290:      SELECT a FROM t3
18291:       WHERE (d>=60.0 AND d<61.0 AND d NOT NULL)
18292:          OR b=36
18293:          OR (f GLOB '?efgh*' AND f GLOB 'defg*')
18294:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
18295:          OR ((a BETWEEN 46 AND 48) AND a!=47)
18296:          OR ((a BETWEEN 31 AND 33) AND a!=32)
18297:          OR (d>=91.0 AND d<92.0 AND d NOT NULL)
18298:          OR (g='ihgfedc' AND f GLOB 'efghi*')
18299:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
18300:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
18301:          OR ((a BETWEEN 26 AND 28) AND a!=27)
18302:   }
18303: } {3 26 28 29 31 33 46 48 55 60 73 77 80 81 82 91 scan 0 sort 0}
18304: do_test where7-2.786.1 {
18305:   count_steps_sort {
18306:      SELECT a FROM t2
18307:       WHERE a=69
18308:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
18309:          OR ((a BETWEEN 58 AND 60) AND a!=59)
18310:          OR a=98
18311:          OR b=300
18312:          OR a=41
18313:          OR ((a BETWEEN 37 AND 39) AND a!=38)
18314:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
18315:          OR a=33
18316:          OR ((a BETWEEN 10 AND 12) AND a!=11)
18317:   }
18318: } {1 2 10 12 28 33 37 39 41 54 58 60 69 80 98 scan 0 sort 0}
18319: do_test where7-2.786.2 {
18320:   count_steps_sort {
18321:      SELECT a FROM t3
18322:       WHERE a=69
18323:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
18324:          OR ((a BETWEEN 58 AND 60) AND a!=59)
18325:          OR a=98
18326:          OR b=300
18327:          OR a=41
18328:          OR ((a BETWEEN 37 AND 39) AND a!=38)
18329:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
18330:          OR a=33
18331:          OR ((a BETWEEN 10 AND 12) AND a!=11)
18332:   }
18333: } {1 2 10 12 28 33 37 39 41 54 58 60 69 80 98 scan 0 sort 0}
18334: do_test where7-2.787.1 {
18335:   count_steps_sort {
18336:      SELECT a FROM t2
18337:       WHERE ((a BETWEEN 68 AND 70) AND a!=69)
18338:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
18339:          OR ((a BETWEEN 94 AND 96) AND a!=95)
18340:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
18341:          OR (g='gfedcba' AND f GLOB 'mnopq*')
18342:          OR ((a BETWEEN 22 AND 24) AND a!=23)
18343:          OR b=619
18344:          OR c=6006
18345:          OR b=91
18346:          OR b=297
18347:          OR b=165
18348:   }
18349: } {1 15 16 17 18 22 24 27 53 68 70 71 79 90 94 96 scan 0 sort 0}
18350: do_test where7-2.787.2 {
18351:   count_steps_sort {
18352:      SELECT a FROM t3
18353:       WHERE ((a BETWEEN 68 AND 70) AND a!=69)
18354:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
18355:          OR ((a BETWEEN 94 AND 96) AND a!=95)
18356:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
18357:          OR (g='gfedcba' AND f GLOB 'mnopq*')
18358:          OR ((a BETWEEN 22 AND 24) AND a!=23)
18359:          OR b=619
18360:          OR c=6006
18361:          OR b=91
18362:          OR b=297
18363:          OR b=165
18364:   }
18365: } {1 15 16 17 18 22 24 27 53 68 70 71 79 90 94 96 scan 0 sort 0}
18366: do_test where7-2.788.1 {
18367:   count_steps_sort {
18368:      SELECT a FROM t2
18369:       WHERE ((a BETWEEN 9 AND 11) AND a!=10)
18370:          OR a=55
18371:          OR (g='jihgfed' AND f GLOB 'xyzab*')
18372:   }
18373: } {9 11 55 75 scan 0 sort 0}
18374: do_test where7-2.788.2 {
18375:   count_steps_sort {
18376:      SELECT a FROM t3
18377:       WHERE ((a BETWEEN 9 AND 11) AND a!=10)
18378:          OR a=55
18379:          OR (g='jihgfed' AND f GLOB 'xyzab*')
18380:   }
18381: } {9 11 55 75 scan 0 sort 0}
18382: do_test where7-2.789.1 {
18383:   count_steps_sort {
18384:      SELECT a FROM t2
18385:       WHERE ((a BETWEEN 84 AND 86) AND a!=85)
18386:          OR b=737
18387:          OR b=201
18388:          OR a=7
18389:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
18390:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
18391:          OR b=957
18392:   }
18393: } {2 7 26 67 84 86 87 scan 0 sort 0}
18394: do_test where7-2.789.2 {
18395:   count_steps_sort {
18396:      SELECT a FROM t3
18397:       WHERE ((a BETWEEN 84 AND 86) AND a!=85)
18398:          OR b=737
18399:          OR b=201
18400:          OR a=7
18401:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
18402:          OR (g='yxwvuts' AND f GLOB 'cdefg*')
18403:          OR b=957
18404:   }
18405: } {2 7 26 67 84 86 87 scan 0 sort 0}
18406: do_test where7-2.790.1 {
18407:   count_steps_sort {
18408:      SELECT a FROM t2
18409:       WHERE ((a BETWEEN 90 AND 92) AND a!=91)
18410:          OR a=74
18411:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
18412:          OR ((a BETWEEN 95 AND 97) AND a!=96)
18413:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
18414:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
18415:          OR a=89
18416:   }
18417: } {18 44 67 70 74 79 89 90 92 95 96 97 scan 0 sort 0}
18418: do_test where7-2.790.2 {
18419:   count_steps_sort {
18420:      SELECT a FROM t3
18421:       WHERE ((a BETWEEN 90 AND 92) AND a!=91)
18422:          OR a=74
18423:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
18424:          OR ((a BETWEEN 95 AND 97) AND a!=96)
18425:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
18426:          OR (f GLOB '?tuvw*' AND f GLOB 'stuv*')
18427:          OR a=89
18428:   }
18429: } {18 44 67 70 74 79 89 90 92 95 96 97 scan 0 sort 0}
18430: do_test where7-2.791.1 {
18431:   count_steps_sort {
18432:      SELECT a FROM t2
18433:       WHERE (d>=45.0 AND d<46.0 AND d NOT NULL)
18434:          OR b=179
18435:          OR b=1081
18436:          OR b=377
18437:          OR b=495
18438:          OR b=564
18439:          OR b=289
18440:          OR (g='qponmlk' AND f GLOB 'nopqr*')
18441:   }
18442: } {39 45 scan 0 sort 0}
18443: do_test where7-2.791.2 {
18444:   count_steps_sort {
18445:      SELECT a FROM t3
18446:       WHERE (d>=45.0 AND d<46.0 AND d NOT NULL)
18447:          OR b=179
18448:          OR b=1081
18449:          OR b=377
18450:          OR b=495
18451:          OR b=564
18452:          OR b=289
18453:          OR (g='qponmlk' AND f GLOB 'nopqr*')
18454:   }
18455: } {39 45 scan 0 sort 0}
18456: do_test where7-2.792.1 {
18457:   count_steps_sort {
18458:      SELECT a FROM t2
18459:       WHERE (g='utsrqpo' AND f GLOB 'wxyza*')
18460:          OR a=69
18461:          OR a=12
18462:          OR b=718
18463:          OR ((a BETWEEN 20 AND 22) AND a!=21)
18464:   }
18465: } {12 20 22 69 scan 0 sort 0}
18466: do_test where7-2.792.2 {
18467:   count_steps_sort {
18468:      SELECT a FROM t3
18469:       WHERE (g='utsrqpo' AND f GLOB 'wxyza*')
18470:          OR a=69
18471:          OR a=12
18472:          OR b=718
18473:          OR ((a BETWEEN 20 AND 22) AND a!=21)
18474:   }
18475: } {12 20 22 69 scan 0 sort 0}
18476: do_test where7-2.793.1 {
18477:   count_steps_sort {
18478:      SELECT a FROM t2
18479:       WHERE (g='tsrqpon' AND f GLOB 'zabcd*')
18480:          OR f='klmnopqrs'
18481:          OR b=674
18482:          OR a=96
18483:          OR a=99
18484:          OR b=608
18485:          OR b=707
18486:          OR f='cdefghijk'
18487:          OR a=91
18488:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
18489:   }
18490: } {2 10 23 25 28 36 54 62 80 88 91 96 99 scan 0 sort 0}
18491: do_test where7-2.793.2 {
18492:   count_steps_sort {
18493:      SELECT a FROM t3
18494:       WHERE (g='tsrqpon' AND f GLOB 'zabcd*')
18495:          OR f='klmnopqrs'
18496:          OR b=674
18497:          OR a=96
18498:          OR a=99
18499:          OR b=608
18500:          OR b=707
18501:          OR f='cdefghijk'
18502:          OR a=91
18503:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
18504:   }
18505: } {2 10 23 25 28 36 54 62 80 88 91 96 99 scan 0 sort 0}
18506: do_test where7-2.794.1 {
18507:   count_steps_sort {
18508:      SELECT a FROM t2
18509:       WHERE (f GLOB '?klmn*' AND f GLOB 'jklm*')
18510:          OR b=564
18511:          OR b=784
18512:          OR b=418
18513:          OR b=275
18514:          OR (g='gfedcba' AND f GLOB 'klmno*')
18515:          OR a=58
18516:          OR c=11011
18517:          OR b=660
18518:   }
18519: } {9 25 31 32 33 35 38 58 60 61 87 88 scan 0 sort 0}
18520: do_test where7-2.794.2 {
18521:   count_steps_sort {
18522:      SELECT a FROM t3
18523:       WHERE (f GLOB '?klmn*' AND f GLOB 'jklm*')
18524:          OR b=564
18525:          OR b=784
18526:          OR b=418
18527:          OR b=275
18528:          OR (g='gfedcba' AND f GLOB 'klmno*')
18529:          OR a=58
18530:          OR c=11011
18531:          OR b=660
18532:   }
18533: } {9 25 31 32 33 35 38 58 60 61 87 88 scan 0 sort 0}
18534: do_test where7-2.795.1 {
18535:   count_steps_sort {
18536:      SELECT a FROM t2
18537:       WHERE (d>=25.0 AND d<26.0 AND d NOT NULL)
18538:          OR b=509
18539:          OR b=1004
18540:          OR ((a BETWEEN 28 AND 30) AND a!=29)
18541:          OR ((a BETWEEN 57 AND 59) AND a!=58)
18542:          OR (g='mlkjihg' AND f GLOB 'hijkl*')
18543:          OR f='pqrstuvwx'
18544:   }
18545: } {15 25 28 30 41 57 59 67 93 scan 0 sort 0}
18546: do_test where7-2.795.2 {
18547:   count_steps_sort {
18548:      SELECT a FROM t3
18549:       WHERE (d>=25.0 AND d<26.0 AND d NOT NULL)
18550:          OR b=509
18551:          OR b=1004
18552:          OR ((a BETWEEN 28 AND 30) AND a!=29)
18553:          OR ((a BETWEEN 57 AND 59) AND a!=58)
18554:          OR (g='mlkjihg' AND f GLOB 'hijkl*')
18555:          OR f='pqrstuvwx'
18556:   }
18557: } {15 25 28 30 41 57 59 67 93 scan 0 sort 0}
18558: do_test where7-2.796.1 {
18559:   count_steps_sort {
18560:      SELECT a FROM t2
18561:       WHERE b=440
18562:          OR ((a BETWEEN 52 AND 54) AND a!=53)
18563:   }
18564: } {40 52 54 scan 0 sort 0}
18565: do_test where7-2.796.2 {
18566:   count_steps_sort {
18567:      SELECT a FROM t3
18568:       WHERE b=440
18569:          OR ((a BETWEEN 52 AND 54) AND a!=53)
18570:   }
18571: } {40 52 54 scan 0 sort 0}
18572: do_test where7-2.797.1 {
18573:   count_steps_sort {
18574:      SELECT a FROM t2
18575:       WHERE (d>=95.0 AND d<96.0 AND d NOT NULL)
18576:          OR f='abcdefghi'
18577:   }
18578: } {26 52 78 95 scan 0 sort 0}
18579: do_test where7-2.797.2 {
18580:   count_steps_sort {
18581:      SELECT a FROM t3
18582:       WHERE (d>=95.0 AND d<96.0 AND d NOT NULL)
18583:          OR f='abcdefghi'
18584:   }
18585: } {26 52 78 95 scan 0 sort 0}
18586: do_test where7-2.798.1 {
18587:   count_steps_sort {
18588:      SELECT a FROM t2
18589:       WHERE a=19
18590:          OR a=29
18591:          OR b=476
18592:          OR (g='qponmlk' AND f GLOB 'pqrst*')
18593:          OR b=91
18594:   }
18595: } {19 29 41 scan 0 sort 0}
18596: do_test where7-2.798.2 {
18597:   count_steps_sort {
18598:      SELECT a FROM t3
18599:       WHERE a=19
18600:          OR a=29
18601:          OR b=476
18602:          OR (g='qponmlk' AND f GLOB 'pqrst*')
18603:          OR b=91
18604:   }
18605: } {19 29 41 scan 0 sort 0}
18606: do_test where7-2.799.1 {
18607:   count_steps_sort {
18608:      SELECT a FROM t2
18609:       WHERE f='lmnopqrst'
18610:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
18611:          OR a=47
18612:          OR a=71
18613:   }
18614: } {8 11 37 47 63 71 89 scan 0 sort 0}
18615: do_test where7-2.799.2 {
18616:   count_steps_sort {
18617:      SELECT a FROM t3
18618:       WHERE f='lmnopqrst'
18619:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
18620:          OR a=47
18621:          OR a=71
18622:   }
18623: } {8 11 37 47 63 71 89 scan 0 sort 0}
18624: do_test where7-2.800.1 {
18625:   count_steps_sort {
18626:      SELECT a FROM t2
18627:       WHERE b=531
18628:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
18629:          OR ((a BETWEEN 95 AND 97) AND a!=96)
18630:          OR ((a BETWEEN 32 AND 34) AND a!=33)
18631:          OR b=44
18632:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
18633:          OR (g='onmlkji' AND f GLOB 'xyzab*')
18634:          OR b=707
18635:          OR b=322
18636:   }
18637: } {4 12 32 34 49 84 95 97 scan 0 sort 0}
18638: do_test where7-2.800.2 {
18639:   count_steps_sort {
18640:      SELECT a FROM t3
18641:       WHERE b=531
18642:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
18643:          OR ((a BETWEEN 95 AND 97) AND a!=96)
18644:          OR ((a BETWEEN 32 AND 34) AND a!=33)
18645:          OR b=44
18646:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
18647:          OR (g='onmlkji' AND f GLOB 'xyzab*')
18648:          OR b=707
18649:          OR b=322
18650:   }
18651: } {4 12 32 34 49 84 95 97 scan 0 sort 0}
18652: do_test where7-2.801.1 {
18653:   count_steps_sort {
18654:      SELECT a FROM t2
18655:       WHERE (f GLOB '?efgh*' AND f GLOB 'defg*')
18656:          OR (g='ihgfedc' AND f GLOB 'efghi*')
18657:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
18658:          OR f='jklmnopqr'
18659:   }
18660: } {3 9 29 35 55 61 81 82 87 89 scan 0 sort 0}
18661: do_test where7-2.801.2 {
18662:   count_steps_sort {
18663:      SELECT a FROM t3
18664:       WHERE (f GLOB '?efgh*' AND f GLOB 'defg*')
18665:          OR (g='ihgfedc' AND f GLOB 'efghi*')
18666:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
18667:          OR f='jklmnopqr'
18668:   }
18669: } {3 9 29 35 55 61 81 82 87 89 scan 0 sort 0}
18670: do_test where7-2.802.1 {
18671:   count_steps_sort {
18672:      SELECT a FROM t2
18673:       WHERE b=946
18674:          OR (g='ihgfedc' AND f GLOB 'abcde*')
18675:          OR a=47
18676:          OR (g='qponmlk' AND f GLOB 'qrstu*')
18677:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
18678:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
18679:          OR b=80
18680:          OR ((a BETWEEN 60 AND 62) AND a!=61)
18681:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
18682:   }
18683: } {8 23 42 47 60 62 78 86 93 scan 0 sort 0}
18684: do_test where7-2.802.2 {
18685:   count_steps_sort {
18686:      SELECT a FROM t3
18687:       WHERE b=946
18688:          OR (g='ihgfedc' AND f GLOB 'abcde*')
18689:          OR a=47
18690:          OR (g='qponmlk' AND f GLOB 'qrstu*')
18691:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
18692:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
18693:          OR b=80
18694:          OR ((a BETWEEN 60 AND 62) AND a!=61)
18695:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
18696:   }
18697: } {8 23 42 47 60 62 78 86 93 scan 0 sort 0}
18698: do_test where7-2.803.1 {
18699:   count_steps_sort {
18700:      SELECT a FROM t2
18701:       WHERE a=48
18702:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
18703:          OR b=1015
18704:          OR a=57
18705:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
18706:          OR ((a BETWEEN 47 AND 49) AND a!=48)
18707:          OR ((a BETWEEN 98 AND 100) AND a!=99)
18708:          OR (g='onmlkji' AND f GLOB 'yzabc*')
18709:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
18710:          OR b=165
18711:   }
18712: } {4 9 15 35 47 48 49 50 55 57 61 87 98 100 scan 0 sort 0}
18713: do_test where7-2.803.2 {
18714:   count_steps_sort {
18715:      SELECT a FROM t3
18716:       WHERE a=48
18717:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
18718:          OR b=1015
18719:          OR a=57
18720:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
18721:          OR ((a BETWEEN 47 AND 49) AND a!=48)
18722:          OR ((a BETWEEN 98 AND 100) AND a!=99)
18723:          OR (g='onmlkji' AND f GLOB 'yzabc*')
18724:          OR (d>=4.0 AND d<5.0 AND d NOT NULL)
18725:          OR b=165
18726:   }
18727: } {4 9 15 35 47 48 49 50 55 57 61 87 98 100 scan 0 sort 0}
18728: do_test where7-2.804.1 {
18729:   count_steps_sort {
18730:      SELECT a FROM t2
18731:       WHERE ((a BETWEEN 97 AND 99) AND a!=98)
18732:          OR a=73
18733:          OR b=1048
18734:          OR c>=34035
18735:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
18736:          OR a=72
18737:          OR ((a BETWEEN 91 AND 93) AND a!=92)
18738:          OR b=638
18739:   }
18740: } {58 72 73 80 91 93 97 99 scan 0 sort 0}
18741: do_test where7-2.804.2 {
18742:   count_steps_sort {
18743:      SELECT a FROM t3
18744:       WHERE ((a BETWEEN 97 AND 99) AND a!=98)
18745:          OR a=73
18746:          OR b=1048
18747:          OR c>=34035
18748:          OR (g='ihgfedc' AND f GLOB 'cdefg*')
18749:          OR a=72
18750:          OR ((a BETWEEN 91 AND 93) AND a!=92)
18751:          OR b=638
18752:   }
18753: } {58 72 73 80 91 93 97 99 scan 0 sort 0}
18754: do_test where7-2.805.1 {
18755:   count_steps_sort {
18756:      SELECT a FROM t2
18757:       WHERE ((a BETWEEN 28 AND 30) AND a!=29)
18758:          OR a=39
18759:          OR b=165
18760:   }
18761: } {15 28 30 39 scan 0 sort 0}
18762: do_test where7-2.805.2 {
18763:   count_steps_sort {
18764:      SELECT a FROM t3
18765:       WHERE ((a BETWEEN 28 AND 30) AND a!=29)
18766:          OR a=39
18767:          OR b=165
18768:   }
18769: } {15 28 30 39 scan 0 sort 0}
18770: do_test where7-2.806.1 {
18771:   count_steps_sort {
18772:      SELECT a FROM t2
18773:       WHERE a=50
18774:          OR ((a BETWEEN 61 AND 63) AND a!=62)
18775:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
18776:          OR a=32
18777:          OR ((a BETWEEN 93 AND 95) AND a!=94)
18778:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
18779:          OR a=14
18780:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
18781:          OR b=946
18782:          OR ((a BETWEEN 53 AND 55) AND a!=54)
18783:          OR b=124
18784:   }
18785: } {14 17 32 43 45 50 53 55 61 63 69 86 93 95 97 scan 0 sort 0}
18786: do_test where7-2.806.2 {
18787:   count_steps_sort {
18788:      SELECT a FROM t3
18789:       WHERE a=50
18790:          OR ((a BETWEEN 61 AND 63) AND a!=62)
18791:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
18792:          OR a=32
18793:          OR ((a BETWEEN 93 AND 95) AND a!=94)
18794:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
18795:          OR a=14
18796:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
18797:          OR b=946
18798:          OR ((a BETWEEN 53 AND 55) AND a!=54)
18799:          OR b=124
18800:   }
18801: } {14 17 32 43 45 50 53 55 61 63 69 86 93 95 97 scan 0 sort 0}
18802: do_test where7-2.807.1 {
18803:   count_steps_sort {
18804:      SELECT a FROM t2
18805:       WHERE ((a BETWEEN 88 AND 90) AND a!=89)
18806:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
18807:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
18808:          OR (g='gfedcba' AND f GLOB 'klmno*')
18809:   }
18810: } {52 66 88 90 scan 0 sort 0}
18811: do_test where7-2.807.2 {
18812:   count_steps_sort {
18813:      SELECT a FROM t3
18814:       WHERE ((a BETWEEN 88 AND 90) AND a!=89)
18815:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
18816:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
18817:          OR (g='gfedcba' AND f GLOB 'klmno*')
18818:   }
18819: } {52 66 88 90 scan 0 sort 0}
18820: do_test where7-2.808.1 {
18821:   count_steps_sort {
18822:      SELECT a FROM t2
18823:       WHERE a=6
18824:          OR f='tuvwxyzab'
18825:          OR (g='mlkjihg' AND f GLOB 'hijkl*')
18826:          OR b=286
18827:          OR b=781
18828:   }
18829: } {6 19 26 45 59 71 97 scan 0 sort 0}
18830: do_test where7-2.808.2 {
18831:   count_steps_sort {
18832:      SELECT a FROM t3
18833:       WHERE a=6
18834:          OR f='tuvwxyzab'
18835:          OR (g='mlkjihg' AND f GLOB 'hijkl*')
18836:          OR b=286
18837:          OR b=781
18838:   }
18839: } {6 19 26 45 59 71 97 scan 0 sort 0}
18840: do_test where7-2.809.1 {
18841:   count_steps_sort {
18842:      SELECT a FROM t2
18843:       WHERE (g='jihgfed' AND f GLOB 'zabcd*')
18844:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
18845:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
18846:          OR ((a BETWEEN 79 AND 81) AND a!=80)
18847:          OR (g='edcbazy' AND f GLOB 'wxyza*')
18848:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
18849:          OR f='vwxyzabcd'
18850:          OR b=275
18851:   }
18852: } {9 11 21 25 35 37 43 47 61 63 73 77 79 81 87 89 99 100 scan 0 sort 0}
18853: do_test where7-2.809.2 {
18854:   count_steps_sort {
18855:      SELECT a FROM t3
18856:       WHERE (g='jihgfed' AND f GLOB 'zabcd*')
18857:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
18858:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
18859:          OR ((a BETWEEN 79 AND 81) AND a!=80)
18860:          OR (g='edcbazy' AND f GLOB 'wxyza*')
18861:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
18862:          OR f='vwxyzabcd'
18863:          OR b=275
18864:   }
18865: } {9 11 21 25 35 37 43 47 61 63 73 77 79 81 87 89 99 100 scan 0 sort 0}
18866: do_test where7-2.810.1 {
18867:   count_steps_sort {
18868:      SELECT a FROM t2
18869:       WHERE (d>=30.0 AND d<31.0 AND d NOT NULL)
18870:          OR (g='xwvutsr' AND f GLOB 'efghi*')
18871:          OR (g='gfedcba' AND f GLOB 'lmnop*')
18872:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
18873:          OR (g='gfedcba' AND f GLOB 'nopqr*')
18874:          OR a=59
18875:   }
18876: } {4 30 59 64 89 91 scan 0 sort 0}
18877: do_test where7-2.810.2 {
18878:   count_steps_sort {
18879:      SELECT a FROM t3
18880:       WHERE (d>=30.0 AND d<31.0 AND d NOT NULL)
18881:          OR (g='xwvutsr' AND f GLOB 'efghi*')
18882:          OR (g='gfedcba' AND f GLOB 'lmnop*')
18883:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
18884:          OR (g='gfedcba' AND f GLOB 'nopqr*')
18885:          OR a=59
18886:   }
18887: } {4 30 59 64 89 91 scan 0 sort 0}
18888: do_test where7-2.811.1 {
18889:   count_steps_sort {
18890:      SELECT a FROM t2
18891:       WHERE (f GLOB '?xyza*' AND f GLOB 'wxyz*')
18892:          OR ((a BETWEEN 8 AND 10) AND a!=9)
18893:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
18894:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
18895:          OR b=663
18896:          OR f='ghijklmno'
18897:          OR ((a BETWEEN 14 AND 16) AND a!=15)
18898:          OR f='ghijklmno'
18899:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
18900:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
18901:          OR b=1081
18902:   }
18903: } {6 8 10 14 16 19 22 32 48 58 64 71 74 84 99 100 scan 0 sort 0}
18904: do_test where7-2.811.2 {
18905:   count_steps_sort {
18906:      SELECT a FROM t3
18907:       WHERE (f GLOB '?xyza*' AND f GLOB 'wxyz*')
18908:          OR ((a BETWEEN 8 AND 10) AND a!=9)
18909:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
18910:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
18911:          OR b=663
18912:          OR f='ghijklmno'
18913:          OR ((a BETWEEN 14 AND 16) AND a!=15)
18914:          OR f='ghijklmno'
18915:          OR (d>=64.0 AND d<65.0 AND d NOT NULL)
18916:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
18917:          OR b=1081
18918:   }
18919: } {6 8 10 14 16 19 22 32 48 58 64 71 74 84 99 100 scan 0 sort 0}
18920: do_test where7-2.812.1 {
18921:   count_steps_sort {
18922:      SELECT a FROM t2
18923:       WHERE ((a BETWEEN 30 AND 32) AND a!=31)
18924:          OR a=96
18925:          OR b=355
18926:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
18927:          OR b=597
18928:          OR ((a BETWEEN 92 AND 94) AND a!=93)
18929:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
18930:          OR (f GLOB '?lmno*' AND f GLOB 'klmn*')
18931:          OR b=168
18932:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
18933:   }
18934: } {10 15 30 32 36 62 81 88 92 94 96 scan 0 sort 0}
18935: do_test where7-2.812.2 {
18936:   count_steps_sort {
18937:      SELECT a FROM t3
18938:       WHERE ((a BETWEEN 30 AND 32) AND a!=31)
18939:          OR a=96
18940:          OR b=355
18941:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
18942:          OR b=597
18943:          OR ((a BETWEEN 92 AND 94) AND a!=93)
18944:          OR (d>=88.0 AND d<89.0 AND d NOT NULL)
18945:          OR (f GLOB '?lmno*' AND f GLOB 'klmn*')
18946:          OR b=168
18947:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
18948:   }
18949: } {10 15 30 32 36 62 81 88 92 94 96 scan 0 sort 0}
18950: do_test where7-2.813.1 {
18951:   count_steps_sort {
18952:      SELECT a FROM t2
18953:       WHERE (d>=47.0 AND d<48.0 AND d NOT NULL)
18954:          OR b=957
18955:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
18956:          OR ((a BETWEEN 87 AND 89) AND a!=88)
18957:          OR ((a BETWEEN 58 AND 60) AND a!=59)
18958:          OR a=40
18959:   }
18960: } {9 40 47 58 60 87 89 scan 0 sort 0}
18961: do_test where7-2.813.2 {
18962:   count_steps_sort {
18963:      SELECT a FROM t3
18964:       WHERE (d>=47.0 AND d<48.0 AND d NOT NULL)
18965:          OR b=957
18966:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
18967:          OR ((a BETWEEN 87 AND 89) AND a!=88)
18968:          OR ((a BETWEEN 58 AND 60) AND a!=59)
18969:          OR a=40
18970:   }
18971: } {9 40 47 58 60 87 89 scan 0 sort 0}
18972: do_test where7-2.814.1 {
18973:   count_steps_sort {
18974:      SELECT a FROM t2
18975:       WHERE ((a BETWEEN 12 AND 14) AND a!=13)
18976:          OR a=36
18977:          OR a=75
18978:          OR b=179
18979:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
18980:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
18981:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
18982:          OR b=850
18983:          OR a=62
18984:   }
18985: } {12 14 18 36 43 62 65 75 scan 0 sort 0}
18986: do_test where7-2.814.2 {
18987:   count_steps_sort {
18988:      SELECT a FROM t3
18989:       WHERE ((a BETWEEN 12 AND 14) AND a!=13)
18990:          OR a=36
18991:          OR a=75
18992:          OR b=179
18993:          OR (d>=43.0 AND d<44.0 AND d NOT NULL)
18994:          OR (g='utsrqpo' AND f GLOB 'stuvw*')
18995:          OR (d>=65.0 AND d<66.0 AND d NOT NULL)
18996:          OR b=850
18997:          OR a=62
18998:   }
18999: } {12 14 18 36 43 62 65 75 scan 0 sort 0}
19000: do_test where7-2.815.1 {
19001:   count_steps_sort {
19002:      SELECT a FROM t2
19003:       WHERE ((a BETWEEN 21 AND 23) AND a!=22)
19004:          OR a=79
19005:          OR a=66
19006:          OR b=487
19007:          OR a=1
19008:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
19009:          OR c=5005
19010:          OR a=47
19011:          OR c=5005
19012:          OR b=319
19013:          OR b=1037
19014:   }
19015: } {1 13 14 15 21 23 29 47 54 66 79 scan 0 sort 0}
19016: do_test where7-2.815.2 {
19017:   count_steps_sort {
19018:      SELECT a FROM t3
19019:       WHERE ((a BETWEEN 21 AND 23) AND a!=22)
19020:          OR a=79
19021:          OR a=66
19022:          OR b=487
19023:          OR a=1
19024:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
19025:          OR c=5005
19026:          OR a=47
19027:          OR c=5005
19028:          OR b=319
19029:          OR b=1037
19030:   }
19031: } {1 13 14 15 21 23 29 47 54 66 79 scan 0 sort 0}
19032: do_test where7-2.816.1 {
19033:   count_steps_sort {
19034:      SELECT a FROM t2
19035:       WHERE b=176
19036:          OR b=297
19037:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
19038:          OR f='ijklmnopq'
19039:   }
19040: } {8 16 25 27 34 60 86 scan 0 sort 0}
19041: do_test where7-2.816.2 {
19042:   count_steps_sort {
19043:      SELECT a FROM t3
19044:       WHERE b=176
19045:          OR b=297
19046:          OR (g='tsrqpon' AND f GLOB 'zabcd*')
19047:          OR f='ijklmnopq'
19048:   }
19049: } {8 16 25 27 34 60 86 scan 0 sort 0}
19050: do_test where7-2.817.1 {
19051:   count_steps_sort {
19052:      SELECT a FROM t2
19053:       WHERE (d>=10.0 AND d<11.0 AND d NOT NULL)
19054:          OR ((a BETWEEN 90 AND 92) AND a!=91)
19055:          OR b=319
19056:          OR ((a BETWEEN 31 AND 33) AND a!=32)
19057:          OR ((a BETWEEN 9 AND 11) AND a!=10)
19058:          OR a=21
19059:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
19060:   }
19061: } {9 10 11 21 29 31 33 72 90 92 scan 0 sort 0}
19062: do_test where7-2.817.2 {
19063:   count_steps_sort {
19064:      SELECT a FROM t3
19065:       WHERE (d>=10.0 AND d<11.0 AND d NOT NULL)
19066:          OR ((a BETWEEN 90 AND 92) AND a!=91)
19067:          OR b=319
19068:          OR ((a BETWEEN 31 AND 33) AND a!=32)
19069:          OR ((a BETWEEN 9 AND 11) AND a!=10)
19070:          OR a=21
19071:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
19072:   }
19073: } {9 10 11 21 29 31 33 72 90 92 scan 0 sort 0}
19074: do_test where7-2.818.1 {
19075:   count_steps_sort {
19076:      SELECT a FROM t2
19077:       WHERE (d>=22.0 AND d<23.0 AND d NOT NULL)
19078:          OR b=396
19079:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
19080:          OR b=1012
19081:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
19082:          OR b=784
19083:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
19084:          OR b=979
19085:          OR c<=10
19086:          OR b=913
19087:          OR b=66
19088:   }
19089: } {6 9 22 35 36 60 61 72 83 87 89 92 scan 0 sort 0}
19090: do_test where7-2.818.2 {
19091:   count_steps_sort {
19092:      SELECT a FROM t3
19093:       WHERE (d>=22.0 AND d<23.0 AND d NOT NULL)
19094:          OR b=396
19095:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
19096:          OR b=1012
19097:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
19098:          OR b=784
19099:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
19100:          OR b=979
19101:          OR c<=10
19102:          OR b=913
19103:          OR b=66
19104:   }
19105: } {6 9 22 35 36 60 61 72 83 87 89 92 scan 0 sort 0}
19106: do_test where7-2.819.1 {
19107:   count_steps_sort {
19108:      SELECT a FROM t2
19109:       WHERE a=3
19110:          OR b=803
19111:   }
19112: } {3 73 scan 0 sort 0}
19113: do_test where7-2.819.2 {
19114:   count_steps_sort {
19115:      SELECT a FROM t3
19116:       WHERE a=3
19117:          OR b=803
19118:   }
19119: } {3 73 scan 0 sort 0}
19120: do_test where7-2.820.1 {
19121:   count_steps_sort {
19122:      SELECT a FROM t2
19123:       WHERE ((a BETWEEN 79 AND 81) AND a!=80)
19124:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
19125:          OR ((a BETWEEN 23 AND 25) AND a!=24)
19126:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
19127:   }
19128: } {16 19 23 25 42 45 68 71 79 81 94 97 scan 0 sort 0}
19129: do_test where7-2.820.2 {
19130:   count_steps_sort {
19131:      SELECT a FROM t3
19132:       WHERE ((a BETWEEN 79 AND 81) AND a!=80)
19133:          OR (f GLOB '?rstu*' AND f GLOB 'qrst*')
19134:          OR ((a BETWEEN 23 AND 25) AND a!=24)
19135:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
19136:   }
19137: } {16 19 23 25 42 45 68 71 79 81 94 97 scan 0 sort 0}
19138: do_test where7-2.821.1 {
19139:   count_steps_sort {
19140:      SELECT a FROM t2
19141:       WHERE c=1001
19142:          OR a=16
19143:          OR b=132
19144:          OR b=1012
19145:          OR f='xyzabcdef'
19146:          OR b=682
19147:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
19148:   }
19149: } {1 2 3 12 16 23 49 52 62 75 92 scan 0 sort 0}
19150: do_test where7-2.821.2 {
19151:   count_steps_sort {
19152:      SELECT a FROM t3
19153:       WHERE c=1001
19154:          OR a=16
19155:          OR b=132
19156:          OR b=1012
19157:          OR f='xyzabcdef'
19158:          OR b=682
19159:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
19160:   }
19161: } {1 2 3 12 16 23 49 52 62 75 92 scan 0 sort 0}
19162: do_test where7-2.822.1 {
19163:   count_steps_sort {
19164:      SELECT a FROM t2
19165:       WHERE a=96
19166:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
19167:   }
19168: } {19 96 scan 0 sort 0}
19169: do_test where7-2.822.2 {
19170:   count_steps_sort {
19171:      SELECT a FROM t3
19172:       WHERE a=96
19173:          OR (d>=19.0 AND d<20.0 AND d NOT NULL)
19174:   }
19175: } {19 96 scan 0 sort 0}
19176: do_test where7-2.823.1 {
19177:   count_steps_sort {
19178:      SELECT a FROM t2
19179:       WHERE a=2
19180:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
19181:          OR a=23
19182:          OR b=1092
19183:          OR c=19019
19184:          OR b=245
19185:          OR ((a BETWEEN 97 AND 99) AND a!=98)
19186:          OR (f GLOB '?nopq*' AND f GLOB 'mnop*')
19187:          OR ((a BETWEEN 68 AND 70) AND a!=69)
19188:          OR b=572
19189:          OR ((a BETWEEN 22 AND 24) AND a!=23)
19190:   }
19191: } {2 11 12 22 23 24 38 52 55 56 57 64 68 70 90 97 99 scan 0 sort 0}
19192: do_test where7-2.823.2 {
19193:   count_steps_sort {
19194:      SELECT a FROM t3
19195:       WHERE a=2
19196:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
19197:          OR a=23
19198:          OR b=1092
19199:          OR c=19019
19200:          OR b=245
19201:          OR ((a BETWEEN 97 AND 99) AND a!=98)
19202:          OR (f GLOB '?nopq*' AND f GLOB 'mnop*')
19203:          OR ((a BETWEEN 68 AND 70) AND a!=69)
19204:          OR b=572
19205:          OR ((a BETWEEN 22 AND 24) AND a!=23)
19206:   }
19207: } {2 11 12 22 23 24 38 52 55 56 57 64 68 70 90 97 99 scan 0 sort 0}
19208: do_test where7-2.824.1 {
19209:   count_steps_sort {
19210:      SELECT a FROM t2
19211:       WHERE (d>=16.0 AND d<17.0 AND d NOT NULL)
19212:          OR b=993
19213:          OR c=17017
19214:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
19215:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
19216:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
19217:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
19218:          OR b=333
19219:   }
19220: } {16 29 37 49 50 51 53 85 scan 0 sort 0}
19221: do_test where7-2.824.2 {
19222:   count_steps_sort {
19223:      SELECT a FROM t3
19224:       WHERE (d>=16.0 AND d<17.0 AND d NOT NULL)
19225:          OR b=993
19226:          OR c=17017
19227:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
19228:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
19229:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
19230:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
19231:          OR b=333
19232:   }
19233: } {16 29 37 49 50 51 53 85 scan 0 sort 0}
19234: do_test where7-2.825.1 {
19235:   count_steps_sort {
19236:      SELECT a FROM t2
19237:       WHERE b=330
19238:          OR a=73
19239:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
19240:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
19241:          OR b=828
19242:          OR b=363
19243:          OR (g='rqponml' AND f GLOB 'lmnop*')
19244:   }
19245: } {30 33 37 40 61 73 scan 0 sort 0}
19246: do_test where7-2.825.2 {
19247:   count_steps_sort {
19248:      SELECT a FROM t3
19249:       WHERE b=330
19250:          OR a=73
19251:          OR (d>=61.0 AND d<62.0 AND d NOT NULL)
19252:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
19253:          OR b=828
19254:          OR b=363
19255:          OR (g='rqponml' AND f GLOB 'lmnop*')
19256:   }
19257: } {30 33 37 40 61 73 scan 0 sort 0}
19258: do_test where7-2.826.1 {
19259:   count_steps_sort {
19260:      SELECT a FROM t2
19261:       WHERE (g='gfedcba' AND f GLOB 'lmnop*')
19262:          OR a=41
19263:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
19264:          OR b=825
19265:   }
19266: } {29 41 75 89 scan 0 sort 0}
19267: do_test where7-2.826.2 {
19268:   count_steps_sort {
19269:      SELECT a FROM t3
19270:       WHERE (g='gfedcba' AND f GLOB 'lmnop*')
19271:          OR a=41
19272:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
19273:          OR b=825
19274:   }
19275: } {29 41 75 89 scan 0 sort 0}
19276: do_test where7-2.827.1 {
19277:   count_steps_sort {
19278:      SELECT a FROM t2
19279:       WHERE ((a BETWEEN 46 AND 48) AND a!=47)
19280:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
19281:          OR b=905
19282:          OR b=176
19283:          OR ((a BETWEEN 89 AND 91) AND a!=90)
19284:          OR b=561
19285:          OR c=8008
19286:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
19287:          OR b=935
19288:          OR c=1001
19289:   }
19290: } {1 2 3 10 16 22 23 24 46 48 51 84 85 89 91 scan 0 sort 0}
19291: do_test where7-2.827.2 {
19292:   count_steps_sort {
19293:      SELECT a FROM t3
19294:       WHERE ((a BETWEEN 46 AND 48) AND a!=47)
19295:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
19296:          OR b=905
19297:          OR b=176
19298:          OR ((a BETWEEN 89 AND 91) AND a!=90)
19299:          OR b=561
19300:          OR c=8008
19301:          OR (g='hgfedcb' AND f GLOB 'ghijk*')
19302:          OR b=935
19303:          OR c=1001
19304:   }
19305: } {1 2 3 10 16 22 23 24 46 48 51 84 85 89 91 scan 0 sort 0}
19306: do_test where7-2.828.1 {
19307:   count_steps_sort {
19308:      SELECT a FROM t2
19309:       WHERE ((a BETWEEN 75 AND 77) AND a!=76)
19310:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
19311:   }
19312: } {72 75 77 scan 0 sort 0}
19313: do_test where7-2.828.2 {
19314:   count_steps_sort {
19315:      SELECT a FROM t3
19316:       WHERE ((a BETWEEN 75 AND 77) AND a!=76)
19317:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
19318:   }
19319: } {72 75 77 scan 0 sort 0}
19320: do_test where7-2.829.1 {
19321:   count_steps_sort {
19322:      SELECT a FROM t2
19323:       WHERE ((a BETWEEN 5 AND 7) AND a!=6)
19324:          OR a=28
19325:   }
19326: } {5 7 28 scan 0 sort 0}
19327: do_test where7-2.829.2 {
19328:   count_steps_sort {
19329:      SELECT a FROM t3
19330:       WHERE ((a BETWEEN 5 AND 7) AND a!=6)
19331:          OR a=28
19332:   }
19333: } {5 7 28 scan 0 sort 0}
19334: do_test where7-2.830.1 {
19335:   count_steps_sort {
19336:      SELECT a FROM t2
19337:       WHERE b=781
19338:          OR b=410
19339:   }
19340: } {71 scan 0 sort 0}
19341: do_test where7-2.830.2 {
19342:   count_steps_sort {
19343:      SELECT a FROM t3
19344:       WHERE b=781
19345:          OR b=410
19346:   }
19347: } {71 scan 0 sort 0}
19348: do_test where7-2.831.1 {
19349:   count_steps_sort {
19350:      SELECT a FROM t2
19351:       WHERE ((a BETWEEN 18 AND 20) AND a!=19)
19352:          OR ((a BETWEEN 40 AND 42) AND a!=41)
19353:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
19354:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
19355:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
19356:          OR f='zabcdefgh'
19357:          OR b=861
19358:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
19359:          OR a=28
19360:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
19361:          OR b=311
19362:   }
19363: } {6 15 18 20 25 28 32 40 42 51 56 58 63 72 77 84 scan 0 sort 0}
19364: do_test where7-2.831.2 {
19365:   count_steps_sort {
19366:      SELECT a FROM t3
19367:       WHERE ((a BETWEEN 18 AND 20) AND a!=19)
19368:          OR ((a BETWEEN 40 AND 42) AND a!=41)
19369:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
19370:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
19371:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
19372:          OR f='zabcdefgh'
19373:          OR b=861
19374:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
19375:          OR a=28
19376:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
19377:          OR b=311
19378:   }
19379: } {6 15 18 20 25 28 32 40 42 51 56 58 63 72 77 84 scan 0 sort 0}
19380: do_test where7-2.832.1 {
19381:   count_steps_sort {
19382:      SELECT a FROM t2
19383:       WHERE b=575
19384:          OR (f GLOB '?nopq*' AND f GLOB 'mnop*')
19385:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
19386:          OR b=418
19387:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
19388:          OR b=792
19389:          OR b=861
19390:          OR b=220
19391:          OR ((a BETWEEN 89 AND 91) AND a!=90)
19392:   }
19393: } {12 15 20 38 41 64 67 72 73 89 90 91 93 scan 0 sort 0}
19394: do_test where7-2.832.2 {
19395:   count_steps_sort {
19396:      SELECT a FROM t3
19397:       WHERE b=575
19398:          OR (f GLOB '?nopq*' AND f GLOB 'mnop*')
19399:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
19400:          OR b=418
19401:          OR (f GLOB '?qrst*' AND f GLOB 'pqrs*')
19402:          OR b=792
19403:          OR b=861
19404:          OR b=220
19405:          OR ((a BETWEEN 89 AND 91) AND a!=90)
19406:   }
19407: } {12 15 20 38 41 64 67 72 73 89 90 91 93 scan 0 sort 0}
19408: do_test where7-2.833.1 {
19409:   count_steps_sort {
19410:      SELECT a FROM t2
19411:       WHERE b=517
19412:          OR b=913
19413:          OR b=253
19414:          OR b=198
19415:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
19416:          OR a=17
19417:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
19418:   }
19419: } {17 18 23 27 47 83 85 scan 0 sort 0}
19420: do_test where7-2.833.2 {
19421:   count_steps_sort {
19422:      SELECT a FROM t3
19423:       WHERE b=517
19424:          OR b=913
19425:          OR b=253
19426:          OR b=198
19427:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
19428:          OR a=17
19429:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
19430:   }
19431: } {17 18 23 27 47 83 85 scan 0 sort 0}
19432: do_test where7-2.834.1 {
19433:   count_steps_sort {
19434:      SELECT a FROM t2
19435:       WHERE (g='qponmlk' AND f GLOB 'qrstu*')
19436:          OR b=693
19437:          OR a=73
19438:          OR b=627
19439:          OR c=5005
19440:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
19441:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
19442:          OR b=267
19443:          OR b=872
19444:          OR a=27
19445:          OR (g='gfedcba' AND f GLOB 'klmno*')
19446:   }
19447: } {13 14 15 27 28 42 57 62 63 73 88 scan 0 sort 0}
19448: do_test where7-2.834.2 {
19449:   count_steps_sort {
19450:      SELECT a FROM t3
19451:       WHERE (g='qponmlk' AND f GLOB 'qrstu*')
19452:          OR b=693
19453:          OR a=73
19454:          OR b=627
19455:          OR c=5005
19456:          OR (d>=62.0 AND d<63.0 AND d NOT NULL)
19457:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
19458:          OR b=267
19459:          OR b=872
19460:          OR a=27
19461:          OR (g='gfedcba' AND f GLOB 'klmno*')
19462:   }
19463: } {13 14 15 27 28 42 57 62 63 73 88 scan 0 sort 0}
19464: do_test where7-2.835.1 {
19465:   count_steps_sort {
19466:      SELECT a FROM t2
19467:       WHERE a=10
19468:          OR ((a BETWEEN 95 AND 97) AND a!=96)
19469:          OR ((a BETWEEN 13 AND 15) AND a!=14)
19470:          OR b=1059
19471:          OR a=70
19472:          OR a=93
19473:   }
19474: } {10 13 15 70 93 95 97 scan 0 sort 0}
19475: do_test where7-2.835.2 {
19476:   count_steps_sort {
19477:      SELECT a FROM t3
19478:       WHERE a=10
19479:          OR ((a BETWEEN 95 AND 97) AND a!=96)
19480:          OR ((a BETWEEN 13 AND 15) AND a!=14)
19481:          OR b=1059
19482:          OR a=70
19483:          OR a=93
19484:   }
19485: } {10 13 15 70 93 95 97 scan 0 sort 0}
19486: do_test where7-2.836.1 {
19487:   count_steps_sort {
19488:      SELECT a FROM t2
19489:       WHERE a=30
19490:          OR a=32
19491:          OR b=1037
19492:          OR b=198
19493:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
19494:          OR a=25
19495:   }
19496: } {13 18 25 30 32 scan 0 sort 0}
19497: do_test where7-2.836.2 {
19498:   count_steps_sort {
19499:      SELECT a FROM t3
19500:       WHERE a=30
19501:          OR a=32
19502:          OR b=1037
19503:          OR b=198
19504:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
19505:          OR a=25
19506:   }
19507: } {13 18 25 30 32 scan 0 sort 0}
19508: do_test where7-2.837.1 {
19509:   count_steps_sort {
19510:      SELECT a FROM t2
19511:       WHERE (g='ponmlkj' AND f GLOB 'uvwxy*')
19512:          OR b=66
19513:          OR b=322
19514:          OR b=465
19515:          OR (g='gfedcba' AND f GLOB 'lmnop*')
19516:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
19517:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
19518:          OR ((a BETWEEN 77 AND 79) AND a!=78)
19519:          OR (g='lkjihgf' AND f GLOB 'mnopq*')
19520:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
19521:          OR b=454
19522:   }
19523: } {6 7 38 46 64 77 79 89 scan 0 sort 0}
19524: do_test where7-2.837.2 {
19525:   count_steps_sort {
19526:      SELECT a FROM t3
19527:       WHERE (g='ponmlkj' AND f GLOB 'uvwxy*')
19528:          OR b=66
19529:          OR b=322
19530:          OR b=465
19531:          OR (g='gfedcba' AND f GLOB 'lmnop*')
19532:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
19533:          OR (d>=7.0 AND d<8.0 AND d NOT NULL)
19534:          OR ((a BETWEEN 77 AND 79) AND a!=78)
19535:          OR (g='lkjihgf' AND f GLOB 'mnopq*')
19536:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
19537:          OR b=454
19538:   }
19539: } {6 7 38 46 64 77 79 89 scan 0 sort 0}
19540: do_test where7-2.838.1 {
19541:   count_steps_sort {
19542:      SELECT a FROM t2
19543:       WHERE b=924
19544:          OR ((a BETWEEN 35 AND 37) AND a!=36)
19545:          OR c=15015
19546:          OR (d>=84.0 AND d<85.0 AND d NOT NULL)
19547:          OR ((a BETWEEN 3 AND 5) AND a!=4)
19548:          OR (g='onmlkji' AND f GLOB 'abcde*')
19549:          OR b=803
19550:   }
19551: } {3 5 35 37 43 44 45 52 73 84 scan 0 sort 0}
19552: do_test where7-2.838.2 {
19553:   count_steps_sort {
19554:      SELECT a FROM t3
19555:       WHERE b=924
19556:          OR ((a BETWEEN 35 AND 37) AND a!=36)
19557:          OR c=15015
19558:          OR (d>=84.0 AND d<85.0 AND d NOT NULL)
19559:          OR ((a BETWEEN 3 AND 5) AND a!=4)
19560:          OR (g='onmlkji' AND f GLOB 'abcde*')
19561:          OR b=803
19562:   }
19563: } {3 5 35 37 43 44 45 52 73 84 scan 0 sort 0}
19564: do_test where7-2.839.1 {
19565:   count_steps_sort {
19566:      SELECT a FROM t2
19567:       WHERE b=1100
19568:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
19569:          OR ((a BETWEEN 72 AND 74) AND a!=73)
19570:          OR ((a BETWEEN 68 AND 70) AND a!=69)
19571:          OR a=75
19572:          OR a=45
19573:          OR (g='gfedcba' AND f GLOB 'mnopq*')
19574:          OR a=27
19575:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
19576:          OR b=850
19577:          OR ((a BETWEEN 55 AND 57) AND a!=56)
19578:   }
19579: } {12 27 45 55 57 68 70 72 74 75 77 90 100 scan 0 sort 0}
19580: do_test where7-2.839.2 {
19581:   count_steps_sort {
19582:      SELECT a FROM t3
19583:       WHERE b=1100
19584:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
19585:          OR ((a BETWEEN 72 AND 74) AND a!=73)
19586:          OR ((a BETWEEN 68 AND 70) AND a!=69)
19587:          OR a=75
19588:          OR a=45
19589:          OR (g='gfedcba' AND f GLOB 'mnopq*')
19590:          OR a=27
19591:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
19592:          OR b=850
19593:          OR ((a BETWEEN 55 AND 57) AND a!=56)
19594:   }
19595: } {12 27 45 55 57 68 70 72 74 75 77 90 100 scan 0 sort 0}
19596: do_test where7-2.840.1 {
19597:   count_steps_sort {
19598:      SELECT a FROM t2
19599:       WHERE b=751
19600:          OR ((a BETWEEN 96 AND 98) AND a!=97)
19601:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
19602:          OR (g='gfedcba' AND f GLOB 'lmnop*')
19603:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
19604:          OR a=89
19605:          OR ((a BETWEEN 36 AND 38) AND a!=37)
19606:   }
19607: } {36 38 56 71 89 96 98 scan 0 sort 0}
19608: do_test where7-2.840.2 {
19609:   count_steps_sort {
19610:      SELECT a FROM t3
19611:       WHERE b=751
19612:          OR ((a BETWEEN 96 AND 98) AND a!=97)
19613:          OR (d>=71.0 AND d<72.0 AND d NOT NULL)
19614:          OR (g='gfedcba' AND f GLOB 'lmnop*')
19615:          OR (d>=56.0 AND d<57.0 AND d NOT NULL)
19616:          OR a=89
19617:          OR ((a BETWEEN 36 AND 38) AND a!=37)
19618:   }
19619: } {36 38 56 71 89 96 98 scan 0 sort 0}
19620: do_test where7-2.841.1 {
19621:   count_steps_sort {
19622:      SELECT a FROM t2
19623:       WHERE (g='wvutsrq' AND f GLOB 'jklmn*')
19624:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
19625:          OR a=1
19626:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
19627:   }
19628: } {1 9 19 scan 0 sort 0}
19629: do_test where7-2.841.2 {
19630:   count_steps_sort {
19631:      SELECT a FROM t3
19632:       WHERE (g='wvutsrq' AND f GLOB 'jklmn*')
19633:          OR (g='yxwvuts' AND f GLOB 'bcdef*')
19634:          OR a=1
19635:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
19636:   }
19637: } {1 9 19 scan 0 sort 0}
19638: do_test where7-2.842.1 {
19639:   count_steps_sort {
19640:      SELECT a FROM t2
19641:       WHERE b=927
19642:          OR c=15015
19643:          OR f='klmnopqrs'
19644:          OR c=8008
19645:          OR ((a BETWEEN 41 AND 43) AND a!=42)
19646:          OR b=960
19647:          OR (g='jihgfed' AND f GLOB 'yzabc*')
19648:          OR b=443
19649:          OR (g='rqponml' AND f GLOB 'ijklm*')
19650:   }
19651: } {10 22 23 24 34 36 41 43 44 45 62 76 88 scan 0 sort 0}
19652: do_test where7-2.842.2 {
19653:   count_steps_sort {
19654:      SELECT a FROM t3
19655:       WHERE b=927
19656:          OR c=15015
19657:          OR f='klmnopqrs'
19658:          OR c=8008
19659:          OR ((a BETWEEN 41 AND 43) AND a!=42)
19660:          OR b=960
19661:          OR (g='jihgfed' AND f GLOB 'yzabc*')
19662:          OR b=443
19663:          OR (g='rqponml' AND f GLOB 'ijklm*')
19664:   }
19665: } {10 22 23 24 34 36 41 43 44 45 62 76 88 scan 0 sort 0}
19666: do_test where7-2.843.1 {
19667:   count_steps_sort {
19668:      SELECT a FROM t2
19669:       WHERE (d>=37.0 AND d<38.0 AND d NOT NULL)
19670:          OR b=212
19671:          OR f='cdefghijk'
19672:   }
19673: } {2 28 37 54 80 scan 0 sort 0}
19674: do_test where7-2.843.2 {
19675:   count_steps_sort {
19676:      SELECT a FROM t3
19677:       WHERE (d>=37.0 AND d<38.0 AND d NOT NULL)
19678:          OR b=212
19679:          OR f='cdefghijk'
19680:   }
19681: } {2 28 37 54 80 scan 0 sort 0}
19682: do_test where7-2.844.1 {
19683:   count_steps_sort {
19684:      SELECT a FROM t2
19685:       WHERE b=685
19686:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
19687:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
19688:          OR b=520
19689:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
19690:          OR a=53
19691:          OR ((a BETWEEN 91 AND 93) AND a!=92)
19692:          OR b=938
19693:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
19694:          OR c=25025
19695:   }
19696: } {43 53 63 73 74 75 76 91 93 scan 0 sort 0}
19697: do_test where7-2.844.2 {
19698:   count_steps_sort {
19699:      SELECT a FROM t3
19700:       WHERE b=685
19701:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
19702:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
19703:          OR b=520
19704:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
19705:          OR a=53
19706:          OR ((a BETWEEN 91 AND 93) AND a!=92)
19707:          OR b=938
19708:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
19709:          OR c=25025
19710:   }
19711: } {43 53 63 73 74 75 76 91 93 scan 0 sort 0}
19712: do_test where7-2.845.1 {
19713:   count_steps_sort {
19714:      SELECT a FROM t2
19715:       WHERE b=583
19716:          OR b=894
19717:          OR c=26026
19718:          OR (d>=84.0 AND d<85.0 AND d NOT NULL)
19719:   }
19720: } {53 76 77 78 84 scan 0 sort 0}
19721: do_test where7-2.845.2 {
19722:   count_steps_sort {
19723:      SELECT a FROM t3
19724:       WHERE b=583
19725:          OR b=894
19726:          OR c=26026
19727:          OR (d>=84.0 AND d<85.0 AND d NOT NULL)
19728:   }
19729: } {53 76 77 78 84 scan 0 sort 0}
19730: do_test where7-2.846.1 {
19731:   count_steps_sort {
19732:      SELECT a FROM t2
19733:       WHERE f='abcdefghi'
19734:          OR (g='edcbazy' AND f GLOB 'wxyza*')
19735:   }
19736: } {26 52 78 100 scan 0 sort 0}
19737: do_test where7-2.846.2 {
19738:   count_steps_sort {
19739:      SELECT a FROM t3
19740:       WHERE f='abcdefghi'
19741:          OR (g='edcbazy' AND f GLOB 'wxyza*')
19742:   }
19743: } {26 52 78 100 scan 0 sort 0}
19744: do_test where7-2.847.1 {
19745:   count_steps_sort {
19746:      SELECT a FROM t2
19747:       WHERE b=1103
19748:          OR b=638
19749:          OR b=792
19750:          OR b=1034
19751:          OR b=308
19752:          OR f='nopqrstuv'
19753:          OR b=264
19754:          OR ((a BETWEEN 33 AND 35) AND a!=34)
19755:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
19756:   }
19757: } {13 24 28 33 35 39 58 65 72 91 94 scan 0 sort 0}
19758: do_test where7-2.847.2 {
19759:   count_steps_sort {
19760:      SELECT a FROM t3
19761:       WHERE b=1103
19762:          OR b=638
19763:          OR b=792
19764:          OR b=1034
19765:          OR b=308
19766:          OR f='nopqrstuv'
19767:          OR b=264
19768:          OR ((a BETWEEN 33 AND 35) AND a!=34)
19769:          OR (d>=58.0 AND d<59.0 AND d NOT NULL)
19770:   }
19771: } {13 24 28 33 35 39 58 65 72 91 94 scan 0 sort 0}
19772: do_test where7-2.848.1 {
19773:   count_steps_sort {
19774:      SELECT a FROM t2
19775:       WHERE f='defghijkl'
19776:          OR b=814
19777:          OR f='yzabcdefg'
19778:   }
19779: } {3 24 29 50 55 74 76 81 scan 0 sort 0}
19780: do_test where7-2.848.2 {
19781:   count_steps_sort {
19782:      SELECT a FROM t3
19783:       WHERE f='defghijkl'
19784:          OR b=814
19785:          OR f='yzabcdefg'
19786:   }
19787: } {3 24 29 50 55 74 76 81 scan 0 sort 0}
19788: do_test where7-2.849.1 {
19789:   count_steps_sort {
19790:      SELECT a FROM t2
19791:       WHERE b=209
19792:          OR b=806
19793:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
19794:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
19795:   }
19796: } {8 17 19 scan 0 sort 0}
19797: do_test where7-2.849.2 {
19798:   count_steps_sort {
19799:      SELECT a FROM t3
19800:       WHERE b=209
19801:          OR b=806
19802:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
19803:          OR (g='vutsrqp' AND f GLOB 'rstuv*')
19804:   }
19805: } {8 17 19 scan 0 sort 0}
19806: do_test where7-2.850.1 {
19807:   count_steps_sort {
19808:      SELECT a FROM t2
19809:       WHERE f='opqrstuvw'
19810:          OR b=69
19811:          OR b=366
19812:   }
19813: } {14 40 66 92 scan 0 sort 0}
19814: do_test where7-2.850.2 {
19815:   count_steps_sort {
19816:      SELECT a FROM t3
19817:       WHERE f='opqrstuvw'
19818:          OR b=69
19819:          OR b=366
19820:   }
19821: } {14 40 66 92 scan 0 sort 0}
19822: do_test where7-2.851.1 {
19823:   count_steps_sort {
19824:      SELECT a FROM t2
19825:       WHERE (d>=4.0 AND d<5.0 AND d NOT NULL)
19826:          OR a=45
19827:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
19828:          OR a=69
19829:          OR ((a BETWEEN 69 AND 71) AND a!=70)
19830:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
19831:   }
19832: } {4 45 69 71 72 scan 0 sort 0}
19833: do_test where7-2.851.2 {
19834:   count_steps_sort {
19835:      SELECT a FROM t3
19836:       WHERE (d>=4.0 AND d<5.0 AND d NOT NULL)
19837:          OR a=45
19838:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
19839:          OR a=69
19840:          OR ((a BETWEEN 69 AND 71) AND a!=70)
19841:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
19842:   }
19843: } {4 45 69 71 72 scan 0 sort 0}
19844: do_test where7-2.852.1 {
19845:   count_steps_sort {
19846:      SELECT a FROM t2
19847:       WHERE c=9009
19848:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
19849:          OR (g='wvutsrq' AND f GLOB 'klmno*')
19850:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
19851:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
19852:   }
19853: } {9 10 25 26 27 67 85 scan 0 sort 0}
19854: do_test where7-2.852.2 {
19855:   count_steps_sort {
19856:      SELECT a FROM t3
19857:       WHERE c=9009
19858:          OR (d>=85.0 AND d<86.0 AND d NOT NULL)
19859:          OR (g='wvutsrq' AND f GLOB 'klmno*')
19860:          OR (d>=9.0 AND d<10.0 AND d NOT NULL)
19861:          OR (g='lkjihgf' AND f GLOB 'pqrst*')
19862:   }
19863: } {9 10 25 26 27 67 85 scan 0 sort 0}
19864: do_test where7-2.853.1 {
19865:   count_steps_sort {
19866:      SELECT a FROM t2
19867:       WHERE a=98
19868:          OR (d>=100.0 AND d<101.0 AND d NOT NULL)
19869:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
19870:          OR a=47
19871:          OR c=24024
19872:          OR a=27
19873:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
19874:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
19875:   }
19876: } {20 27 45 47 63 70 71 72 98 100 scan 0 sort 0}
19877: do_test where7-2.853.2 {
19878:   count_steps_sort {
19879:      SELECT a FROM t3
19880:       WHERE a=98
19881:          OR (d>=100.0 AND d<101.0 AND d NOT NULL)
19882:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
19883:          OR a=47
19884:          OR c=24024
19885:          OR a=27
19886:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
19887:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
19888:   }
19889: } {20 27 45 47 63 70 71 72 98 100 scan 0 sort 0}
19890: do_test where7-2.854.1 {
19891:   count_steps_sort {
19892:      SELECT a FROM t2
19893:       WHERE (g='utsrqpo' AND f GLOB 'wxyza*')
19894:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
19895:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
19896:          OR a=19
19897:   }
19898: } {19 22 44 scan 0 sort 0}
19899: do_test where7-2.854.2 {
19900:   count_steps_sort {
19901:      SELECT a FROM t3
19902:       WHERE (g='utsrqpo' AND f GLOB 'wxyza*')
19903:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
19904:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
19905:          OR a=19
19906:   }
19907: } {19 22 44 scan 0 sort 0}
19908: do_test where7-2.855.1 {
19909:   count_steps_sort {
19910:      SELECT a FROM t2
19911:       WHERE c=12012
19912:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
19913:          OR ((a BETWEEN 16 AND 18) AND a!=17)
19914:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
19915:   }
19916: } {16 18 34 35 36 80 98 scan 0 sort 0}
19917: do_test where7-2.855.2 {
19918:   count_steps_sort {
19919:      SELECT a FROM t3
19920:       WHERE c=12012
19921:          OR (d>=80.0 AND d<81.0 AND d NOT NULL)
19922:          OR ((a BETWEEN 16 AND 18) AND a!=17)
19923:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
19924:   }
19925: } {16 18 34 35 36 80 98 scan 0 sort 0}
19926: do_test where7-2.856.1 {
19927:   count_steps_sort {
19928:      SELECT a FROM t2
19929:       WHERE ((a BETWEEN 38 AND 40) AND a!=39)
19930:          OR (f GLOB '?nopq*' AND f GLOB 'mnop*')
19931:          OR b=429
19932:          OR f='jklmnopqr'
19933:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
19934:          OR ((a BETWEEN 77 AND 79) AND a!=78)
19935:   }
19936: } {9 12 35 38 39 40 48 61 64 77 79 87 90 scan 0 sort 0}
19937: do_test where7-2.856.2 {
19938:   count_steps_sort {
19939:      SELECT a FROM t3
19940:       WHERE ((a BETWEEN 38 AND 40) AND a!=39)
19941:          OR (f GLOB '?nopq*' AND f GLOB 'mnop*')
19942:          OR b=429
19943:          OR f='jklmnopqr'
19944:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
19945:          OR ((a BETWEEN 77 AND 79) AND a!=78)
19946:   }
19947: } {9 12 35 38 39 40 48 61 64 77 79 87 90 scan 0 sort 0}
19948: do_test where7-2.857.1 {
19949:   count_steps_sort {
19950:      SELECT a FROM t2
19951:       WHERE (g='lkjihgf' AND f GLOB 'mnopq*')
19952:          OR b=190
19953:   }
19954: } {64 scan 0 sort 0}
19955: do_test where7-2.857.2 {
19956:   count_steps_sort {
19957:      SELECT a FROM t3
19958:       WHERE (g='lkjihgf' AND f GLOB 'mnopq*')
19959:          OR b=190
19960:   }
19961: } {64 scan 0 sort 0}
19962: do_test where7-2.858.1 {
19963:   count_steps_sort {
19964:      SELECT a FROM t2
19965:       WHERE (g='jihgfed' AND f GLOB 'yzabc*')
19966:          OR b=674
19967:          OR b=289
19968:   }
19969: } {76 scan 0 sort 0}
19970: do_test where7-2.858.2 {
19971:   count_steps_sort {
19972:      SELECT a FROM t3
19973:       WHERE (g='jihgfed' AND f GLOB 'yzabc*')
19974:          OR b=674
19975:          OR b=289
19976:   }
19977: } {76 scan 0 sort 0}
19978: do_test where7-2.859.1 {
19979:   count_steps_sort {
19980:      SELECT a FROM t2
19981:       WHERE a=17
19982:          OR b=539
19983:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
19984:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
19985:   }
19986: } {17 21 47 49 scan 0 sort 0}
19987: do_test where7-2.859.2 {
19988:   count_steps_sort {
19989:      SELECT a FROM t3
19990:       WHERE a=17
19991:          OR b=539
19992:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
19993:          OR (g='utsrqpo' AND f GLOB 'vwxyz*')
19994:   }
19995: } {17 21 47 49 scan 0 sort 0}
19996: do_test where7-2.860.1 {
19997:   count_steps_sort {
19998:      SELECT a FROM t2
19999:       WHERE b=924
20000:          OR c=27027
20001:          OR ((a BETWEEN 65 AND 67) AND a!=66)
20002:   }
20003: } {65 67 79 80 81 84 scan 0 sort 0}
20004: do_test where7-2.860.2 {
20005:   count_steps_sort {
20006:      SELECT a FROM t3
20007:       WHERE b=924
20008:          OR c=27027
20009:          OR ((a BETWEEN 65 AND 67) AND a!=66)
20010:   }
20011: } {65 67 79 80 81 84 scan 0 sort 0}
20012: do_test where7-2.861.1 {
20013:   count_steps_sort {
20014:      SELECT a FROM t2
20015:       WHERE b=564
20016:          OR f='mnopqrstu'
20017:          OR ((a BETWEEN 28 AND 30) AND a!=29)
20018:          OR b=1103
20019:   }
20020: } {12 28 30 38 64 90 scan 0 sort 0}
20021: do_test where7-2.861.2 {
20022:   count_steps_sort {
20023:      SELECT a FROM t3
20024:       WHERE b=564
20025:          OR f='mnopqrstu'
20026:          OR ((a BETWEEN 28 AND 30) AND a!=29)
20027:          OR b=1103
20028:   }
20029: } {12 28 30 38 64 90 scan 0 sort 0}
20030: do_test where7-2.862.1 {
20031:   count_steps_sort {
20032:      SELECT a FROM t2
20033:       WHERE b=231
20034:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
20035:          OR a=38
20036:          OR a=4
20037:          OR b=784
20038:   }
20039: } {4 21 24 38 scan 0 sort 0}
20040: do_test where7-2.862.2 {
20041:   count_steps_sort {
20042:      SELECT a FROM t3
20043:       WHERE b=231
20044:          OR (d>=24.0 AND d<25.0 AND d NOT NULL)
20045:          OR a=38
20046:          OR a=4
20047:          OR b=784
20048:   }
20049: } {4 21 24 38 scan 0 sort 0}
20050: do_test where7-2.863.1 {
20051:   count_steps_sort {
20052:      SELECT a FROM t2
20053:       WHERE f='ghijklmno'
20054:          OR a=26
20055:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
20056:          OR a=81
20057:          OR (d>=3.0 AND d<4.0 AND d NOT NULL)
20058:          OR ((a BETWEEN 28 AND 30) AND a!=29)
20059:          OR b=275
20060:          OR (g='hgfedcb' AND f GLOB 'jklmn*')
20061:          OR b=311
20062:          OR b=894
20063:          OR b=872
20064:   }
20065: } {3 6 25 26 28 30 32 58 68 81 84 87 scan 0 sort 0}
20066: do_test where7-2.863.2 {
20067:   count_steps_sort {
20068:      SELECT a FROM t3
20069:       WHERE f='ghijklmno'
20070:          OR a=26
20071:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
20072:          OR a=81
20073:          OR (d>=3.0 AND d<4.0 AND d NOT NULL)
20074:          OR ((a BETWEEN 28 AND 30) AND a!=29)
20075:          OR b=275
20076:          OR (g='hgfedcb' AND f GLOB 'jklmn*')
20077:          OR b=311
20078:          OR b=894
20079:          OR b=872
20080:   }
20081: } {3 6 25 26 28 30 32 58 68 81 84 87 scan 0 sort 0}
20082: do_test where7-2.864.1 {
20083:   count_steps_sort {
20084:      SELECT a FROM t2
20085:       WHERE a=91
20086:          OR b=619
20087:   }
20088: } {91 scan 0 sort 0}
20089: do_test where7-2.864.2 {
20090:   count_steps_sort {
20091:      SELECT a FROM t3
20092:       WHERE a=91
20093:          OR b=619
20094:   }
20095: } {91 scan 0 sort 0}
20096: do_test where7-2.865.1 {
20097:   count_steps_sort {
20098:      SELECT a FROM t2
20099:       WHERE (d>=4.0 AND d<5.0 AND d NOT NULL)
20100:          OR a=85
20101:          OR f IS NULL
20102:          OR ((a BETWEEN 49 AND 51) AND a!=50)
20103:          OR ((a BETWEEN 66 AND 68) AND a!=67)
20104:          OR b=154
20105:          OR ((a BETWEEN 40 AND 42) AND a!=41)
20106:          OR ((a BETWEEN 87 AND 89) AND a!=88)
20107:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
20108:   }
20109: } {4 14 25 40 42 49 51 66 68 85 87 89 scan 0 sort 0}
20110: do_test where7-2.865.2 {
20111:   count_steps_sort {
20112:      SELECT a FROM t3
20113:       WHERE (d>=4.0 AND d<5.0 AND d NOT NULL)
20114:          OR a=85
20115:          OR f IS NULL
20116:          OR ((a BETWEEN 49 AND 51) AND a!=50)
20117:          OR ((a BETWEEN 66 AND 68) AND a!=67)
20118:          OR b=154
20119:          OR ((a BETWEEN 40 AND 42) AND a!=41)
20120:          OR ((a BETWEEN 87 AND 89) AND a!=88)
20121:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
20122:   }
20123: } {4 14 25 40 42 49 51 66 68 85 87 89 scan 0 sort 0}
20124: do_test where7-2.866.1 {
20125:   count_steps_sort {
20126:      SELECT a FROM t2
20127:       WHERE a=44
20128:          OR b=55
20129:          OR a=30
20130:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
20131:          OR 1000000<b
20132:          OR a=24
20133:          OR b=1089
20134:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
20135:          OR (g='rqponml' AND f GLOB 'hijkl*')
20136:   }
20137: } {5 19 24 30 33 44 45 71 75 97 99 scan 0 sort 0}
20138: do_test where7-2.866.2 {
20139:   count_steps_sort {
20140:      SELECT a FROM t3
20141:       WHERE a=44
20142:          OR b=55
20143:          OR a=30
20144:          OR (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
20145:          OR 1000000<b
20146:          OR a=24
20147:          OR b=1089
20148:          OR (d>=75.0 AND d<76.0 AND d NOT NULL)
20149:          OR (g='rqponml' AND f GLOB 'hijkl*')
20150:   }
20151: } {5 19 24 30 33 44 45 71 75 97 99 scan 0 sort 0}
20152: do_test where7-2.867.1 {
20153:   count_steps_sort {
20154:      SELECT a FROM t2
20155:       WHERE (d>=16.0 AND d<17.0 AND d NOT NULL)
20156:          OR ((a BETWEEN 80 AND 82) AND a!=81)
20157:          OR b=36
20158:          OR ((a BETWEEN 33 AND 35) AND a!=34)
20159:   }
20160: } {16 33 35 80 82 scan 0 sort 0}
20161: do_test where7-2.867.2 {
20162:   count_steps_sort {
20163:      SELECT a FROM t3
20164:       WHERE (d>=16.0 AND d<17.0 AND d NOT NULL)
20165:          OR ((a BETWEEN 80 AND 82) AND a!=81)
20166:          OR b=36
20167:          OR ((a BETWEEN 33 AND 35) AND a!=34)
20168:   }
20169: } {16 33 35 80 82 scan 0 sort 0}
20170: do_test where7-2.868.1 {
20171:   count_steps_sort {
20172:      SELECT a FROM t2
20173:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
20174:          OR (d>=35.0 AND d<36.0 AND d NOT NULL)
20175:          OR c=26026
20176:          OR ((a BETWEEN 37 AND 39) AND a!=38)
20177:          OR a=56
20178:          OR b=506
20179:          OR b=781
20180:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
20181:   }
20182: } {28 35 37 39 46 56 71 76 77 78 97 scan 0 sort 0}
20183: do_test where7-2.868.2 {
20184:   count_steps_sort {
20185:      SELECT a FROM t3
20186:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
20187:          OR (d>=35.0 AND d<36.0 AND d NOT NULL)
20188:          OR c=26026
20189:          OR ((a BETWEEN 37 AND 39) AND a!=38)
20190:          OR a=56
20191:          OR b=506
20192:          OR b=781
20193:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
20194:   }
20195: } {28 35 37 39 46 56 71 76 77 78 97 scan 0 sort 0}
20196: do_test where7-2.869.1 {
20197:   count_steps_sort {
20198:      SELECT a FROM t2
20199:       WHERE (g='edcbazy' AND f GLOB 'uvwxy*')
20200:          OR ((a BETWEEN 25 AND 27) AND a!=26)
20201:          OR (g='qponmlk' AND f GLOB 'nopqr*')
20202:          OR ((a BETWEEN 89 AND 91) AND a!=90)
20203:          OR f='xyzabcdef'
20204:          OR b=517
20205:          OR (g='jihgfed' AND f GLOB 'yzabc*')
20206:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
20207:   }
20208: } {23 25 27 39 47 49 68 75 76 89 91 98 scan 0 sort 0}
20209: do_test where7-2.869.2 {
20210:   count_steps_sort {
20211:      SELECT a FROM t3
20212:       WHERE (g='edcbazy' AND f GLOB 'uvwxy*')
20213:          OR ((a BETWEEN 25 AND 27) AND a!=26)
20214:          OR (g='qponmlk' AND f GLOB 'nopqr*')
20215:          OR ((a BETWEEN 89 AND 91) AND a!=90)
20216:          OR f='xyzabcdef'
20217:          OR b=517
20218:          OR (g='jihgfed' AND f GLOB 'yzabc*')
20219:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
20220:   }
20221: } {23 25 27 39 47 49 68 75 76 89 91 98 scan 0 sort 0}
20222: do_test where7-2.870.1 {
20223:   count_steps_sort {
20224:      SELECT a FROM t2
20225:       WHERE a=54
20226:          OR a=59
20227:   }
20228: } {54 59 scan 0 sort 0}
20229: do_test where7-2.870.2 {
20230:   count_steps_sort {
20231:      SELECT a FROM t3
20232:       WHERE a=54
20233:          OR a=59
20234:   }
20235: } {54 59 scan 0 sort 0}
20236: do_test where7-2.871.1 {
20237:   count_steps_sort {
20238:      SELECT a FROM t2
20239:       WHERE (g='tsrqpon' AND f GLOB 'yzabc*')
20240:          OR b=762
20241:          OR (g='onmlkji' AND f GLOB 'wxyza*')
20242:          OR a=25
20243:          OR ((a BETWEEN 65 AND 67) AND a!=66)
20244:   }
20245: } {24 25 48 65 67 scan 0 sort 0}
20246: do_test where7-2.871.2 {
20247:   count_steps_sort {
20248:      SELECT a FROM t3
20249:       WHERE (g='tsrqpon' AND f GLOB 'yzabc*')
20250:          OR b=762
20251:          OR (g='onmlkji' AND f GLOB 'wxyza*')
20252:          OR a=25
20253:          OR ((a BETWEEN 65 AND 67) AND a!=66)
20254:   }
20255: } {24 25 48 65 67 scan 0 sort 0}
20256: do_test where7-2.872.1 {
20257:   count_steps_sort {
20258:      SELECT a FROM t2
20259:       WHERE (d>=59.0 AND d<60.0 AND d NOT NULL)
20260:          OR ((a BETWEEN 14 AND 16) AND a!=15)
20261:          OR b=839
20262:          OR f='defghijkl'
20263:          OR (d>=95.0 AND d<96.0 AND d NOT NULL)
20264:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
20265:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
20266:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
20267:          OR b=498
20268:   }
20269: } {3 14 16 29 52 55 59 60 81 85 95 scan 0 sort 0}
20270: do_test where7-2.872.2 {
20271:   count_steps_sort {
20272:      SELECT a FROM t3
20273:       WHERE (d>=59.0 AND d<60.0 AND d NOT NULL)
20274:          OR ((a BETWEEN 14 AND 16) AND a!=15)
20275:          OR b=839
20276:          OR f='defghijkl'
20277:          OR (d>=95.0 AND d<96.0 AND d NOT NULL)
20278:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
20279:          OR (d>=52.0 AND d<53.0 AND d NOT NULL)
20280:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
20281:          OR b=498
20282:   }
20283: } {3 14 16 29 52 55 59 60 81 85 95 scan 0 sort 0}
20284: do_test where7-2.873.1 {
20285:   count_steps_sort {
20286:      SELECT a FROM t2
20287:       WHERE b=256
20288:          OR c=19019
20289:          OR a=54
20290:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
20291:          OR b=498
20292:          OR b=77
20293:   }
20294: } {7 46 54 55 56 57 scan 0 sort 0}
20295: do_test where7-2.873.2 {
20296:   count_steps_sort {
20297:      SELECT a FROM t3
20298:       WHERE b=256
20299:          OR c=19019
20300:          OR a=54
20301:          OR (d>=46.0 AND d<47.0 AND d NOT NULL)
20302:          OR b=498
20303:          OR b=77
20304:   }
20305: } {7 46 54 55 56 57 scan 0 sort 0}
20306: do_test where7-2.874.1 {
20307:   count_steps_sort {
20308:      SELECT a FROM t2
20309:       WHERE (g='mlkjihg' AND f GLOB 'jklmn*')
20310:          OR b=256
20311:          OR b=586
20312:          OR a=74
20313:          OR b=113
20314:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
20315:          OR b=495
20316:   }
20317: } {45 61 74 99 scan 0 sort 0}
20318: do_test where7-2.874.2 {
20319:   count_steps_sort {
20320:      SELECT a FROM t3
20321:       WHERE (g='mlkjihg' AND f GLOB 'jklmn*')
20322:          OR b=256
20323:          OR b=586
20324:          OR a=74
20325:          OR b=113
20326:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
20327:          OR b=495
20328:   }
20329: } {45 61 74 99 scan 0 sort 0}
20330: do_test where7-2.875.1 {
20331:   count_steps_sort {
20332:      SELECT a FROM t2
20333:       WHERE a=12
20334:          OR a=50
20335:          OR (d>=33.0 AND d<34.0 AND d NOT NULL)
20336:          OR ((a BETWEEN 66 AND 68) AND a!=67)
20337:   }
20338: } {12 33 50 66 68 scan 0 sort 0}
20339: do_test where7-2.875.2 {
20340:   count_steps_sort {
20341:      SELECT a FROM t3
20342:       WHERE a=12
20343:          OR a=50
20344:          OR (d>=33.0 AND d<34.0 AND d NOT NULL)
20345:          OR ((a BETWEEN 66 AND 68) AND a!=67)
20346:   }
20347: } {12 33 50 66 68 scan 0 sort 0}
20348: do_test where7-2.876.1 {
20349:   count_steps_sort {
20350:      SELECT a FROM t2
20351:       WHERE b=308
20352:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
20353:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
20354:          OR a=83
20355:          OR c=23023
20356:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
20357:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
20358:          OR a=58
20359:          OR ((a BETWEEN 17 AND 19) AND a!=18)
20360:          OR (g='srqponm' AND f GLOB 'efghi*')
20361:          OR c=4004
20362:   }
20363: } {10 11 12 17 19 28 30 53 57 58 65 67 68 69 73 83 scan 0 sort 0}
20364: do_test where7-2.876.2 {
20365:   count_steps_sort {
20366:      SELECT a FROM t3
20367:       WHERE b=308
20368:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
20369:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
20370:          OR a=83
20371:          OR c=23023
20372:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
20373:          OR (g='lkjihgf' AND f GLOB 'nopqr*')
20374:          OR a=58
20375:          OR ((a BETWEEN 17 AND 19) AND a!=18)
20376:          OR (g='srqponm' AND f GLOB 'efghi*')
20377:          OR c=4004
20378:   }
20379: } {10 11 12 17 19 28 30 53 57 58 65 67 68 69 73 83 scan 0 sort 0}
20380: do_test where7-2.877.1 {
20381:   count_steps_sort {
20382:      SELECT a FROM t2
20383:       WHERE b=476
20384:          OR a=26
20385:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
20386:          OR b=762
20387:          OR b=157
20388:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
20389:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
20390:   }
20391: } {17 26 54 87 scan 0 sort 0}
20392: do_test where7-2.877.2 {
20393:   count_steps_sort {
20394:      SELECT a FROM t3
20395:       WHERE b=476
20396:          OR a=26
20397:          OR (d>=87.0 AND d<88.0 AND d NOT NULL)
20398:          OR b=762
20399:          OR b=157
20400:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
20401:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
20402:   }
20403: } {17 26 54 87 scan 0 sort 0}
20404: do_test where7-2.878.1 {
20405:   count_steps_sort {
20406:      SELECT a FROM t2
20407:       WHERE (d>=77.0 AND d<78.0 AND d NOT NULL)
20408:          OR a=1
20409:          OR ((a BETWEEN 93 AND 95) AND a!=94)
20410:          OR b=278
20411:          OR (g='xwvutsr' AND f GLOB 'defgh*')
20412:          OR f='qrstuvwxy'
20413:          OR (g='onmlkji' AND f GLOB 'abcde*')
20414:          OR ((a BETWEEN 82 AND 84) AND a!=83)
20415:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
20416:          OR (g='jihgfed' AND f GLOB 'wxyza*')
20417:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
20418:   }
20419: } {1 3 16 42 52 68 72 74 77 82 84 93 94 95 98 scan 0 sort 0}
20420: do_test where7-2.878.2 {
20421:   count_steps_sort {
20422:      SELECT a FROM t3
20423:       WHERE (d>=77.0 AND d<78.0 AND d NOT NULL)
20424:          OR a=1
20425:          OR ((a BETWEEN 93 AND 95) AND a!=94)
20426:          OR b=278
20427:          OR (g='xwvutsr' AND f GLOB 'defgh*')
20428:          OR f='qrstuvwxy'
20429:          OR (g='onmlkji' AND f GLOB 'abcde*')
20430:          OR ((a BETWEEN 82 AND 84) AND a!=83)
20431:          OR (g='edcbazy' AND f GLOB 'uvwxy*')
20432:          OR (g='jihgfed' AND f GLOB 'wxyza*')
20433:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
20434:   }
20435: } {1 3 16 42 52 68 72 74 77 82 84 93 94 95 98 scan 0 sort 0}
20436: do_test where7-2.879.1 {
20437:   count_steps_sort {
20438:      SELECT a FROM t2
20439:       WHERE b=124
20440:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
20441:          OR ((a BETWEEN 41 AND 43) AND a!=42)
20442:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
20443:          OR b=759
20444:          OR (f GLOB '?nopq*' AND f GLOB 'mnop*')
20445:          OR ((a BETWEEN 45 AND 47) AND a!=46)
20446:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
20447:   }
20448: } {12 38 41 43 45 47 64 69 72 90 92 96 scan 0 sort 0}
20449: do_test where7-2.879.2 {
20450:   count_steps_sort {
20451:      SELECT a FROM t3
20452:       WHERE b=124
20453:          OR (d>=92.0 AND d<93.0 AND d NOT NULL)
20454:          OR ((a BETWEEN 41 AND 43) AND a!=42)
20455:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
20456:          OR b=759
20457:          OR (f GLOB '?nopq*' AND f GLOB 'mnop*')
20458:          OR ((a BETWEEN 45 AND 47) AND a!=46)
20459:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
20460:   }
20461: } {12 38 41 43 45 47 64 69 72 90 92 96 scan 0 sort 0}
20462: do_test where7-2.880.1 {
20463:   count_steps_sort {
20464:      SELECT a FROM t2
20465:       WHERE b=872
20466:          OR b=267
20467:          OR b=814
20468:          OR b=99
20469:          OR c<=10
20470:          OR ((a BETWEEN 8 AND 10) AND a!=9)
20471:          OR b=44
20472:          OR f='zabcdefgh'
20473:          OR b=979
20474:          OR (g='rqponml' AND f GLOB 'hijkl*')
20475:   }
20476: } {4 8 9 10 25 33 51 74 77 89 scan 0 sort 0}
20477: do_test where7-2.880.2 {
20478:   count_steps_sort {
20479:      SELECT a FROM t3
20480:       WHERE b=872
20481:          OR b=267
20482:          OR b=814
20483:          OR b=99
20484:          OR c<=10
20485:          OR ((a BETWEEN 8 AND 10) AND a!=9)
20486:          OR b=44
20487:          OR f='zabcdefgh'
20488:          OR b=979
20489:          OR (g='rqponml' AND f GLOB 'hijkl*')
20490:   }
20491: } {4 8 9 10 25 33 51 74 77 89 scan 0 sort 0}
20492: do_test where7-2.881.1 {
20493:   count_steps_sort {
20494:      SELECT a FROM t2
20495:       WHERE (d>=26.0 AND d<27.0 AND d NOT NULL)
20496:          OR f='xyzabcdef'
20497:   }
20498: } {23 26 49 75 scan 0 sort 0}
20499: do_test where7-2.881.2 {
20500:   count_steps_sort {
20501:      SELECT a FROM t3
20502:       WHERE (d>=26.0 AND d<27.0 AND d NOT NULL)
20503:          OR f='xyzabcdef'
20504:   }
20505: } {23 26 49 75 scan 0 sort 0}
20506: do_test where7-2.882.1 {
20507:   count_steps_sort {
20508:      SELECT a FROM t2
20509:       WHERE b=487
20510:          OR b=355
20511:          OR c=9009
20512:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
20513:          OR ((a BETWEEN 32 AND 34) AND a!=33)
20514:          OR b=113
20515:          OR ((a BETWEEN 24 AND 26) AND a!=25)
20516:          OR a=90
20517:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
20518:          OR (g='hgfedcb' AND f GLOB 'jklmn*')
20519:          OR f='nopqrstuv'
20520:   }
20521: } {8 13 24 25 26 27 32 34 39 65 66 87 90 91 scan 0 sort 0}
20522: do_test where7-2.882.2 {
20523:   count_steps_sort {
20524:      SELECT a FROM t3
20525:       WHERE b=487
20526:          OR b=355
20527:          OR c=9009
20528:          OR (d>=8.0 AND d<9.0 AND d NOT NULL)
20529:          OR ((a BETWEEN 32 AND 34) AND a!=33)
20530:          OR b=113
20531:          OR ((a BETWEEN 24 AND 26) AND a!=25)
20532:          OR a=90
20533:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
20534:          OR (g='hgfedcb' AND f GLOB 'jklmn*')
20535:          OR f='nopqrstuv'
20536:   }
20537: } {8 13 24 25 26 27 32 34 39 65 66 87 90 91 scan 0 sort 0}
20538: do_test where7-2.883.1 {
20539:   count_steps_sort {
20540:      SELECT a FROM t2
20541:       WHERE (d>=34.0 AND d<35.0 AND d NOT NULL)
20542:          OR b=275
20543:   }
20544: } {25 34 scan 0 sort 0}
20545: do_test where7-2.883.2 {
20546:   count_steps_sort {
20547:      SELECT a FROM t3
20548:       WHERE (d>=34.0 AND d<35.0 AND d NOT NULL)
20549:          OR b=275
20550:   }
20551: } {25 34 scan 0 sort 0}
20552: do_test where7-2.884.1 {
20553:   count_steps_sort {
20554:      SELECT a FROM t2
20555:       WHERE b=355
20556:          OR a=44
20557:          OR b=374
20558:          OR c=25025
20559:          OR b=198
20560:          OR ((a BETWEEN 4 AND 6) AND a!=5)
20561:          OR ((a BETWEEN 69 AND 71) AND a!=70)
20562:          OR d<0.0
20563:          OR (g='qponmlk' AND f GLOB 'pqrst*')
20564:          OR c=9009
20565:   }
20566: } {4 6 18 25 26 27 34 41 44 69 71 73 74 75 scan 0 sort 0}
20567: do_test where7-2.884.2 {
20568:   count_steps_sort {
20569:      SELECT a FROM t3
20570:       WHERE b=355
20571:          OR a=44
20572:          OR b=374
20573:          OR c=25025
20574:          OR b=198
20575:          OR ((a BETWEEN 4 AND 6) AND a!=5)
20576:          OR ((a BETWEEN 69 AND 71) AND a!=70)
20577:          OR d<0.0
20578:          OR (g='qponmlk' AND f GLOB 'pqrst*')
20579:          OR c=9009
20580:   }
20581: } {4 6 18 25 26 27 34 41 44 69 71 73 74 75 scan 0 sort 0}
20582: do_test where7-2.885.1 {
20583:   count_steps_sort {
20584:      SELECT a FROM t2
20585:       WHERE (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
20586:          OR b=814
20587:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
20588:   }
20589: } {19 45 54 71 74 97 scan 0 sort 0}
20590: do_test where7-2.885.2 {
20591:   count_steps_sort {
20592:      SELECT a FROM t3
20593:       WHERE (f GLOB '?uvwx*' AND f GLOB 'tuvw*')
20594:          OR b=814
20595:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
20596:   }
20597: } {19 45 54 71 74 97 scan 0 sort 0}
20598: do_test where7-2.886.1 {
20599:   count_steps_sort {
20600:      SELECT a FROM t2
20601:       WHERE (g='lkjihgf' AND f GLOB 'mnopq*')
20602:          OR b=333
20603:          OR b=275
20604:   }
20605: } {25 64 scan 0 sort 0}
20606: do_test where7-2.886.2 {
20607:   count_steps_sort {
20608:      SELECT a FROM t3
20609:       WHERE (g='lkjihgf' AND f GLOB 'mnopq*')
20610:          OR b=333
20611:          OR b=275
20612:   }
20613: } {25 64 scan 0 sort 0}
20614: do_test where7-2.887.1 {
20615:   count_steps_sort {
20616:      SELECT a FROM t2
20617:       WHERE (g='ihgfedc' AND f GLOB 'efghi*')
20618:          OR ((a BETWEEN 33 AND 35) AND a!=34)
20619:   }
20620: } {33 35 82 scan 0 sort 0}
20621: do_test where7-2.887.2 {
20622:   count_steps_sort {
20623:      SELECT a FROM t3
20624:       WHERE (g='ihgfedc' AND f GLOB 'efghi*')
20625:          OR ((a BETWEEN 33 AND 35) AND a!=34)
20626:   }
20627: } {33 35 82 scan 0 sort 0}
20628: do_test where7-2.888.1 {
20629:   count_steps_sort {
20630:      SELECT a FROM t2
20631:       WHERE ((a BETWEEN 11 AND 13) AND a!=12)
20632:          OR b=253
20633:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
20634:          OR b=286
20635:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
20636:   }
20637: } {10 11 13 14 23 26 40 66 92 scan 0 sort 0}
20638: do_test where7-2.888.2 {
20639:   count_steps_sort {
20640:      SELECT a FROM t3
20641:       WHERE ((a BETWEEN 11 AND 13) AND a!=12)
20642:          OR b=253
20643:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
20644:          OR b=286
20645:          OR (d>=10.0 AND d<11.0 AND d NOT NULL)
20646:   }
20647: } {10 11 13 14 23 26 40 66 92 scan 0 sort 0}
20648: do_test where7-2.889.1 {
20649:   count_steps_sort {
20650:      SELECT a FROM t2
20651:       WHERE (d>=15.0 AND d<16.0 AND d NOT NULL)
20652:          OR (g='gfedcba' AND f GLOB 'mnopq*')
20653:          OR ((a BETWEEN 26 AND 28) AND a!=27)
20654:          OR b=421
20655:          OR (g='xwvutsr' AND f GLOB 'fghij*')
20656:          OR f='ijklmnopq'
20657:          OR b=891
20658:          OR b=1056
20659:   }
20660: } {5 8 15 26 28 34 60 81 86 90 96 scan 0 sort 0}
20661: do_test where7-2.889.2 {
20662:   count_steps_sort {
20663:      SELECT a FROM t3
20664:       WHERE (d>=15.0 AND d<16.0 AND d NOT NULL)
20665:          OR (g='gfedcba' AND f GLOB 'mnopq*')
20666:          OR ((a BETWEEN 26 AND 28) AND a!=27)
20667:          OR b=421
20668:          OR (g='xwvutsr' AND f GLOB 'fghij*')
20669:          OR f='ijklmnopq'
20670:          OR b=891
20671:          OR b=1056
20672:   }
20673: } {5 8 15 26 28 34 60 81 86 90 96 scan 0 sort 0}
20674: do_test where7-2.890.1 {
20675:   count_steps_sort {
20676:      SELECT a FROM t2
20677:       WHERE f='fghijklmn'
20678:          OR (g='qponmlk' AND f GLOB 'nopqr*')
20679:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
20680:          OR b=671
20681:          OR (g='xwvutsr' AND f GLOB 'hijkl*')
20682:   }
20683: } {5 7 31 39 57 61 83 99 scan 0 sort 0}
20684: do_test where7-2.890.2 {
20685:   count_steps_sort {
20686:      SELECT a FROM t3
20687:       WHERE f='fghijklmn'
20688:          OR (g='qponmlk' AND f GLOB 'nopqr*')
20689:          OR (g='edcbazy' AND f GLOB 'vwxyz*')
20690:          OR b=671
20691:          OR (g='xwvutsr' AND f GLOB 'hijkl*')
20692:   }
20693: } {5 7 31 39 57 61 83 99 scan 0 sort 0}
20694: do_test where7-2.891.1 {
20695:   count_steps_sort {
20696:      SELECT a FROM t2
20697:       WHERE (g='lkjihgf' AND f GLOB 'lmnop*')
20698:          OR (g='srqponm' AND f GLOB 'fghij*')
20699:          OR ((a BETWEEN 4 AND 6) AND a!=5)
20700:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
20701:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
20702:   }
20703: } {4 6 11 31 63 68 scan 0 sort 0}
20704: do_test where7-2.891.2 {
20705:   count_steps_sort {
20706:      SELECT a FROM t3
20707:       WHERE (g='lkjihgf' AND f GLOB 'lmnop*')
20708:          OR (g='srqponm' AND f GLOB 'fghij*')
20709:          OR ((a BETWEEN 4 AND 6) AND a!=5)
20710:          OR (g='kjihgfe' AND f GLOB 'qrstu*')
20711:          OR (d>=11.0 AND d<12.0 AND d NOT NULL)
20712:   }
20713: } {4 6 11 31 63 68 scan 0 sort 0}
20714: do_test where7-2.892.1 {
20715:   count_steps_sort {
20716:      SELECT a FROM t2
20717:       WHERE c=11011
20718:          OR a=20
20719:          OR b=432
20720:          OR b=410
20721:          OR a=86
20722:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
20723:          OR b=638
20724:          OR ((a BETWEEN 58 AND 60) AND a!=59)
20725:          OR b=190
20726:   }
20727: } {20 31 32 33 58 60 86 89 scan 0 sort 0}
20728: do_test where7-2.892.2 {
20729:   count_steps_sort {
20730:      SELECT a FROM t3
20731:       WHERE c=11011
20732:          OR a=20
20733:          OR b=432
20734:          OR b=410
20735:          OR a=86
20736:          OR (d>=89.0 AND d<90.0 AND d NOT NULL)
20737:          OR b=638
20738:          OR ((a BETWEEN 58 AND 60) AND a!=59)
20739:          OR b=190
20740:   }
20741: } {20 31 32 33 58 60 86 89 scan 0 sort 0}
20742: do_test where7-2.893.1 {
20743:   count_steps_sort {
20744:      SELECT a FROM t2
20745:       WHERE b=88
20746:          OR ((a BETWEEN 42 AND 44) AND a!=43)
20747:          OR a=76
20748:          OR b=69
20749:          OR b=847
20750:          OR b=275
20751:   }
20752: } {8 25 42 44 76 77 scan 0 sort 0}
20753: do_test where7-2.893.2 {
20754:   count_steps_sort {
20755:      SELECT a FROM t3
20756:       WHERE b=88
20757:          OR ((a BETWEEN 42 AND 44) AND a!=43)
20758:          OR a=76
20759:          OR b=69
20760:          OR b=847
20761:          OR b=275
20762:   }
20763: } {8 25 42 44 76 77 scan 0 sort 0}
20764: do_test where7-2.894.1 {
20765:   count_steps_sort {
20766:      SELECT a FROM t2
20767:       WHERE b=781
20768:          OR b=77
20769:          OR b=58
20770:          OR ((a BETWEEN 67 AND 69) AND a!=68)
20771:   }
20772: } {7 67 69 71 scan 0 sort 0}
20773: do_test where7-2.894.2 {
20774:   count_steps_sort {
20775:      SELECT a FROM t3
20776:       WHERE b=781
20777:          OR b=77
20778:          OR b=58
20779:          OR ((a BETWEEN 67 AND 69) AND a!=68)
20780:   }
20781: } {7 67 69 71 scan 0 sort 0}
20782: do_test where7-2.895.1 {
20783:   count_steps_sort {
20784:      SELECT a FROM t2
20785:       WHERE ((a BETWEEN 67 AND 69) AND a!=68)
20786:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
20787:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
20788:          OR a=46
20789:          OR b=187
20790:          OR ((a BETWEEN 69 AND 71) AND a!=70)
20791:          OR (g='onmlkji' AND f GLOB 'yzabc*')
20792:   }
20793: } {17 20 46 50 67 69 71 scan 0 sort 0}
20794: do_test where7-2.895.2 {
20795:   count_steps_sort {
20796:      SELECT a FROM t3
20797:       WHERE ((a BETWEEN 67 AND 69) AND a!=68)
20798:          OR (d>=69.0 AND d<70.0 AND d NOT NULL)
20799:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
20800:          OR a=46
20801:          OR b=187
20802:          OR ((a BETWEEN 69 AND 71) AND a!=70)
20803:          OR (g='onmlkji' AND f GLOB 'yzabc*')
20804:   }
20805: } {17 20 46 50 67 69 71 scan 0 sort 0}
20806: do_test where7-2.896.1 {
20807:   count_steps_sort {
20808:      SELECT a FROM t2
20809:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
20810:          OR a=99
20811:          OR c=3003
20812:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
20813:          OR b=300
20814:          OR b=718
20815:          OR c>=34035
20816:          OR b=264
20817:   }
20818: } {7 8 9 24 57 97 99 scan 0 sort 0}
20819: do_test where7-2.896.2 {
20820:   count_steps_sort {
20821:      SELECT a FROM t3
20822:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
20823:          OR a=99
20824:          OR c=3003
20825:          OR (d>=57.0 AND d<58.0 AND d NOT NULL)
20826:          OR b=300
20827:          OR b=718
20828:          OR c>=34035
20829:          OR b=264
20830:   }
20831: } {7 8 9 24 57 97 99 scan 0 sort 0}
20832: do_test where7-2.897.1 {
20833:   count_steps_sort {
20834:      SELECT a FROM t2
20835:       WHERE b=872
20836:          OR b=209
20837:          OR ((a BETWEEN 65 AND 67) AND a!=66)
20838:          OR b=355
20839:          OR b=729
20840:          OR ((a BETWEEN 81 AND 83) AND a!=82)
20841:          OR a=58
20842:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
20843:          OR b=608
20844:   }
20845: } {14 19 40 58 65 66 67 81 83 92 scan 0 sort 0}
20846: do_test where7-2.897.2 {
20847:   count_steps_sort {
20848:      SELECT a FROM t3
20849:       WHERE b=872
20850:          OR b=209
20851:          OR ((a BETWEEN 65 AND 67) AND a!=66)
20852:          OR b=355
20853:          OR b=729
20854:          OR ((a BETWEEN 81 AND 83) AND a!=82)
20855:          OR a=58
20856:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
20857:          OR b=608
20858:   }
20859: } {14 19 40 58 65 66 67 81 83 92 scan 0 sort 0}
20860: do_test where7-2.898.1 {
20861:   count_steps_sort {
20862:      SELECT a FROM t2
20863:       WHERE c=29029
20864:          OR f='efghijklm'
20865:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
20866:          OR a=26
20867:          OR (f GLOB '?efgh*' AND f GLOB 'defg*')
20868:   }
20869: } {3 4 26 29 30 48 55 56 81 82 85 86 87 scan 0 sort 0}
20870: do_test where7-2.898.2 {
20871:   count_steps_sort {
20872:      SELECT a FROM t3
20873:       WHERE c=29029
20874:          OR f='efghijklm'
20875:          OR (d>=48.0 AND d<49.0 AND d NOT NULL)
20876:          OR a=26
20877:          OR (f GLOB '?efgh*' AND f GLOB 'defg*')
20878:   }
20879: } {3 4 26 29 30 48 55 56 81 82 85 86 87 scan 0 sort 0}
20880: do_test where7-2.899.1 {
20881:   count_steps_sort {
20882:      SELECT a FROM t2
20883:       WHERE a=59
20884:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
20885:          OR a=7
20886:          OR (g='tsrqpon' AND f GLOB 'abcde*')
20887:          OR b=762
20888:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
20889:   }
20890: } {7 12 14 26 40 59 66 92 scan 0 sort 0}
20891: do_test where7-2.899.2 {
20892:   count_steps_sort {
20893:      SELECT a FROM t3
20894:       WHERE a=59
20895:          OR (g='wvutsrq' AND f GLOB 'mnopq*')
20896:          OR a=7
20897:          OR (g='tsrqpon' AND f GLOB 'abcde*')
20898:          OR b=762
20899:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
20900:   }
20901: } {7 12 14 26 40 59 66 92 scan 0 sort 0}
20902: do_test where7-2.900.1 {
20903:   count_steps_sort {
20904:      SELECT a FROM t2
20905:       WHERE (g='gfedcba' AND f GLOB 'nopqr*')
20906:          OR b=539
20907:          OR b=399
20908:   }
20909: } {49 91 scan 0 sort 0}
20910: do_test where7-2.900.2 {
20911:   count_steps_sort {
20912:      SELECT a FROM t3
20913:       WHERE (g='gfedcba' AND f GLOB 'nopqr*')
20914:          OR b=539
20915:          OR b=399
20916:   }
20917: } {49 91 scan 0 sort 0}
20918: do_test where7-2.901.1 {
20919:   count_steps_sort {
20920:      SELECT a FROM t2
20921:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
20922:          OR ((a BETWEEN 96 AND 98) AND a!=97)
20923:          OR a=92
20924:   }
20925: } {71 73 92 96 98 scan 0 sort 0}
20926: do_test where7-2.901.2 {
20927:   count_steps_sort {
20928:      SELECT a FROM t3
20929:       WHERE ((a BETWEEN 71 AND 73) AND a!=72)
20930:          OR ((a BETWEEN 96 AND 98) AND a!=97)
20931:          OR a=92
20932:   }
20933: } {71 73 92 96 98 scan 0 sort 0}
20934: do_test where7-2.902.1 {
20935:   count_steps_sort {
20936:      SELECT a FROM t2
20937:       WHERE (f GLOB '?klmn*' AND f GLOB 'jklm*')
20938:          OR (g='rqponml' AND f GLOB 'klmno*')
20939:          OR f='lmnopqrst'
20940:          OR (g='nmlkjih' AND f GLOB 'fghij*')
20941:   }
20942: } {9 11 35 36 37 57 61 63 87 89 scan 0 sort 0}
20943: do_test where7-2.902.2 {
20944:   count_steps_sort {
20945:      SELECT a FROM t3
20946:       WHERE (f GLOB '?klmn*' AND f GLOB 'jklm*')
20947:          OR (g='rqponml' AND f GLOB 'klmno*')
20948:          OR f='lmnopqrst'
20949:          OR (g='nmlkjih' AND f GLOB 'fghij*')
20950:   }
20951: } {9 11 35 36 37 57 61 63 87 89 scan 0 sort 0}
20952: do_test where7-2.903.1 {
20953:   count_steps_sort {
20954:      SELECT a FROM t2
20955:       WHERE ((a BETWEEN 69 AND 71) AND a!=70)
20956:          OR ((a BETWEEN 91 AND 93) AND a!=92)
20957:          OR b=652
20958:   }
20959: } {69 71 91 93 scan 0 sort 0}
20960: do_test where7-2.903.2 {
20961:   count_steps_sort {
20962:      SELECT a FROM t3
20963:       WHERE ((a BETWEEN 69 AND 71) AND a!=70)
20964:          OR ((a BETWEEN 91 AND 93) AND a!=92)
20965:          OR b=652
20966:   }
20967: } {69 71 91 93 scan 0 sort 0}
20968: do_test where7-2.904.1 {
20969:   count_steps_sort {
20970:      SELECT a FROM t2
20971:       WHERE b=1067
20972:          OR ((a BETWEEN 53 AND 55) AND a!=54)
20973:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
20974:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
20975:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
20976:          OR b=520
20977:          OR b=399
20978:          OR b=209
20979:          OR a=68
20980:          OR (g='fedcbaz' AND f GLOB 'qrstu*')
20981:   }
20982: } {18 19 53 54 55 68 73 94 97 scan 0 sort 0}
20983: do_test where7-2.904.2 {
20984:   count_steps_sort {
20985:      SELECT a FROM t3
20986:       WHERE b=1067
20987:          OR ((a BETWEEN 53 AND 55) AND a!=54)
20988:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
20989:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
20990:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
20991:          OR b=520
20992:          OR b=399
20993:          OR b=209
20994:          OR a=68
20995:          OR (g='fedcbaz' AND f GLOB 'qrstu*')
20996:   }
20997: } {18 19 53 54 55 68 73 94 97 scan 0 sort 0}
20998: do_test where7-2.905.1 {
20999:   count_steps_sort {
21000:      SELECT a FROM t2
21001:       WHERE (d>=79.0 AND d<80.0 AND d NOT NULL)
21002:          OR a=57
21003:          OR b=55
21004:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
21005:          OR ((a BETWEEN 20 AND 22) AND a!=21)
21006:          OR (g='rqponml' AND f GLOB 'lmnop*')
21007:          OR ((a BETWEEN 0 AND 2) AND a!=1)
21008:          OR ((a BETWEEN 21 AND 23) AND a!=22)
21009:   }
21010: } {2 5 20 21 22 23 34 37 57 79 scan 0 sort 0}
21011: do_test where7-2.905.2 {
21012:   count_steps_sort {
21013:      SELECT a FROM t3
21014:       WHERE (d>=79.0 AND d<80.0 AND d NOT NULL)
21015:          OR a=57
21016:          OR b=55
21017:          OR (d>=34.0 AND d<35.0 AND d NOT NULL)
21018:          OR ((a BETWEEN 20 AND 22) AND a!=21)
21019:          OR (g='rqponml' AND f GLOB 'lmnop*')
21020:          OR ((a BETWEEN 0 AND 2) AND a!=1)
21021:          OR ((a BETWEEN 21 AND 23) AND a!=22)
21022:   }
21023: } {2 5 20 21 22 23 34 37 57 79 scan 0 sort 0}
21024: do_test where7-2.906.1 {
21025:   count_steps_sort {
21026:      SELECT a FROM t2
21027:       WHERE ((a BETWEEN 21 AND 23) AND a!=22)
21028:          OR a=2
21029:          OR b=784
21030:          OR ((a BETWEEN 21 AND 23) AND a!=22)
21031:          OR (g='ihgfedc' AND f GLOB 'defgh*')
21032:          OR b=850
21033:   }
21034: } {2 21 23 81 scan 0 sort 0}
21035: do_test where7-2.906.2 {
21036:   count_steps_sort {
21037:      SELECT a FROM t3
21038:       WHERE ((a BETWEEN 21 AND 23) AND a!=22)
21039:          OR a=2
21040:          OR b=784
21041:          OR ((a BETWEEN 21 AND 23) AND a!=22)
21042:          OR (g='ihgfedc' AND f GLOB 'defgh*')
21043:          OR b=850
21044:   }
21045: } {2 21 23 81 scan 0 sort 0}
21046: do_test where7-2.907.1 {
21047:   count_steps_sort {
21048:      SELECT a FROM t2
21049:       WHERE (d>=51.0 AND d<52.0 AND d NOT NULL)
21050:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
21051:          OR b=748
21052:          OR b=209
21053:          OR a=100
21054:   }
21055: } {19 45 51 68 100 scan 0 sort 0}
21056: do_test where7-2.907.2 {
21057:   count_steps_sort {
21058:      SELECT a FROM t3
21059:       WHERE (d>=51.0 AND d<52.0 AND d NOT NULL)
21060:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
21061:          OR b=748
21062:          OR b=209
21063:          OR a=100
21064:   }
21065: } {19 45 51 68 100 scan 0 sort 0}
21066: do_test where7-2.908.1 {
21067:   count_steps_sort {
21068:      SELECT a FROM t2
21069:       WHERE (g='jihgfed' AND f GLOB 'zabcd*')
21070:          OR a=18
21071:          OR a=30
21072:          OR ((a BETWEEN 9 AND 11) AND a!=10)
21073:          OR ((a BETWEEN 84 AND 86) AND a!=85)
21074:          OR ((a BETWEEN 8 AND 10) AND a!=9)
21075:          OR b=792
21076:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
21077:          OR ((a BETWEEN 19 AND 21) AND a!=20)
21078:          OR c=26026
21079:          OR (g='rqponml' AND f GLOB 'hijkl*')
21080:   }
21081: } {8 9 10 11 18 19 21 30 33 37 63 72 76 77 78 84 86 89 scan 0 sort 0}
21082: do_test where7-2.908.2 {
21083:   count_steps_sort {
21084:      SELECT a FROM t3
21085:       WHERE (g='jihgfed' AND f GLOB 'zabcd*')
21086:          OR a=18
21087:          OR a=30
21088:          OR ((a BETWEEN 9 AND 11) AND a!=10)
21089:          OR ((a BETWEEN 84 AND 86) AND a!=85)
21090:          OR ((a BETWEEN 8 AND 10) AND a!=9)
21091:          OR b=792
21092:          OR (f GLOB '?mnop*' AND f GLOB 'lmno*')
21093:          OR ((a BETWEEN 19 AND 21) AND a!=20)
21094:          OR c=26026
21095:          OR (g='rqponml' AND f GLOB 'hijkl*')
21096:   }
21097: } {8 9 10 11 18 19 21 30 33 37 63 72 76 77 78 84 86 89 scan 0 sort 0}
21098: do_test where7-2.909.1 {
21099:   count_steps_sort {
21100:      SELECT a FROM t2
21101:       WHERE (g='vutsrqp' AND f GLOB 'qrstu*')
21102:          OR b=968
21103:          OR ((a BETWEEN 63 AND 65) AND a!=64)
21104:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
21105:          OR (g='jihgfed' AND f GLOB 'wxyza*')
21106:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
21107:          OR a=78
21108:          OR ((a BETWEEN 90 AND 92) AND a!=91)
21109:   }
21110: } {16 22 48 63 65 72 74 78 88 90 92 100 scan 0 sort 0}
21111: do_test where7-2.909.2 {
21112:   count_steps_sort {
21113:      SELECT a FROM t3
21114:       WHERE (g='vutsrqp' AND f GLOB 'qrstu*')
21115:          OR b=968
21116:          OR ((a BETWEEN 63 AND 65) AND a!=64)
21117:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
21118:          OR (g='jihgfed' AND f GLOB 'wxyza*')
21119:          OR (d>=72.0 AND d<73.0 AND d NOT NULL)
21120:          OR a=78
21121:          OR ((a BETWEEN 90 AND 92) AND a!=91)
21122:   }
21123: } {16 22 48 63 65 72 74 78 88 90 92 100 scan 0 sort 0}
21124: do_test where7-2.910.1 {
21125:   count_steps_sort {
21126:      SELECT a FROM t2
21127:       WHERE c=10010
21128:          OR f='pqrstuvwx'
21129:   }
21130: } {15 28 29 30 41 67 93 scan 0 sort 0}
21131: do_test where7-2.910.2 {
21132:   count_steps_sort {
21133:      SELECT a FROM t3
21134:       WHERE c=10010
21135:          OR f='pqrstuvwx'
21136:   }
21137: } {15 28 29 30 41 67 93 scan 0 sort 0}
21138: do_test where7-2.911.1 {
21139:   count_steps_sort {
21140:      SELECT a FROM t2
21141:       WHERE a=86
21142:          OR a=10
21143:          OR b=528
21144:          OR b=253
21145:          OR a=80
21146:          OR a=87
21147:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
21148:   }
21149: } {10 23 37 48 80 86 87 scan 0 sort 0}
21150: do_test where7-2.911.2 {
21151:   count_steps_sort {
21152:      SELECT a FROM t3
21153:       WHERE a=86
21154:          OR a=10
21155:          OR b=528
21156:          OR b=253
21157:          OR a=80
21158:          OR a=87
21159:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
21160:   }
21161: } {10 23 37 48 80 86 87 scan 0 sort 0}
21162: do_test where7-2.912.1 {
21163:   count_steps_sort {
21164:      SELECT a FROM t2
21165:       WHERE (d>=42.0 AND d<43.0 AND d NOT NULL)
21166:          OR b=825
21167:          OR a=100
21168:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
21169:          OR a=60
21170:   }
21171: } {42 60 75 77 100 scan 0 sort 0}
21172: do_test where7-2.912.2 {
21173:   count_steps_sort {
21174:      SELECT a FROM t3
21175:       WHERE (d>=42.0 AND d<43.0 AND d NOT NULL)
21176:          OR b=825
21177:          OR a=100
21178:          OR (d>=77.0 AND d<78.0 AND d NOT NULL)
21179:          OR a=60
21180:   }
21181: } {42 60 75 77 100 scan 0 sort 0}
21182: do_test where7-2.913.1 {
21183:   count_steps_sort {
21184:      SELECT a FROM t2
21185:       WHERE (d>=94.0 AND d<95.0 AND d NOT NULL)
21186:          OR b=883
21187:          OR (d>=35.0 AND d<36.0 AND d NOT NULL)
21188:          OR (d>=3.0 AND d<4.0 AND d NOT NULL)
21189:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
21190:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
21191:          OR a=81
21192:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
21193:          OR f='mnopqrstu'
21194:   }
21195: } {3 4 12 30 35 38 45 56 64 78 81 82 90 94 scan 0 sort 0}
21196: do_test where7-2.913.2 {
21197:   count_steps_sort {
21198:      SELECT a FROM t3
21199:       WHERE (d>=94.0 AND d<95.0 AND d NOT NULL)
21200:          OR b=883
21201:          OR (d>=35.0 AND d<36.0 AND d NOT NULL)
21202:          OR (d>=3.0 AND d<4.0 AND d NOT NULL)
21203:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
21204:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
21205:          OR a=81
21206:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
21207:          OR f='mnopqrstu'
21208:   }
21209: } {3 4 12 30 35 38 45 56 64 78 81 82 90 94 scan 0 sort 0}
21210: do_test where7-2.914.1 {
21211:   count_steps_sort {
21212:      SELECT a FROM t2
21213:       WHERE b=443
21214:          OR ((a BETWEEN 14 AND 16) AND a!=15)
21215:          OR b=663
21216:          OR b=905
21217:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
21218:          OR b=883
21219:          OR c=22022
21220:          OR b=638
21221:   }
21222: } {14 16 58 64 65 66 96 scan 0 sort 0}
21223: do_test where7-2.914.2 {
21224:   count_steps_sort {
21225:      SELECT a FROM t3
21226:       WHERE b=443
21227:          OR ((a BETWEEN 14 AND 16) AND a!=15)
21228:          OR b=663
21229:          OR b=905
21230:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
21231:          OR b=883
21232:          OR c=22022
21233:          OR b=638
21234:   }
21235: } {14 16 58 64 65 66 96 scan 0 sort 0}
21236: do_test where7-2.915.1 {
21237:   count_steps_sort {
21238:      SELECT a FROM t2
21239:       WHERE ((a BETWEEN 84 AND 86) AND a!=85)
21240:          OR b=234
21241:          OR a=53
21242:          OR ((a BETWEEN 20 AND 22) AND a!=21)
21243:          OR ((a BETWEEN 27 AND 29) AND a!=28)
21244:          OR b=319
21245:          OR (g='qponmlk' AND f GLOB 'opqrs*')
21246:          OR ((a BETWEEN 14 AND 16) AND a!=15)
21247:   }
21248: } {14 16 20 22 27 29 40 53 84 86 scan 0 sort 0}
21249: do_test where7-2.915.2 {
21250:   count_steps_sort {
21251:      SELECT a FROM t3
21252:       WHERE ((a BETWEEN 84 AND 86) AND a!=85)
21253:          OR b=234
21254:          OR a=53
21255:          OR ((a BETWEEN 20 AND 22) AND a!=21)
21256:          OR ((a BETWEEN 27 AND 29) AND a!=28)
21257:          OR b=319
21258:          OR (g='qponmlk' AND f GLOB 'opqrs*')
21259:          OR ((a BETWEEN 14 AND 16) AND a!=15)
21260:   }
21261: } {14 16 20 22 27 29 40 53 84 86 scan 0 sort 0}
21262: do_test where7-2.916.1 {
21263:   count_steps_sort {
21264:      SELECT a FROM t2
21265:       WHERE b=179
21266:          OR ((a BETWEEN 95 AND 97) AND a!=96)
21267:          OR a=46
21268:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
21269:          OR ((a BETWEEN 53 AND 55) AND a!=54)
21270:          OR a=25
21271:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
21272:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
21273:          OR f='opqrstuvw'
21274:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
21275:          OR b=938
21276:   }
21277: } {5 13 14 25 40 46 53 55 66 72 92 95 97 scan 0 sort 0}
21278: do_test where7-2.916.2 {
21279:   count_steps_sort {
21280:      SELECT a FROM t3
21281:       WHERE b=179
21282:          OR ((a BETWEEN 95 AND 97) AND a!=96)
21283:          OR a=46
21284:          OR (g='kjihgfe' AND f GLOB 'uvwxy*')
21285:          OR ((a BETWEEN 53 AND 55) AND a!=54)
21286:          OR a=25
21287:          OR (d>=5.0 AND d<6.0 AND d NOT NULL)
21288:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
21289:          OR f='opqrstuvw'
21290:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
21291:          OR b=938
21292:   }
21293: } {5 13 14 25 40 46 53 55 66 72 92 95 97 scan 0 sort 0}
21294: do_test where7-2.917.1 {
21295:   count_steps_sort {
21296:      SELECT a FROM t2
21297:       WHERE (g='nmlkjih' AND f GLOB 'fghij*')
21298:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
21299:   }
21300: } {15 57 scan 0 sort 0}
21301: do_test where7-2.917.2 {
21302:   count_steps_sort {
21303:      SELECT a FROM t3
21304:       WHERE (g='nmlkjih' AND f GLOB 'fghij*')
21305:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
21306:   }
21307: } {15 57 scan 0 sort 0}
21308: do_test where7-2.918.1 {
21309:   count_steps_sort {
21310:      SELECT a FROM t2
21311:       WHERE b=748
21312:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
21313:          OR a=32
21314:          OR b=110
21315:          OR b=297
21316:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
21317:          OR ((a BETWEEN 60 AND 62) AND a!=61)
21318:          OR f='ghijklmno'
21319:          OR b=473
21320:          OR b=135
21321:   }
21322: } {6 10 13 22 27 32 43 58 60 62 68 84 scan 0 sort 0}
21323: do_test where7-2.918.2 {
21324:   count_steps_sort {
21325:      SELECT a FROM t3
21326:       WHERE b=748
21327:          OR (g='utsrqpo' AND f GLOB 'wxyza*')
21328:          OR a=32
21329:          OR b=110
21330:          OR b=297
21331:          OR (d>=13.0 AND d<14.0 AND d NOT NULL)
21332:          OR ((a BETWEEN 60 AND 62) AND a!=61)
21333:          OR f='ghijklmno'
21334:          OR b=473
21335:          OR b=135
21336:   }
21337: } {6 10 13 22 27 32 43 58 60 62 68 84 scan 0 sort 0}
21338: do_test where7-2.919.1 {
21339:   count_steps_sort {
21340:      SELECT a FROM t2
21341:       WHERE (d>=33.0 AND d<34.0 AND d NOT NULL)
21342:          OR b=905
21343:          OR a=97
21344:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
21345:          OR c=27027
21346:          OR f='bcdefghij'
21347:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
21348:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
21349:          OR ((a BETWEEN 38 AND 40) AND a!=39)
21350:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
21351:   }
21352: } {1 4 25 27 30 33 38 40 53 54 56 79 80 81 82 85 97 scan 0 sort 0}
21353: do_test where7-2.919.2 {
21354:   count_steps_sort {
21355:      SELECT a FROM t3
21356:       WHERE (d>=33.0 AND d<34.0 AND d NOT NULL)
21357:          OR b=905
21358:          OR a=97
21359:          OR (g='hgfedcb' AND f GLOB 'hijkl*')
21360:          OR c=27027
21361:          OR f='bcdefghij'
21362:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
21363:          OR (d>=25.0 AND d<26.0 AND d NOT NULL)
21364:          OR ((a BETWEEN 38 AND 40) AND a!=39)
21365:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
21366:   }
21367: } {1 4 25 27 30 33 38 40 53 54 56 79 80 81 82 85 97 scan 0 sort 0}
21368: do_test where7-2.920.1 {
21369:   count_steps_sort {
21370:      SELECT a FROM t2
21371:       WHERE ((a BETWEEN 64 AND 66) AND a!=65)
21372:          OR ((a BETWEEN 90 AND 92) AND a!=91)
21373:   }
21374: } {64 66 90 92 scan 0 sort 0}
21375: do_test where7-2.920.2 {
21376:   count_steps_sort {
21377:      SELECT a FROM t3
21378:       WHERE ((a BETWEEN 64 AND 66) AND a!=65)
21379:          OR ((a BETWEEN 90 AND 92) AND a!=91)
21380:   }
21381: } {64 66 90 92 scan 0 sort 0}
21382: do_test where7-2.921.1 {
21383:   count_steps_sort {
21384:      SELECT a FROM t2
21385:       WHERE b=594
21386:          OR b=80
21387:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
21388:          OR (g='qponmlk' AND f GLOB 'mnopq*')
21389:          OR b=421
21390:          OR b=418
21391:          OR b=828
21392:          OR a=88
21393:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
21394:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
21395:   }
21396: } {23 27 38 54 60 88 scan 0 sort 0}
21397: do_test where7-2.921.2 {
21398:   count_steps_sort {
21399:      SELECT a FROM t3
21400:       WHERE b=594
21401:          OR b=80
21402:          OR (g='tsrqpon' AND f GLOB 'bcdef*')
21403:          OR (g='qponmlk' AND f GLOB 'mnopq*')
21404:          OR b=421
21405:          OR b=418
21406:          OR b=828
21407:          OR a=88
21408:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
21409:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
21410:   }
21411: } {23 27 38 54 60 88 scan 0 sort 0}
21412: do_test where7-2.922.1 {
21413:   count_steps_sort {
21414:      SELECT a FROM t2
21415:       WHERE (d>=17.0 AND d<18.0 AND d NOT NULL)
21416:          OR (g='jihgfed' AND f GLOB 'xyzab*')
21417:          OR b=366
21418:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
21419:          OR c=16016
21420:          OR (g='edcbazy' AND f GLOB 'wxyza*')
21421:          OR c=9009
21422:   }
21423: } {17 25 26 27 28 46 47 48 75 100 scan 0 sort 0}
21424: do_test where7-2.922.2 {
21425:   count_steps_sort {
21426:      SELECT a FROM t3
21427:       WHERE (d>=17.0 AND d<18.0 AND d NOT NULL)
21428:          OR (g='jihgfed' AND f GLOB 'xyzab*')
21429:          OR b=366
21430:          OR (d>=28.0 AND d<29.0 AND d NOT NULL)
21431:          OR c=16016
21432:          OR (g='edcbazy' AND f GLOB 'wxyza*')
21433:          OR c=9009
21434:   }
21435: } {17 25 26 27 28 46 47 48 75 100 scan 0 sort 0}
21436: do_test where7-2.923.1 {
21437:   count_steps_sort {
21438:      SELECT a FROM t2
21439:       WHERE b=33
21440:          OR f='qrstuvwxy'
21441:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
21442:          OR b=858
21443:   }
21444: } {3 16 20 42 68 78 94 scan 0 sort 0}
21445: do_test where7-2.923.2 {
21446:   count_steps_sort {
21447:      SELECT a FROM t3
21448:       WHERE b=33
21449:          OR f='qrstuvwxy'
21450:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
21451:          OR b=858
21452:   }
21453: } {3 16 20 42 68 78 94 scan 0 sort 0}
21454: do_test where7-2.924.1 {
21455:   count_steps_sort {
21456:      SELECT a FROM t2
21457:       WHERE b=861
21458:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
21459:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
21460:          OR b=682
21461:          OR ((a BETWEEN 93 AND 95) AND a!=94)
21462:          OR b=286
21463:   }
21464: } {22 26 29 48 62 74 93 95 100 scan 0 sort 0}
21465: do_test where7-2.924.2 {
21466:   count_steps_sort {
21467:      SELECT a FROM t3
21468:       WHERE b=861
21469:          OR (f GLOB '?xyza*' AND f GLOB 'wxyz*')
21470:          OR (d>=29.0 AND d<30.0 AND d NOT NULL)
21471:          OR b=682
21472:          OR ((a BETWEEN 93 AND 95) AND a!=94)
21473:          OR b=286
21474:   }
21475: } {22 26 29 48 62 74 93 95 100 scan 0 sort 0}
21476: do_test where7-2.925.1 {
21477:   count_steps_sort {
21478:      SELECT a FROM t2
21479:       WHERE b=740
21480:          OR ((a BETWEEN 27 AND 29) AND a!=28)
21481:          OR a=88
21482:   }
21483: } {27 29 88 scan 0 sort 0}
21484: do_test where7-2.925.2 {
21485:   count_steps_sort {
21486:      SELECT a FROM t3
21487:       WHERE b=740
21488:          OR ((a BETWEEN 27 AND 29) AND a!=28)
21489:          OR a=88
21490:   }
21491: } {27 29 88 scan 0 sort 0}
21492: do_test where7-2.926.1 {
21493:   count_steps_sort {
21494:      SELECT a FROM t2
21495:       WHERE f='abcdefghi'
21496:          OR c=9009
21497:          OR b=663
21498:          OR (g='wvutsrq' AND f GLOB 'klmno*')
21499:          OR b=91
21500:   }
21501: } {10 25 26 27 52 78 scan 0 sort 0}
21502: do_test where7-2.926.2 {
21503:   count_steps_sort {
21504:      SELECT a FROM t3
21505:       WHERE f='abcdefghi'
21506:          OR c=9009
21507:          OR b=663
21508:          OR (g='wvutsrq' AND f GLOB 'klmno*')
21509:          OR b=91
21510:   }
21511: } {10 25 26 27 52 78 scan 0 sort 0}
21512: do_test where7-2.927.1 {
21513:   count_steps_sort {
21514:      SELECT a FROM t2
21515:       WHERE (g='kjihgfe' AND f GLOB 'qrstu*')
21516:          OR ((a BETWEEN 29 AND 31) AND a!=30)
21517:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
21518:          OR b=1015
21519:          OR (g='qponmlk' AND f GLOB 'qrstu*')
21520:          OR b=916
21521:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
21522:          OR b=69
21523:          OR (g='hgfedcb' AND f GLOB 'fghij*')
21524:   }
21525: } {13 29 31 39 42 65 68 83 91 scan 0 sort 0}
21526: do_test where7-2.927.2 {
21527:   count_steps_sort {
21528:      SELECT a FROM t3
21529:       WHERE (g='kjihgfe' AND f GLOB 'qrstu*')
21530:          OR ((a BETWEEN 29 AND 31) AND a!=30)
21531:          OR (f GLOB '?opqr*' AND f GLOB 'nopq*')
21532:          OR b=1015
21533:          OR (g='qponmlk' AND f GLOB 'qrstu*')
21534:          OR b=916
21535:          OR (d>=31.0 AND d<32.0 AND d NOT NULL)
21536:          OR b=69
21537:          OR (g='hgfedcb' AND f GLOB 'fghij*')
21538:   }
21539: } {13 29 31 39 42 65 68 83 91 scan 0 sort 0}
21540: do_test where7-2.928.1 {
21541:   count_steps_sort {
21542:      SELECT a FROM t2
21543:       WHERE a=88
21544:          OR a=1
21545:          OR f='uvwxyzabc'
21546:          OR b=498
21547:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
21548:          OR a=63
21549:          OR f='mnopqrstu'
21550:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
21551:          OR b=495
21552:          OR a=35
21553:          OR a=22
21554:   }
21555: } {1 12 20 22 35 38 45 46 60 63 64 72 88 90 98 scan 0 sort 0}
21556: do_test where7-2.928.2 {
21557:   count_steps_sort {
21558:      SELECT a FROM t3
21559:       WHERE a=88
21560:          OR a=1
21561:          OR f='uvwxyzabc'
21562:          OR b=498
21563:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
21564:          OR a=63
21565:          OR f='mnopqrstu'
21566:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
21567:          OR b=495
21568:          OR a=35
21569:          OR a=22
21570:   }
21571: } {1 12 20 22 35 38 45 46 60 63 64 72 88 90 98 scan 0 sort 0}
21572: do_test where7-2.929.1 {
21573:   count_steps_sort {
21574:      SELECT a FROM t2
21575:       WHERE b=869
21576:          OR (g='rqponml' AND f GLOB 'jklmn*')
21577:          OR b=289
21578:          OR a=62
21579:          OR ((a BETWEEN 9 AND 11) AND a!=10)
21580:   }
21581: } {9 11 35 62 79 scan 0 sort 0}
21582: do_test where7-2.929.2 {
21583:   count_steps_sort {
21584:      SELECT a FROM t3
21585:       WHERE b=869
21586:          OR (g='rqponml' AND f GLOB 'jklmn*')
21587:          OR b=289
21588:          OR a=62
21589:          OR ((a BETWEEN 9 AND 11) AND a!=10)
21590:   }
21591: } {9 11 35 62 79 scan 0 sort 0}
21592: do_test where7-2.930.1 {
21593:   count_steps_sort {
21594:      SELECT a FROM t2
21595:       WHERE ((a BETWEEN 22 AND 24) AND a!=23)
21596:          OR b=542
21597:          OR ((a BETWEEN 19 AND 21) AND a!=20)
21598:          OR a=7
21599:          OR f='klmnopqrs'
21600:   }
21601: } {7 10 19 21 22 24 36 62 88 scan 0 sort 0}
21602: do_test where7-2.930.2 {
21603:   count_steps_sort {
21604:      SELECT a FROM t3
21605:       WHERE ((a BETWEEN 22 AND 24) AND a!=23)
21606:          OR b=542
21607:          OR ((a BETWEEN 19 AND 21) AND a!=20)
21608:          OR a=7
21609:          OR f='klmnopqrs'
21610:   }
21611: } {7 10 19 21 22 24 36 62 88 scan 0 sort 0}
21612: do_test where7-2.931.1 {
21613:   count_steps_sort {
21614:      SELECT a FROM t2
21615:       WHERE ((a BETWEEN 57 AND 59) AND a!=58)
21616:          OR b=1078
21617:          OR ((a BETWEEN 21 AND 23) AND a!=22)
21618:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
21619:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
21620:          OR b=429
21621:   }
21622: } {20 21 23 39 57 59 60 98 scan 0 sort 0}
21623: do_test where7-2.931.2 {
21624:   count_steps_sort {
21625:      SELECT a FROM t3
21626:       WHERE ((a BETWEEN 57 AND 59) AND a!=58)
21627:          OR b=1078
21628:          OR ((a BETWEEN 21 AND 23) AND a!=22)
21629:          OR (g='mlkjihg' AND f GLOB 'ijklm*')
21630:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
21631:          OR b=429
21632:   }
21633: } {20 21 23 39 57 59 60 98 scan 0 sort 0}
21634: do_test where7-2.932.1 {
21635:   count_steps_sort {
21636:      SELECT a FROM t2
21637:       WHERE (d>=82.0 AND d<83.0 AND d NOT NULL)
21638:          OR b=264
21639:          OR ((a BETWEEN 85 AND 87) AND a!=86)
21640:          OR b=1048
21641:          OR a=15
21642:   }
21643: } {15 24 82 85 87 scan 0 sort 0}
21644: do_test where7-2.932.2 {
21645:   count_steps_sort {
21646:      SELECT a FROM t3
21647:       WHERE (d>=82.0 AND d<83.0 AND d NOT NULL)
21648:          OR b=264
21649:          OR ((a BETWEEN 85 AND 87) AND a!=86)
21650:          OR b=1048
21651:          OR a=15
21652:   }
21653: } {15 24 82 85 87 scan 0 sort 0}
21654: do_test where7-2.933.1 {
21655:   count_steps_sort {
21656:      SELECT a FROM t2
21657:       WHERE a=93
21658:          OR f='ijklmnopq'
21659:          OR f='mnopqrstu'
21660:          OR ((a BETWEEN 67 AND 69) AND a!=68)
21661:   }
21662: } {8 12 34 38 60 64 67 69 86 90 93 scan 0 sort 0}
21663: do_test where7-2.933.2 {
21664:   count_steps_sort {
21665:      SELECT a FROM t3
21666:       WHERE a=93
21667:          OR f='ijklmnopq'
21668:          OR f='mnopqrstu'
21669:          OR ((a BETWEEN 67 AND 69) AND a!=68)
21670:   }
21671: } {8 12 34 38 60 64 67 69 86 90 93 scan 0 sort 0}
21672: do_test where7-2.934.1 {
21673:   count_steps_sort {
21674:      SELECT a FROM t2
21675:       WHERE (d>=56.0 AND d<57.0 AND d NOT NULL)
21676:          OR b=858
21677:          OR a=58
21678:          OR (g='onmlkji' AND f GLOB 'xyzab*')
21679:          OR c=21021
21680:          OR ((a BETWEEN 45 AND 47) AND a!=46)
21681:          OR b=616
21682:          OR b=784
21683:          OR b=55
21684:   }
21685: } {5 45 47 49 56 58 61 62 63 78 scan 0 sort 0}
21686: do_test where7-2.934.2 {
21687:   count_steps_sort {
21688:      SELECT a FROM t3
21689:       WHERE (d>=56.0 AND d<57.0 AND d NOT NULL)
21690:          OR b=858
21691:          OR a=58
21692:          OR (g='onmlkji' AND f GLOB 'xyzab*')
21693:          OR c=21021
21694:          OR ((a BETWEEN 45 AND 47) AND a!=46)
21695:          OR b=616
21696:          OR b=784
21697:          OR b=55
21698:   }
21699: } {5 45 47 49 56 58 61 62 63 78 scan 0 sort 0}
21700: do_test where7-2.935.1 {
21701:   count_steps_sort {
21702:      SELECT a FROM t2
21703:       WHERE b=682
21704:          OR b=99
21705:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
21706:          OR b=531
21707:   }
21708: } {2 9 28 54 62 80 scan 0 sort 0}
21709: do_test where7-2.935.2 {
21710:   count_steps_sort {
21711:      SELECT a FROM t3
21712:       WHERE b=682
21713:          OR b=99
21714:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
21715:          OR b=531
21716:   }
21717: } {2 9 28 54 62 80 scan 0 sort 0}
21718: do_test where7-2.936.1 {
21719:   count_steps_sort {
21720:      SELECT a FROM t2
21721:       WHERE ((a BETWEEN 56 AND 58) AND a!=57)
21722:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
21723:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
21724:          OR b=726
21725:          OR a=79
21726:          OR a=47
21727:          OR b=212
21728:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
21729:          OR c=8008
21730:   }
21731: } {8 22 23 24 26 34 47 52 56 58 60 66 70 78 79 86 scan 0 sort 0}
21732: do_test where7-2.936.2 {
21733:   count_steps_sort {
21734:      SELECT a FROM t3
21735:       WHERE ((a BETWEEN 56 AND 58) AND a!=57)
21736:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
21737:          OR (f GLOB '?jklm*' AND f GLOB 'ijkl*')
21738:          OR b=726
21739:          OR a=79
21740:          OR a=47
21741:          OR b=212
21742:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
21743:          OR c=8008
21744:   }
21745: } {8 22 23 24 26 34 47 52 56 58 60 66 70 78 79 86 scan 0 sort 0}
21746: do_test where7-2.937.1 {
21747:   count_steps_sort {
21748:      SELECT a FROM t2
21749:       WHERE f='uvwxyzabc'
21750:          OR ((a BETWEEN 60 AND 62) AND a!=61)
21751:          OR a=5
21752:          OR b=33
21753:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
21754:          OR a=59
21755:          OR b=44
21756:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
21757:          OR (d>=59.0 AND d<60.0 AND d NOT NULL)
21758:   }
21759: } {3 4 5 14 20 23 46 49 59 60 62 72 75 98 scan 0 sort 0}
21760: do_test where7-2.937.2 {
21761:   count_steps_sort {
21762:      SELECT a FROM t3
21763:       WHERE f='uvwxyzabc'
21764:          OR ((a BETWEEN 60 AND 62) AND a!=61)
21765:          OR a=5
21766:          OR b=33
21767:          OR (f GLOB '?yzab*' AND f GLOB 'xyza*')
21768:          OR a=59
21769:          OR b=44
21770:          OR (d>=14.0 AND d<15.0 AND d NOT NULL)
21771:          OR (d>=59.0 AND d<60.0 AND d NOT NULL)
21772:   }
21773: } {3 4 5 14 20 23 46 49 59 60 62 72 75 98 scan 0 sort 0}
21774: do_test where7-2.938.1 {
21775:   count_steps_sort {
21776:      SELECT a FROM t2
21777:       WHERE b=564
21778:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
21779:          OR b=451
21780:          OR b=330
21781:          OR a=47
21782:          OR ((a BETWEEN 17 AND 19) AND a!=18)
21783:   }
21784: } {17 19 30 41 47 93 scan 0 sort 0}
21785: do_test where7-2.938.2 {
21786:   count_steps_sort {
21787:      SELECT a FROM t3
21788:       WHERE b=564
21789:          OR (d>=93.0 AND d<94.0 AND d NOT NULL)
21790:          OR b=451
21791:          OR b=330
21792:          OR a=47
21793:          OR ((a BETWEEN 17 AND 19) AND a!=18)
21794:   }
21795: } {17 19 30 41 47 93 scan 0 sort 0}
21796: do_test where7-2.939.1 {
21797:   count_steps_sort {
21798:      SELECT a FROM t2
21799:       WHERE a=40
21800:          OR b=333
21801:   }
21802: } {40 scan 0 sort 0}
21803: do_test where7-2.939.2 {
21804:   count_steps_sort {
21805:      SELECT a FROM t3
21806:       WHERE a=40
21807:          OR b=333
21808:   }
21809: } {40 scan 0 sort 0}
21810: do_test where7-2.940.1 {
21811:   count_steps_sort {
21812:      SELECT a FROM t2
21813:       WHERE b=924
21814:          OR ((a BETWEEN 6 AND 8) AND a!=7)
21815:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
21816:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
21817:          OR a=100
21818:          OR c=15015
21819:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
21820:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
21821:   }
21822: } {2 6 8 36 40 43 44 45 82 84 100 scan 0 sort 0}
21823: do_test where7-2.940.2 {
21824:   count_steps_sort {
21825:      SELECT a FROM t3
21826:       WHERE b=924
21827:          OR ((a BETWEEN 6 AND 8) AND a!=7)
21828:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
21829:          OR (d>=40.0 AND d<41.0 AND d NOT NULL)
21830:          OR a=100
21831:          OR c=15015
21832:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
21833:          OR (d>=2.0 AND d<3.0 AND d NOT NULL)
21834:   }
21835: } {2 6 8 36 40 43 44 45 82 84 100 scan 0 sort 0}
21836: do_test where7-2.941.1 {
21837:   count_steps_sort {
21838:      SELECT a FROM t2
21839:       WHERE (d>=63.0 AND d<64.0 AND d NOT NULL)
21840:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
21841:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
21842:   }
21843: } {36 44 63 scan 0 sort 0}
21844: do_test where7-2.941.2 {
21845:   count_steps_sort {
21846:      SELECT a FROM t3
21847:       WHERE (d>=63.0 AND d<64.0 AND d NOT NULL)
21848:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
21849:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
21850:   }
21851: } {36 44 63 scan 0 sort 0}
21852: do_test where7-2.942.1 {
21853:   count_steps_sort {
21854:      SELECT a FROM t2
21855:       WHERE b=58
21856:          OR ((a BETWEEN 7 AND 9) AND a!=8)
21857:          OR ((a BETWEEN 63 AND 65) AND a!=64)
21858:          OR a=31
21859:          OR f='tuvwxyzab'
21860:          OR b=341
21861:          OR b=47
21862:          OR ((a BETWEEN 95 AND 97) AND a!=96)
21863:          OR a=49
21864:          OR b=223
21865:          OR f='qrstuvwxy'
21866:   }
21867: } {7 9 16 19 31 42 45 49 63 65 68 71 94 95 97 scan 0 sort 0}
21868: do_test where7-2.942.2 {
21869:   count_steps_sort {
21870:      SELECT a FROM t3
21871:       WHERE b=58
21872:          OR ((a BETWEEN 7 AND 9) AND a!=8)
21873:          OR ((a BETWEEN 63 AND 65) AND a!=64)
21874:          OR a=31
21875:          OR f='tuvwxyzab'
21876:          OR b=341
21877:          OR b=47
21878:          OR ((a BETWEEN 95 AND 97) AND a!=96)
21879:          OR a=49
21880:          OR b=223
21881:          OR f='qrstuvwxy'
21882:   }
21883: } {7 9 16 19 31 42 45 49 63 65 68 71 94 95 97 scan 0 sort 0}
21884: do_test where7-2.943.1 {
21885:   count_steps_sort {
21886:      SELECT a FROM t2
21887:       WHERE a=96
21888:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
21889:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
21890:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
21891:          OR ((a BETWEEN 37 AND 39) AND a!=38)
21892:          OR a=85
21893:          OR ((a BETWEEN 10 AND 12) AND a!=11)
21894:          OR c=11011
21895:          OR b=641
21896:          OR f='vwxyzabcd'
21897:          OR b=286
21898:   }
21899: } {4 10 12 21 23 26 30 31 32 33 37 39 47 56 73 82 85 96 99 scan 0 sort 0}
21900: do_test where7-2.943.2 {
21901:   count_steps_sort {
21902:      SELECT a FROM t3
21903:       WHERE a=96
21904:          OR (d>=23.0 AND d<24.0 AND d NOT NULL)
21905:          OR (g='ponmlkj' AND f GLOB 'vwxyz*')
21906:          OR (f GLOB '?fghi*' AND f GLOB 'efgh*')
21907:          OR ((a BETWEEN 37 AND 39) AND a!=38)
21908:          OR a=85
21909:          OR ((a BETWEEN 10 AND 12) AND a!=11)
21910:          OR c=11011
21911:          OR b=641
21912:          OR f='vwxyzabcd'
21913:          OR b=286
21914:   }
21915: } {4 10 12 21 23 26 30 31 32 33 37 39 47 56 73 82 85 96 99 scan 0 sort 0}
21916: do_test where7-2.944.1 {
21917:   count_steps_sort {
21918:      SELECT a FROM t2
21919:       WHERE ((a BETWEEN 3 AND 5) AND a!=4)
21920:          OR b=1012
21921:          OR a=7
21922:          OR b=773
21923:          OR a=1
21924:          OR b=726
21925:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
21926:          OR ((a BETWEEN 87 AND 89) AND a!=88)
21927:          OR b=110
21928:   }
21929: } {1 3 5 7 10 66 87 89 92 99 scan 0 sort 0}
21930: do_test where7-2.944.2 {
21931:   count_steps_sort {
21932:      SELECT a FROM t3
21933:       WHERE ((a BETWEEN 3 AND 5) AND a!=4)
21934:          OR b=1012
21935:          OR a=7
21936:          OR b=773
21937:          OR a=1
21938:          OR b=726
21939:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
21940:          OR ((a BETWEEN 87 AND 89) AND a!=88)
21941:          OR b=110
21942:   }
21943: } {1 3 5 7 10 66 87 89 92 99 scan 0 sort 0}
21944: do_test where7-2.945.1 {
21945:   count_steps_sort {
21946:      SELECT a FROM t2
21947:       WHERE (g='xwvutsr' AND f GLOB 'hijkl*')
21948:          OR a=60
21949:          OR a=4
21950:          OR b=520
21951:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
21952:          OR a=44
21953:          OR a=36
21954:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
21955:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
21956:          OR b=715
21957:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
21958:   }
21959: } {4 7 16 36 44 60 65 76 79 scan 0 sort 0}
21960: do_test where7-2.945.2 {
21961:   count_steps_sort {
21962:      SELECT a FROM t3
21963:       WHERE (g='xwvutsr' AND f GLOB 'hijkl*')
21964:          OR a=60
21965:          OR a=4
21966:          OR b=520
21967:          OR (g='ihgfedc' AND f GLOB 'bcdef*')
21968:          OR a=44
21969:          OR a=36
21970:          OR (d>=76.0 AND d<77.0 AND d NOT NULL)
21971:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
21972:          OR b=715
21973:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
21974:   }
21975: } {4 7 16 36 44 60 65 76 79 scan 0 sort 0}
21976: do_test where7-2.946.1 {
21977:   count_steps_sort {
21978:      SELECT a FROM t2
21979:       WHERE ((a BETWEEN 3 AND 5) AND a!=4)
21980:          OR ((a BETWEEN 56 AND 58) AND a!=57)
21981:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
21982:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
21983:          OR (g='jihgfed' AND f GLOB 'yzabc*')
21984:          OR a=24
21985:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
21986:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
21987:   }
21988: } {3 5 15 24 26 52 55 56 58 76 78 99 scan 0 sort 0}
21989: do_test where7-2.946.2 {
21990:   count_steps_sort {
21991:      SELECT a FROM t3
21992:       WHERE ((a BETWEEN 3 AND 5) AND a!=4)
21993:          OR ((a BETWEEN 56 AND 58) AND a!=57)
21994:          OR (d>=15.0 AND d<16.0 AND d NOT NULL)
21995:          OR (d>=55.0 AND d<56.0 AND d NOT NULL)
21996:          OR (g='jihgfed' AND f GLOB 'yzabc*')
21997:          OR a=24
21998:          OR (d>=99.0 AND d<100.0 AND d NOT NULL)
21999:          OR (f GLOB '?bcde*' AND f GLOB 'abcd*')
22000:   }
22001: } {3 5 15 24 26 52 55 56 58 76 78 99 scan 0 sort 0}
22002: do_test where7-2.947.1 {
22003:   count_steps_sort {
22004:      SELECT a FROM t2
22005:       WHERE (g='utsrqpo' AND f GLOB 'vwxyz*')
22006:          OR b=132
22007:          OR f='ghijklmno'
22008:          OR b=740
22009:          OR (g='qponmlk' AND f GLOB 'mnopq*')
22010:          OR (g='tsrqpon' AND f GLOB 'abcde*')
22011:          OR b=1059
22012:   }
22013: } {6 12 21 26 32 38 58 84 scan 0 sort 0}
22014: do_test where7-2.947.2 {
22015:   count_steps_sort {
22016:      SELECT a FROM t3
22017:       WHERE (g='utsrqpo' AND f GLOB 'vwxyz*')
22018:          OR b=132
22019:          OR f='ghijklmno'
22020:          OR b=740
22021:          OR (g='qponmlk' AND f GLOB 'mnopq*')
22022:          OR (g='tsrqpon' AND f GLOB 'abcde*')
22023:          OR b=1059
22024:   }
22025: } {6 12 21 26 32 38 58 84 scan 0 sort 0}
22026: do_test where7-2.948.1 {
22027:   count_steps_sort {
22028:      SELECT a FROM t2
22029:       WHERE a=28
22030:          OR b=927
22031:          OR b=520
22032:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
22033:          OR b=638
22034:          OR f='vwxyzabcd'
22035:   }
22036: } {21 28 47 53 58 73 99 scan 0 sort 0}
22037: do_test where7-2.948.2 {
22038:   count_steps_sort {
22039:      SELECT a FROM t3
22040:       WHERE a=28
22041:          OR b=927
22042:          OR b=520
22043:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
22044:          OR b=638
22045:          OR f='vwxyzabcd'
22046:   }
22047: } {21 28 47 53 58 73 99 scan 0 sort 0}
22048: do_test where7-2.949.1 {
22049:   count_steps_sort {
22050:      SELECT a FROM t2
22051:       WHERE (g='nmlkjih' AND f GLOB 'cdefg*')
22052:          OR b=1026
22053:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
22054:          OR (g='wvutsrq' AND f GLOB 'lmnop*')
22055:          OR b=355
22056:          OR b=641
22057:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
22058:   }
22059: } {1 11 53 54 scan 0 sort 0}
22060: do_test where7-2.949.2 {
22061:   count_steps_sort {
22062:      SELECT a FROM t3
22063:       WHERE (g='nmlkjih' AND f GLOB 'cdefg*')
22064:          OR b=1026
22065:          OR (d>=1.0 AND d<2.0 AND d NOT NULL)
22066:          OR (g='wvutsrq' AND f GLOB 'lmnop*')
22067:          OR b=355
22068:          OR b=641
22069:          OR (d>=53.0 AND d<54.0 AND d NOT NULL)
22070:   }
22071: } {1 11 53 54 scan 0 sort 0}
22072: do_test where7-2.950.1 {
22073:   count_steps_sort {
22074:      SELECT a FROM t2
22075:       WHERE ((a BETWEEN 46 AND 48) AND a!=47)
22076:          OR ((a BETWEEN 60 AND 62) AND a!=61)
22077:          OR b=641
22078:          OR a=3
22079:          OR a=35
22080:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
22081:          OR f='opqrstuvw'
22082:          OR a=41
22083:          OR a=83
22084:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
22085:          OR b=751
22086:   }
22087: } {3 14 35 40 41 46 48 54 60 62 66 81 83 92 scan 0 sort 0}
22088: do_test where7-2.950.2 {
22089:   count_steps_sort {
22090:      SELECT a FROM t3
22091:       WHERE ((a BETWEEN 46 AND 48) AND a!=47)
22092:          OR ((a BETWEEN 60 AND 62) AND a!=61)
22093:          OR b=641
22094:          OR a=3
22095:          OR a=35
22096:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
22097:          OR f='opqrstuvw'
22098:          OR a=41
22099:          OR a=83
22100:          OR (g='nmlkjih' AND f GLOB 'cdefg*')
22101:          OR b=751
22102:   }
22103: } {3 14 35 40 41 46 48 54 60 62 66 81 83 92 scan 0 sort 0}
22104: do_test where7-2.951.1 {
22105:   count_steps_sort {
22106:      SELECT a FROM t2
22107:       WHERE ((a BETWEEN 3 AND 5) AND a!=4)
22108:          OR ((a BETWEEN 60 AND 62) AND a!=61)
22109:          OR c=15015
22110:          OR b=146
22111:          OR b=1092
22112:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
22113:   }
22114: } {3 5 43 44 45 60 62 scan 0 sort 0}
22115: do_test where7-2.951.2 {
22116:   count_steps_sort {
22117:      SELECT a FROM t3
22118:       WHERE ((a BETWEEN 3 AND 5) AND a!=4)
22119:          OR ((a BETWEEN 60 AND 62) AND a!=61)
22120:          OR c=15015
22121:          OR b=146
22122:          OR b=1092
22123:          OR (d>=60.0 AND d<61.0 AND d NOT NULL)
22124:   }
22125: } {3 5 43 44 45 60 62 scan 0 sort 0}
22126: do_test where7-2.952.1 {
22127:   count_steps_sort {
22128:      SELECT a FROM t2
22129:       WHERE (g='qponmlk' AND f GLOB 'qrstu*')
22130:          OR f='bcdefghij'
22131:          OR f='hijklmnop'
22132:          OR a=65
22133:          OR f='ijklmnopq'
22134:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
22135:          OR g IS NULL
22136:          OR a=26
22137:          OR ((a BETWEEN 38 AND 40) AND a!=39)
22138:          OR a=9
22139:          OR (d>=32.0 AND d<33.0 AND d NOT NULL)
22140:   }
22141: } {1 7 8 9 26 27 32 33 34 38 40 42 53 59 60 65 79 85 86 scan 0 sort 0}
22142: do_test where7-2.952.2 {
22143:   count_steps_sort {
22144:      SELECT a FROM t3
22145:       WHERE (g='qponmlk' AND f GLOB 'qrstu*')
22146:          OR f='bcdefghij'
22147:          OR f='hijklmnop'
22148:          OR a=65
22149:          OR f='ijklmnopq'
22150:          OR (d>=79.0 AND d<80.0 AND d NOT NULL)
22151:          OR g IS NULL
22152:          OR a=26
22153:          OR ((a BETWEEN 38 AND 40) AND a!=39)
22154:          OR a=9
22155:          OR (d>=32.0 AND d<33.0 AND d NOT NULL)
22156:   }
22157: } {1 7 8 9 26 27 32 33 34 38 40 42 53 59 60 65 79 85 86 scan 0 sort 0}
22158: do_test where7-2.953.1 {
22159:   count_steps_sort {
22160:      SELECT a FROM t2
22161:       WHERE (g='jihgfed' AND f GLOB 'vwxyz*')
22162:          OR ((a BETWEEN 10 AND 12) AND a!=11)
22163:          OR ((a BETWEEN 79 AND 81) AND a!=80)
22164:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
22165:          OR (g='qponmlk' AND f GLOB 'pqrst*')
22166:          OR b=1100
22167:          OR c=6006
22168:          OR c=4004
22169:          OR ((a BETWEEN 24 AND 26) AND a!=25)
22170:          OR c=33033
22171:   }
22172: } {10 11 12 16 17 18 24 26 41 70 73 79 81 97 98 99 100 scan 0 sort 0}
22173: do_test where7-2.953.2 {
22174:   count_steps_sort {
22175:      SELECT a FROM t3
22176:       WHERE (g='jihgfed' AND f GLOB 'vwxyz*')
22177:          OR ((a BETWEEN 10 AND 12) AND a!=11)
22178:          OR ((a BETWEEN 79 AND 81) AND a!=80)
22179:          OR (g='kjihgfe' AND f GLOB 'stuvw*')
22180:          OR (g='qponmlk' AND f GLOB 'pqrst*')
22181:          OR b=1100
22182:          OR c=6006
22183:          OR c=4004
22184:          OR ((a BETWEEN 24 AND 26) AND a!=25)
22185:          OR c=33033
22186:   }
22187: } {10 11 12 16 17 18 24 26 41 70 73 79 81 97 98 99 100 scan 0 sort 0}
22188: do_test where7-2.954.1 {
22189:   count_steps_sort {
22190:      SELECT a FROM t2
22191:       WHERE a=17
22192:          OR ((a BETWEEN 95 AND 97) AND a!=96)
22193:   }
22194: } {17 95 97 scan 0 sort 0}
22195: do_test where7-2.954.2 {
22196:   count_steps_sort {
22197:      SELECT a FROM t3
22198:       WHERE a=17
22199:          OR ((a BETWEEN 95 AND 97) AND a!=96)
22200:   }
22201: } {17 95 97 scan 0 sort 0}
22202: do_test where7-2.955.1 {
22203:   count_steps_sort {
22204:      SELECT a FROM t2
22205:       WHERE c=3003
22206:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
22207:          OR a=93
22208:   }
22209: } {7 8 9 67 93 scan 0 sort 0}
22210: do_test where7-2.955.2 {
22211:   count_steps_sort {
22212:      SELECT a FROM t3
22213:       WHERE c=3003
22214:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
22215:          OR a=93
22216:   }
22217: } {7 8 9 67 93 scan 0 sort 0}
22218: do_test where7-2.956.1 {
22219:   count_steps_sort {
22220:      SELECT a FROM t2
22221:       WHERE (d>=42.0 AND d<43.0 AND d NOT NULL)
22222:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
22223:          OR ((a BETWEEN 21 AND 23) AND a!=22)
22224:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
22225:          OR b=737
22226:   }
22227: } {12 21 23 42 44 67 scan 0 sort 0}
22228: do_test where7-2.956.2 {
22229:   count_steps_sort {
22230:      SELECT a FROM t3
22231:       WHERE (d>=42.0 AND d<43.0 AND d NOT NULL)
22232:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
22233:          OR ((a BETWEEN 21 AND 23) AND a!=22)
22234:          OR (d>=12.0 AND d<13.0 AND d NOT NULL)
22235:          OR b=737
22236:   }
22237: } {12 21 23 42 44 67 scan 0 sort 0}
22238: do_test where7-2.957.1 {
22239:   count_steps_sort {
22240:      SELECT a FROM t2
22241:       WHERE (g='rqponml' AND f GLOB 'klmno*')
22242:          OR ((a BETWEEN 5 AND 7) AND a!=6)
22243:   }
22244: } {5 7 36 scan 0 sort 0}
22245: do_test where7-2.957.2 {
22246:   count_steps_sort {
22247:      SELECT a FROM t3
22248:       WHERE (g='rqponml' AND f GLOB 'klmno*')
22249:          OR ((a BETWEEN 5 AND 7) AND a!=6)
22250:   }
22251: } {5 7 36 scan 0 sort 0}
22252: do_test where7-2.958.1 {
22253:   count_steps_sort {
22254:      SELECT a FROM t2
22255:       WHERE (g='hgfedcb' AND f GLOB 'hijkl*')
22256:          OR c=32032
22257:          OR f='opqrstuvw'
22258:          OR ((a BETWEEN 66 AND 68) AND a!=67)
22259:          OR ((a BETWEEN 49 AND 51) AND a!=50)
22260:          OR b=993
22261:   }
22262: } {14 40 49 51 66 68 85 92 94 95 96 scan 0 sort 0}
22263: do_test where7-2.958.2 {
22264:   count_steps_sort {
22265:      SELECT a FROM t3
22266:       WHERE (g='hgfedcb' AND f GLOB 'hijkl*')
22267:          OR c=32032
22268:          OR f='opqrstuvw'
22269:          OR ((a BETWEEN 66 AND 68) AND a!=67)
22270:          OR ((a BETWEEN 49 AND 51) AND a!=50)
22271:          OR b=993
22272:   }
22273: } {14 40 49 51 66 68 85 92 94 95 96 scan 0 sort 0}
22274: do_test where7-2.959.1 {
22275:   count_steps_sort {
22276:      SELECT a FROM t2
22277:       WHERE (d>=12.0 AND d<13.0 AND d NOT NULL)
22278:          OR ((a BETWEEN 59 AND 61) AND a!=60)
22279:          OR ((a BETWEEN 86 AND 88) AND a!=87)
22280:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
22281:          OR b=245
22282:          OR b=528
22283:          OR b=366
22284:          OR a=73
22285:          OR a=49
22286:          OR b=421
22287:          OR a=58
22288:   }
22289: } {12 38 48 49 58 59 61 73 86 88 scan 0 sort 0}
22290: do_test where7-2.959.2 {
22291:   count_steps_sort {
22292:      SELECT a FROM t3
22293:       WHERE (d>=12.0 AND d<13.0 AND d NOT NULL)
22294:          OR ((a BETWEEN 59 AND 61) AND a!=60)
22295:          OR ((a BETWEEN 86 AND 88) AND a!=87)
22296:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
22297:          OR b=245
22298:          OR b=528
22299:          OR b=366
22300:          OR a=73
22301:          OR a=49
22302:          OR b=421
22303:          OR a=58
22304:   }
22305: } {12 38 48 49 58 59 61 73 86 88 scan 0 sort 0}
22306: do_test where7-2.960.1 {
22307:   count_steps_sort {
22308:      SELECT a FROM t2
22309:       WHERE (d>=100.0 AND d<101.0 AND d NOT NULL)
22310:          OR ((a BETWEEN 8 AND 10) AND a!=9)
22311:          OR ((a BETWEEN 86 AND 88) AND a!=87)
22312:          OR b=146
22313:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
22314:          OR ((a BETWEEN 73 AND 75) AND a!=74)
22315:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
22316:          OR ((a BETWEEN 60 AND 62) AND a!=61)
22317:          OR (g='ihgfedc' AND f GLOB 'efghi*')
22318:          OR b=704
22319:   }
22320: } {8 10 20 43 60 62 64 73 75 82 86 88 100 scan 0 sort 0}
22321: do_test where7-2.960.2 {
22322:   count_steps_sort {
22323:      SELECT a FROM t3
22324:       WHERE (d>=100.0 AND d<101.0 AND d NOT NULL)
22325:          OR ((a BETWEEN 8 AND 10) AND a!=9)
22326:          OR ((a BETWEEN 86 AND 88) AND a!=87)
22327:          OR b=146
22328:          OR (g='ponmlkj' AND f GLOB 'rstuv*')
22329:          OR ((a BETWEEN 73 AND 75) AND a!=74)
22330:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
22331:          OR ((a BETWEEN 60 AND 62) AND a!=61)
22332:          OR (g='ihgfedc' AND f GLOB 'efghi*')
22333:          OR b=704
22334:   }
22335: } {8 10 20 43 60 62 64 73 75 82 86 88 100 scan 0 sort 0}
22336: do_test where7-2.961.1 {
22337:   count_steps_sort {
22338:      SELECT a FROM t2
22339:       WHERE ((a BETWEEN 65 AND 67) AND a!=66)
22340:          OR b=14
22341:          OR ((a BETWEEN 3 AND 5) AND a!=4)
22342:          OR a=49
22343:          OR b=333
22344:   }
22345: } {3 5 49 65 67 scan 0 sort 0}
22346: do_test where7-2.961.2 {
22347:   count_steps_sort {
22348:      SELECT a FROM t3
22349:       WHERE ((a BETWEEN 65 AND 67) AND a!=66)
22350:          OR b=14
22351:          OR ((a BETWEEN 3 AND 5) AND a!=4)
22352:          OR a=49
22353:          OR b=333
22354:   }
22355: } {3 5 49 65 67 scan 0 sort 0}
22356: do_test where7-2.962.1 {
22357:   count_steps_sort {
22358:      SELECT a FROM t2
22359:       WHERE c=17017
22360:          OR (g='qponmlk' AND f GLOB 'mnopq*')
22361:          OR b=971
22362:          OR a=37
22363:          OR a=7
22364:          OR b=641
22365:          OR a=13
22366:          OR b=597
22367:   }
22368: } {7 13 37 38 49 50 51 scan 0 sort 0}
22369: do_test where7-2.962.2 {
22370:   count_steps_sort {
22371:      SELECT a FROM t3
22372:       WHERE c=17017
22373:          OR (g='qponmlk' AND f GLOB 'mnopq*')
22374:          OR b=971
22375:          OR a=37
22376:          OR a=7
22377:          OR b=641
22378:          OR a=13
22379:          OR b=597
22380:   }
22381: } {7 13 37 38 49 50 51 scan 0 sort 0}
22382: do_test where7-2.963.1 {
22383:   count_steps_sort {
22384:      SELECT a FROM t2
22385:       WHERE f='tuvwxyzab'
22386:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
22387:   }
22388: } {17 19 43 45 69 71 95 97 scan 0 sort 0}
22389: do_test where7-2.963.2 {
22390:   count_steps_sort {
22391:      SELECT a FROM t3
22392:       WHERE f='tuvwxyzab'
22393:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
22394:   }
22395: } {17 19 43 45 69 71 95 97 scan 0 sort 0}
22396: do_test where7-2.964.1 {
22397:   count_steps_sort {
22398:      SELECT a FROM t2
22399:       WHERE b=638
22400:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
22401:          OR (g='gfedcba' AND f GLOB 'lmnop*')
22402:          OR b=165
22403:          OR ((a BETWEEN 10 AND 12) AND a!=11)
22404:          OR f='stuvwxyza'
22405:          OR b=652
22406:          OR b=66
22407:          OR b=770
22408:          OR b=91
22409:   }
22410: } {6 10 12 15 18 44 58 70 89 96 scan 0 sort 0}
22411: do_test where7-2.964.2 {
22412:   count_steps_sort {
22413:      SELECT a FROM t3
22414:       WHERE b=638
22415:          OR (d>=44.0 AND d<45.0 AND d NOT NULL)
22416:          OR (g='gfedcba' AND f GLOB 'lmnop*')
22417:          OR b=165
22418:          OR ((a BETWEEN 10 AND 12) AND a!=11)
22419:          OR f='stuvwxyza'
22420:          OR b=652
22421:          OR b=66
22422:          OR b=770
22423:          OR b=91
22424:   }
22425: } {6 10 12 15 18 44 58 70 89 96 scan 0 sort 0}
22426: do_test where7-2.965.1 {
22427:   count_steps_sort {
22428:      SELECT a FROM t2
22429:       WHERE (d>=52.0 AND d<53.0 AND d NOT NULL)
22430:          OR f='opqrstuvw'
22431:          OR a=83
22432:          OR a=93
22433:          OR b=858
22434:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
22435:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
22436:   }
22437: } {14 18 40 52 66 73 78 83 92 93 scan 0 sort 0}
22438: do_test where7-2.965.2 {
22439:   count_steps_sort {
22440:      SELECT a FROM t3
22441:       WHERE (d>=52.0 AND d<53.0 AND d NOT NULL)
22442:          OR f='opqrstuvw'
22443:          OR a=83
22444:          OR a=93
22445:          OR b=858
22446:          OR (d>=18.0 AND d<19.0 AND d NOT NULL)
22447:          OR (g='jihgfed' AND f GLOB 'vwxyz*')
22448:   }
22449: } {14 18 40 52 66 73 78 83 92 93 scan 0 sort 0}
22450: do_test where7-2.966.1 {
22451:   count_steps_sort {
22452:      SELECT a FROM t2
22453:       WHERE c=3003
22454:          OR ((a BETWEEN 40 AND 42) AND a!=41)
22455:          OR a=38
22456:   }
22457: } {7 8 9 38 40 42 scan 0 sort 0}
22458: do_test where7-2.966.2 {
22459:   count_steps_sort {
22460:      SELECT a FROM t3
22461:       WHERE c=3003
22462:          OR ((a BETWEEN 40 AND 42) AND a!=41)
22463:          OR a=38
22464:   }
22465: } {7 8 9 38 40 42 scan 0 sort 0}
22466: do_test where7-2.967.1 {
22467:   count_steps_sort {
22468:      SELECT a FROM t2
22469:       WHERE (d>=60.0 AND d<61.0 AND d NOT NULL)
22470:          OR ((a BETWEEN 50 AND 52) AND a!=51)
22471:   }
22472: } {50 52 60 scan 0 sort 0}
22473: do_test where7-2.967.2 {
22474:   count_steps_sort {
22475:      SELECT a FROM t3
22476:       WHERE (d>=60.0 AND d<61.0 AND d NOT NULL)
22477:          OR ((a BETWEEN 50 AND 52) AND a!=51)
22478:   }
22479: } {50 52 60 scan 0 sort 0}
22480: do_test where7-2.968.1 {
22481:   count_steps_sort {
22482:      SELECT a FROM t2
22483:       WHERE (g='qponmlk' AND f GLOB 'mnopq*')
22484:          OR ((a BETWEEN 24 AND 26) AND a!=25)
22485:          OR a=5
22486:          OR b=396
22487:          OR a=13
22488:   }
22489: } {5 13 24 26 36 38 scan 0 sort 0}
22490: do_test where7-2.968.2 {
22491:   count_steps_sort {
22492:      SELECT a FROM t3
22493:       WHERE (g='qponmlk' AND f GLOB 'mnopq*')
22494:          OR ((a BETWEEN 24 AND 26) AND a!=25)
22495:          OR a=5
22496:          OR b=396
22497:          OR a=13
22498:   }
22499: } {5 13 24 26 36 38 scan 0 sort 0}
22500: do_test where7-2.969.1 {
22501:   count_steps_sort {
22502:      SELECT a FROM t2
22503:       WHERE (g='fedcbaz' AND f GLOB 'rstuv*')
22504:          OR b=748
22505:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
22506:          OR ((a BETWEEN 69 AND 71) AND a!=70)
22507:          OR b=531
22508:          OR b=1092
22509:          OR b=418
22510:   }
22511: } {38 68 69 71 95 97 scan 0 sort 0}
22512: do_test where7-2.969.2 {
22513:   count_steps_sort {
22514:      SELECT a FROM t3
22515:       WHERE (g='fedcbaz' AND f GLOB 'rstuv*')
22516:          OR b=748
22517:          OR (d>=97.0 AND d<98.0 AND d NOT NULL)
22518:          OR ((a BETWEEN 69 AND 71) AND a!=70)
22519:          OR b=531
22520:          OR b=1092
22521:          OR b=418
22522:   }
22523: } {38 68 69 71 95 97 scan 0 sort 0}
22524: do_test where7-2.970.1 {
22525:   count_steps_sort {
22526:      SELECT a FROM t2
22527:       WHERE (d>=30.0 AND d<31.0 AND d NOT NULL)
22528:          OR ((a BETWEEN 8 AND 10) AND a!=9)
22529:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
22530:          OR a=50
22531:          OR a=46
22532:          OR ((a BETWEEN 38 AND 40) AND a!=39)
22533:   }
22534: } {8 10 14 30 38 40 46 50 66 92 scan 0 sort 0}
22535: do_test where7-2.970.2 {
22536:   count_steps_sort {
22537:      SELECT a FROM t3
22538:       WHERE (d>=30.0 AND d<31.0 AND d NOT NULL)
22539:          OR ((a BETWEEN 8 AND 10) AND a!=9)
22540:          OR (f GLOB '?pqrs*' AND f GLOB 'opqr*')
22541:          OR a=50
22542:          OR a=46
22543:          OR ((a BETWEEN 38 AND 40) AND a!=39)
22544:   }
22545: } {8 10 14 30 38 40 46 50 66 92 scan 0 sort 0}
22546: do_test where7-2.971.1 {
22547:   count_steps_sort {
22548:      SELECT a FROM t2
22549:       WHERE a=24
22550:          OR ((a BETWEEN 22 AND 24) AND a!=23)
22551:          OR b=487
22552:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
22553:          OR ((a BETWEEN 13 AND 15) AND a!=14)
22554:          OR b=132
22555:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
22556:          OR b=795
22557:          OR b=737
22558:   }
22559: } {12 13 15 22 24 54 67 96 scan 0 sort 0}
22560: do_test where7-2.971.2 {
22561:   count_steps_sort {
22562:      SELECT a FROM t3
22563:       WHERE a=24
22564:          OR ((a BETWEEN 22 AND 24) AND a!=23)
22565:          OR b=487
22566:          OR (d>=96.0 AND d<97.0 AND d NOT NULL)
22567:          OR ((a BETWEEN 13 AND 15) AND a!=14)
22568:          OR b=132
22569:          OR (d>=54.0 AND d<55.0 AND d NOT NULL)
22570:          OR b=795
22571:          OR b=737
22572:   }
22573: } {12 13 15 22 24 54 67 96 scan 0 sort 0}
22574: do_test where7-2.972.1 {
22575:   count_steps_sort {
22576:      SELECT a FROM t2
22577:       WHERE (d>=88.0 AND d<89.0 AND d NOT NULL)
22578:          OR a=34
22579:          OR c=16016
22580:          OR b=1078
22581:          OR b=960
22582:          OR (g='hgfedcb' AND f GLOB 'jklmn*')
22583:   }
22584: } {34 46 47 48 87 88 98 scan 0 sort 0}
22585: do_test where7-2.972.2 {
22586:   count_steps_sort {
22587:      SELECT a FROM t3
22588:       WHERE (d>=88.0 AND d<89.0 AND d NOT NULL)
22589:          OR a=34
22590:          OR c=16016
22591:          OR b=1078
22592:          OR b=960
22593:          OR (g='hgfedcb' AND f GLOB 'jklmn*')
22594:   }
22595: } {34 46 47 48 87 88 98 scan 0 sort 0}
22596: do_test where7-2.973.1 {
22597:   count_steps_sort {
22598:      SELECT a FROM t2
22599:       WHERE b=1081
22600:          OR ((a BETWEEN 19 AND 21) AND a!=20)
22601:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
22602:          OR ((a BETWEEN 73 AND 75) AND a!=74)
22603:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
22604:          OR a=6
22605:   }
22606: } {6 19 21 38 45 73 75 scan 0 sort 0}
22607: do_test where7-2.973.2 {
22608:   count_steps_sort {
22609:      SELECT a FROM t3
22610:       WHERE b=1081
22611:          OR ((a BETWEEN 19 AND 21) AND a!=20)
22612:          OR (g='ponmlkj' AND f GLOB 'tuvwx*')
22613:          OR ((a BETWEEN 73 AND 75) AND a!=74)
22614:          OR (d>=38.0 AND d<39.0 AND d NOT NULL)
22615:          OR a=6
22616:   }
22617: } {6 19 21 38 45 73 75 scan 0 sort 0}
22618: do_test where7-2.974.1 {
22619:   count_steps_sort {
22620:      SELECT a FROM t2
22621:       WHERE (g='fedcbaz' AND f GLOB 'rstuv*')
22622:          OR (g='rqponml' AND f GLOB 'lmnop*')
22623:          OR a=92
22624:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
22625:          OR f='fghijklmn'
22626:          OR a=100
22627:          OR b=209
22628:          OR c=9009
22629:          OR ((a BETWEEN 52 AND 54) AND a!=53)
22630:          OR a=73
22631:          OR b=902
22632:   }
22633: } {5 9 19 25 26 27 31 35 37 52 54 57 61 73 82 83 87 92 95 100 scan 0 sort 0}
22634: do_test where7-2.974.2 {
22635:   count_steps_sort {
22636:      SELECT a FROM t3
22637:       WHERE (g='fedcbaz' AND f GLOB 'rstuv*')
22638:          OR (g='rqponml' AND f GLOB 'lmnop*')
22639:          OR a=92
22640:          OR (f GLOB '?klmn*' AND f GLOB 'jklm*')
22641:          OR f='fghijklmn'
22642:          OR a=100
22643:          OR b=209
22644:          OR c=9009
22645:          OR ((a BETWEEN 52 AND 54) AND a!=53)
22646:          OR a=73
22647:          OR b=902
22648:   }
22649: } {5 9 19 25 26 27 31 35 37 52 54 57 61 73 82 83 87 92 95 100 scan 0 sort 0}
22650: do_test where7-2.975.1 {
22651:   count_steps_sort {
22652:      SELECT a FROM t2
22653:       WHERE (d>=40.0 AND d<41.0 AND d NOT NULL)
22654:          OR b=110
22655:          OR f='ghijklmno'
22656:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
22657:   }
22658: } {6 10 21 32 40 58 84 scan 0 sort 0}
22659: do_test where7-2.975.2 {
22660:   count_steps_sort {
22661:      SELECT a FROM t3
22662:       WHERE (d>=40.0 AND d<41.0 AND d NOT NULL)
22663:          OR b=110
22664:          OR f='ghijklmno'
22665:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
22666:   }
22667: } {6 10 21 32 40 58 84 scan 0 sort 0}
22668: do_test where7-2.976.1 {
22669:   count_steps_sort {
22670:      SELECT a FROM t2
22671:       WHERE ((a BETWEEN 51 AND 53) AND a!=52)
22672:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
22673:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
22674:          OR b=91
22675:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
22676:          OR b=77
22677:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
22678:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
22679:   }
22680: } {1 7 15 20 27 45 46 51 53 79 scan 0 sort 0}
22681: do_test where7-2.976.2 {
22682:   count_steps_sort {
22683:      SELECT a FROM t3
22684:       WHERE ((a BETWEEN 51 AND 53) AND a!=52)
22685:          OR (g='utsrqpo' AND f GLOB 'uvwxy*')
22686:          OR (f GLOB '?cdef*' AND f GLOB 'bcde*')
22687:          OR b=91
22688:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
22689:          OR b=77
22690:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
22691:          OR (g='vutsrqp' AND f GLOB 'pqrst*')
22692:   }
22693: } {1 7 15 20 27 45 46 51 53 79 scan 0 sort 0}
22694: do_test where7-2.977.1 {
22695:   count_steps_sort {
22696:      SELECT a FROM t2
22697:       WHERE (d>=56.0 AND d<57.0 AND d NOT NULL)
22698:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
22699:          OR b=693
22700:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
22701:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
22702:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
22703:          OR a=52
22704:          OR b=377
22705:   }
22706: } {21 26 42 52 56 63 78 scan 0 sort 0}
22707: do_test where7-2.977.2 {
22708:   count_steps_sort {
22709:      SELECT a FROM t3
22710:       WHERE (d>=56.0 AND d<57.0 AND d NOT NULL)
22711:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
22712:          OR b=693
22713:          OR (d>=21.0 AND d<22.0 AND d NOT NULL)
22714:          OR (d>=26.0 AND d<27.0 AND d NOT NULL)
22715:          OR (d>=42.0 AND d<43.0 AND d NOT NULL)
22716:          OR a=52
22717:          OR b=377
22718:   }
22719: } {21 26 42 52 56 63 78 scan 0 sort 0}
22720: do_test where7-2.978.1 {
22721:   count_steps_sort {
22722:      SELECT a FROM t2
22723:       WHERE a=99
22724:          OR a=36
22725:          OR b=297
22726:          OR ((a BETWEEN 66 AND 68) AND a!=67)
22727:          OR b=1004
22728:          OR b=872
22729:          OR a=95
22730:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
22731:          OR b=176
22732:          OR b=300
22733:   }
22734: } {16 27 36 66 68 95 99 scan 0 sort 0}
22735: do_test where7-2.978.2 {
22736:   count_steps_sort {
22737:      SELECT a FROM t3
22738:       WHERE a=99
22739:          OR a=36
22740:          OR b=297
22741:          OR ((a BETWEEN 66 AND 68) AND a!=67)
22742:          OR b=1004
22743:          OR b=872
22744:          OR a=95
22745:          OR (d>=27.0 AND d<28.0 AND d NOT NULL)
22746:          OR b=176
22747:          OR b=300
22748:   }
22749: } {16 27 36 66 68 95 99 scan 0 sort 0}
22750: do_test where7-2.979.1 {
22751:   count_steps_sort {
22752:      SELECT a FROM t2
22753:       WHERE b=737
22754:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
22755:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
22756:          OR a=40
22757:          OR f='uvwxyzabc'
22758:          OR b=311
22759:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
22760:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
22761:          OR b=927
22762:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
22763:   }
22764: } {5 6 8 20 31 32 40 46 50 53 57 58 67 72 83 84 98 scan 0 sort 0}
22765: do_test where7-2.979.2 {
22766:   count_steps_sort {
22767:      SELECT a FROM t3
22768:       WHERE b=737
22769:          OR (g='wvutsrq' AND f GLOB 'ijklm*')
22770:          OR (f GLOB '?ghij*' AND f GLOB 'fghi*')
22771:          OR a=40
22772:          OR f='uvwxyzabc'
22773:          OR b=311
22774:          OR (g='nmlkjih' AND f GLOB 'bcdef*')
22775:          OR (f GLOB '?hijk*' AND f GLOB 'ghij*')
22776:          OR b=927
22777:          OR (d>=50.0 AND d<51.0 AND d NOT NULL)
22778:   }
22779: } {5 6 8 20 31 32 40 46 50 53 57 58 67 72 83 84 98 scan 0 sort 0}
22780: do_test where7-2.980.1 {
22781:   count_steps_sort {
22782:      SELECT a FROM t2
22783:       WHERE f='fghijklmn'
22784:          OR b=1078
22785:          OR (d>=35.0 AND d<36.0 AND d NOT NULL)
22786:          OR f='fghijklmn'
22787:   }
22788: } {5 31 35 57 83 98 scan 0 sort 0}
22789: do_test where7-2.980.2 {
22790:   count_steps_sort {
22791:      SELECT a FROM t3
22792:       WHERE f='fghijklmn'
22793:          OR b=1078
22794:          OR (d>=35.0 AND d<36.0 AND d NOT NULL)
22795:          OR f='fghijklmn'
22796:   }
22797: } {5 31 35 57 83 98 scan 0 sort 0}
22798: do_test where7-2.981.1 {
22799:   count_steps_sort {
22800:      SELECT a FROM t2
22801:       WHERE (g='xwvutsr' AND f GLOB 'ghijk*')
22802:          OR b=487
22803:          OR f='tuvwxyzab'
22804:          OR (g='onmlkji' AND f GLOB 'wxyza*')
22805:          OR b=971
22806:          OR c=19019
22807:          OR a=39
22808:          OR (f GLOB '?nopq*' AND f GLOB 'mnop*')
22809:          OR b=550
22810:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
22811:          OR b=660
22812:   }
22813: } {6 12 19 38 39 45 48 50 55 56 57 60 64 71 90 97 scan 0 sort 0}
22814: do_test where7-2.981.2 {
22815:   count_steps_sort {
22816:      SELECT a FROM t3
22817:       WHERE (g='xwvutsr' AND f GLOB 'ghijk*')
22818:          OR b=487
22819:          OR f='tuvwxyzab'
22820:          OR (g='onmlkji' AND f GLOB 'wxyza*')
22821:          OR b=971
22822:          OR c=19019
22823:          OR a=39
22824:          OR (f GLOB '?nopq*' AND f GLOB 'mnop*')
22825:          OR b=550
22826:          OR (g='kjihgfe' AND f GLOB 'tuvwx*')
22827:          OR b=660
22828:   }
22829: } {6 12 19 38 39 45 48 50 55 56 57 60 64 71 90 97 scan 0 sort 0}
22830: do_test where7-2.982.1 {
22831:   count_steps_sort {
22832:      SELECT a FROM t2
22833:       WHERE b=80
22834:          OR b=839
22835:   }
22836: } { scan 0 sort 0}
22837: do_test where7-2.982.2 {
22838:   count_steps_sort {
22839:      SELECT a FROM t3
22840:       WHERE b=80
22841:          OR b=839
22842:   }
22843: } { scan 0 sort 0}
22844: do_test where7-2.983.1 {
22845:   count_steps_sort {
22846:      SELECT a FROM t2
22847:       WHERE b=363
22848:          OR b=630
22849:          OR b=935
22850:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
22851:          OR (g='srqponm' AND f GLOB 'defgh*')
22852:          OR f='yzabcdefg'
22853:          OR ((a BETWEEN 37 AND 39) AND a!=38)
22854:   }
22855: } {20 24 29 33 37 39 50 76 85 scan 0 sort 0}
22856: do_test where7-2.983.2 {
22857:   count_steps_sort {
22858:      SELECT a FROM t3
22859:       WHERE b=363
22860:          OR b=630
22861:          OR b=935
22862:          OR (d>=20.0 AND d<21.0 AND d NOT NULL)
22863:          OR (g='srqponm' AND f GLOB 'defgh*')
22864:          OR f='yzabcdefg'
22865:          OR ((a BETWEEN 37 AND 39) AND a!=38)
22866:   }
22867: } {20 24 29 33 37 39 50 76 85 scan 0 sort 0}
22868: do_test where7-2.984.1 {
22869:   count_steps_sort {
22870:      SELECT a FROM t2
22871:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
22872:          OR a=40
22873:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
22874:          OR f='abcdefghi'
22875:          OR b=696
22876:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
22877:          OR b=682
22878:          OR a=32
22879:          OR ((a BETWEEN 34 AND 36) AND a!=35)
22880:          OR b=671
22881:          OR a=15
22882:   }
22883: } {15 16 26 32 34 36 40 52 61 62 78 86 97 scan 0 sort 0}
22884: do_test where7-2.984.2 {
22885:   count_steps_sort {
22886:      SELECT a FROM t3
22887:       WHERE (d>=97.0 AND d<98.0 AND d NOT NULL)
22888:          OR a=40
22889:          OR (d>=86.0 AND d<87.0 AND d NOT NULL)
22890:          OR f='abcdefghi'
22891:          OR b=696
22892:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
22893:          OR b=682
22894:          OR a=32
22895:          OR ((a BETWEEN 34 AND 36) AND a!=35)
22896:          OR b=671
22897:          OR a=15
22898:   }
22899: } {15 16 26 32 34 36 40 52 61 62 78 86 97 scan 0 sort 0}
22900: do_test where7-2.985.1 {
22901:   count_steps_sort {
22902:      SELECT a FROM t2
22903:       WHERE (g='gfedcba' AND f GLOB 'lmnop*')
22904:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
22905:          OR b=311
22906:   }
22907: } {7 33 59 85 89 scan 0 sort 0}
22908: do_test where7-2.985.2 {
22909:   count_steps_sort {
22910:      SELECT a FROM t3
22911:       WHERE (g='gfedcba' AND f GLOB 'lmnop*')
22912:          OR (f GLOB '?ijkl*' AND f GLOB 'hijk*')
22913:          OR b=311
22914:   }
22915: } {7 33 59 85 89 scan 0 sort 0}
22916: do_test where7-2.986.1 {
22917:   count_steps_sort {
22918:      SELECT a FROM t2
22919:       WHERE (d>=96.0 AND d<97.0 AND d NOT NULL)
22920:          OR a=73
22921:          OR b=729
22922:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
22923:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
22924:          OR a=32
22925:   }
22926: } {32 67 73 81 96 scan 0 sort 0}
22927: do_test where7-2.986.2 {
22928:   count_steps_sort {
22929:      SELECT a FROM t3
22930:       WHERE (d>=96.0 AND d<97.0 AND d NOT NULL)
22931:          OR a=73
22932:          OR b=729
22933:          OR (d>=81.0 AND d<82.0 AND d NOT NULL)
22934:          OR (d>=67.0 AND d<68.0 AND d NOT NULL)
22935:          OR a=32
22936:   }
22937: } {32 67 73 81 96 scan 0 sort 0}
22938: do_test where7-2.987.1 {
22939:   count_steps_sort {
22940:      SELECT a FROM t2
22941:       WHERE ((a BETWEEN 98 AND 100) AND a!=99)
22942:          OR b=110
22943:          OR ((a BETWEEN 38 AND 40) AND a!=39)
22944:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
22945:          OR b=484
22946:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
22947:   }
22948: } {10 23 38 40 44 82 98 100 scan 0 sort 0}
22949: do_test where7-2.987.2 {
22950:   count_steps_sort {
22951:      SELECT a FROM t3
22952:       WHERE ((a BETWEEN 98 AND 100) AND a!=99)
22953:          OR b=110
22954:          OR ((a BETWEEN 38 AND 40) AND a!=39)
22955:          OR (g='tsrqpon' AND f GLOB 'xyzab*')
22956:          OR b=484
22957:          OR (d>=82.0 AND d<83.0 AND d NOT NULL)
22958:   }
22959: } {10 23 38 40 44 82 98 100 scan 0 sort 0}
22960: do_test where7-2.988.1 {
22961:   count_steps_sort {
22962:      SELECT a FROM t2
22963:       WHERE (d>=99.0 AND d<100.0 AND d NOT NULL)
22964:          OR b=135
22965:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
22966:          OR b=209
22967:          OR b=363
22968:          OR c=27027
22969:          OR b=1026
22970:          OR c=6006
22971:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
22972:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
22973:   }
22974: } {16 17 18 19 33 46 66 73 79 80 81 99 scan 0 sort 0}
22975: do_test where7-2.988.2 {
22976:   count_steps_sort {
22977:      SELECT a FROM t3
22978:       WHERE (d>=99.0 AND d<100.0 AND d NOT NULL)
22979:          OR b=135
22980:          OR (d>=66.0 AND d<67.0 AND d NOT NULL)
22981:          OR b=209
22982:          OR b=363
22983:          OR c=27027
22984:          OR b=1026
22985:          OR c=6006
22986:          OR (g='ponmlkj' AND f GLOB 'uvwxy*')
22987:          OR (d>=73.0 AND d<74.0 AND d NOT NULL)
22988:   }
22989: } {16 17 18 19 33 46 66 73 79 80 81 99 scan 0 sort 0}
22990: do_test where7-2.989.1 {
22991:   count_steps_sort {
22992:      SELECT a FROM t2
22993:       WHERE (d>=79.0 AND d<80.0 AND d NOT NULL)
22994:          OR ((a BETWEEN 18 AND 20) AND a!=19)
22995:          OR (g='qponmlk' AND f GLOB 'nopqr*')
22996:          OR a=97
22997:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
22998:          OR ((a BETWEEN 22 AND 24) AND a!=23)
22999:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
23000:          OR b=674
23001:          OR c=14014
23002:          OR b=69
23003:   }
23004: } {18 20 22 24 39 40 41 42 45 58 79 97 scan 0 sort 0}
23005: do_test where7-2.989.2 {
23006:   count_steps_sort {
23007:      SELECT a FROM t3
23008:       WHERE (d>=79.0 AND d<80.0 AND d NOT NULL)
23009:          OR ((a BETWEEN 18 AND 20) AND a!=19)
23010:          OR (g='qponmlk' AND f GLOB 'nopqr*')
23011:          OR a=97
23012:          OR (d>=45.0 AND d<46.0 AND d NOT NULL)
23013:          OR ((a BETWEEN 22 AND 24) AND a!=23)
23014:          OR (g='mlkjihg' AND f GLOB 'ghijk*')
23015:          OR b=674
23016:          OR c=14014
23017:          OR b=69
23018:   }
23019: } {18 20 22 24 39 40 41 42 45 58 79 97 scan 0 sort 0}
23020: do_test where7-2.990.1 {
23021:   count_steps_sort {
23022:      SELECT a FROM t2
23023:       WHERE b=297
23024:          OR a=83
23025:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
23026:          OR ((a BETWEEN 16 AND 18) AND a!=17)
23027:   }
23028: } {16 18 27 78 83 scan 0 sort 0}
23029: do_test where7-2.990.2 {
23030:   count_steps_sort {
23031:      SELECT a FROM t3
23032:       WHERE b=297
23033:          OR a=83
23034:          OR (d>=78.0 AND d<79.0 AND d NOT NULL)
23035:          OR ((a BETWEEN 16 AND 18) AND a!=17)
23036:   }
23037: } {16 18 27 78 83 scan 0 sort 0}
23038: do_test where7-2.991.1 {
23039:   count_steps_sort {
23040:      SELECT a FROM t2
23041:       WHERE b=451
23042:          OR ((a BETWEEN 11 AND 13) AND a!=12)
23043:          OR (g='tsrqpon' AND f GLOB 'abcde*')
23044:          OR b=539
23045:          OR a=26
23046:          OR (g='srqponm' AND f GLOB 'efghi*')
23047:          OR b=465
23048:          OR (g='jihgfed' AND f GLOB 'wxyza*')
23049:   }
23050: } {11 13 26 30 41 49 74 scan 0 sort 0}
23051: do_test where7-2.991.2 {
23052:   count_steps_sort {
23053:      SELECT a FROM t3
23054:       WHERE b=451
23055:          OR ((a BETWEEN 11 AND 13) AND a!=12)
23056:          OR (g='tsrqpon' AND f GLOB 'abcde*')
23057:          OR b=539
23058:          OR a=26
23059:          OR (g='srqponm' AND f GLOB 'efghi*')
23060:          OR b=465
23061:          OR (g='jihgfed' AND f GLOB 'wxyza*')
23062:   }
23063: } {11 13 26 30 41 49 74 scan 0 sort 0}
23064: do_test where7-2.992.1 {
23065:   count_steps_sort {
23066:      SELECT a FROM t2
23067:       WHERE (d>=45.0 AND d<46.0 AND d NOT NULL)
23068:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
23069:   }
23070: } {45 63 scan 0 sort 0}
23071: do_test where7-2.992.2 {
23072:   count_steps_sort {
23073:      SELECT a FROM t3
23074:       WHERE (d>=45.0 AND d<46.0 AND d NOT NULL)
23075:          OR (d>=63.0 AND d<64.0 AND d NOT NULL)
23076:   }
23077: } {45 63 scan 0 sort 0}
23078: do_test where7-2.993.1 {
23079:   count_steps_sort {
23080:      SELECT a FROM t2
23081:       WHERE ((a BETWEEN 16 AND 18) AND a!=17)
23082:          OR b=872
23083:          OR c=31031
23084:   }
23085: } {16 18 91 92 93 scan 0 sort 0}
23086: do_test where7-2.993.2 {
23087:   count_steps_sort {
23088:      SELECT a FROM t3
23089:       WHERE ((a BETWEEN 16 AND 18) AND a!=17)
23090:          OR b=872
23091:          OR c=31031
23092:   }
23093: } {16 18 91 92 93 scan 0 sort 0}
23094: do_test where7-2.994.1 {
23095:   count_steps_sort {
23096:      SELECT a FROM t2
23097:       WHERE (f GLOB '?cdef*' AND f GLOB 'bcde*')
23098:          OR a=13
23099:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
23100:          OR b=322
23101:          OR ((a BETWEEN 33 AND 35) AND a!=34)
23102:          OR b=377
23103:          OR f='cdefghijk'
23104:          OR b=286
23105:          OR ((a BETWEEN 61 AND 63) AND a!=62)
23106:   }
23107: } {1 2 13 17 26 27 28 33 35 43 53 54 61 63 69 79 80 95 scan 0 sort 0}
23108: do_test where7-2.994.2 {
23109:   count_steps_sort {
23110:      SELECT a FROM t3
23111:       WHERE (f GLOB '?cdef*' AND f GLOB 'bcde*')
23112:          OR a=13
23113:          OR (f GLOB '?stuv*' AND f GLOB 'rstu*')
23114:          OR b=322
23115:          OR ((a BETWEEN 33 AND 35) AND a!=34)
23116:          OR b=377
23117:          OR f='cdefghijk'
23118:          OR b=286
23119:          OR ((a BETWEEN 61 AND 63) AND a!=62)
23120:   }
23121: } {1 2 13 17 26 27 28 33 35 43 53 54 61 63 69 79 80 95 scan 0 sort 0}
23122: do_test where7-2.995.1 {
23123:   count_steps_sort {
23124:      SELECT a FROM t2
23125:       WHERE a=41
23126:          OR b=990
23127:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
23128:          OR b=605
23129:          OR (g='srqponm' AND f GLOB 'cdefg*')
23130:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
23131:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
23132:          OR b=968
23133:          OR a=66
23134:   }
23135: } {16 28 36 41 55 66 88 90 scan 0 sort 0}
23136: do_test where7-2.995.2 {
23137:   count_steps_sort {
23138:      SELECT a FROM t3
23139:       WHERE a=41
23140:          OR b=990
23141:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
23142:          OR b=605
23143:          OR (g='srqponm' AND f GLOB 'cdefg*')
23144:          OR (d>=36.0 AND d<37.0 AND d NOT NULL)
23145:          OR (g='vutsrqp' AND f GLOB 'qrstu*')
23146:          OR b=968
23147:          OR a=66
23148:   }
23149: } {16 28 36 41 55 66 88 90 scan 0 sort 0}
23150: do_test where7-2.996.1 {
23151:   count_steps_sort {
23152:      SELECT a FROM t2
23153:       WHERE b=1059
23154:          OR (g='srqponm' AND f GLOB 'ghijk*')
23155:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
23156:          OR (g='nmlkjih' AND f GLOB 'fghij*')
23157:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
23158:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
23159:          OR (g='onmlkji' AND f GLOB 'abcde*')
23160:          OR ((a BETWEEN 39 AND 41) AND a!=40)
23161:   }
23162: } {17 19 32 37 39 41 52 57 scan 0 sort 0}
23163: do_test where7-2.996.2 {
23164:   count_steps_sort {
23165:      SELECT a FROM t3
23166:       WHERE b=1059
23167:          OR (g='srqponm' AND f GLOB 'ghijk*')
23168:          OR (g='utsrqpo' AND f GLOB 'tuvwx*')
23169:          OR (g='nmlkjih' AND f GLOB 'fghij*')
23170:          OR (d>=17.0 AND d<18.0 AND d NOT NULL)
23171:          OR (d>=37.0 AND d<38.0 AND d NOT NULL)
23172:          OR (g='onmlkji' AND f GLOB 'abcde*')
23173:          OR ((a BETWEEN 39 AND 41) AND a!=40)
23174:   }
23175: } {17 19 32 37 39 41 52 57 scan 0 sort 0}
23176: do_test where7-2.997.1 {
23177:   count_steps_sort {
23178:      SELECT a FROM t2
23179:       WHERE ((a BETWEEN 41 AND 43) AND a!=42)
23180:          OR f='nopqrstuv'
23181:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
23182:          OR a=42
23183:          OR b=729
23184:          OR b=297
23185:          OR a=77
23186:          OR b=781
23187:          OR ((a BETWEEN 36 AND 38) AND a!=37)
23188:   }
23189: } {13 27 36 38 39 41 42 43 44 65 71 77 91 scan 0 sort 0}
23190: do_test where7-2.997.2 {
23191:   count_steps_sort {
23192:      SELECT a FROM t3
23193:       WHERE ((a BETWEEN 41 AND 43) AND a!=42)
23194:          OR f='nopqrstuv'
23195:          OR (g='ponmlkj' AND f GLOB 'stuvw*')
23196:          OR a=42
23197:          OR b=729
23198:          OR b=297
23199:          OR a=77
23200:          OR b=781
23201:          OR ((a BETWEEN 36 AND 38) AND a!=37)
23202:   }
23203: } {13 27 36 38 39 41 42 43 44 65 71 77 91 scan 0 sort 0}
23204: do_test where7-2.998.1 {
23205:   count_steps_sort {
23206:      SELECT a FROM t2
23207:       WHERE a=12
23208:          OR f='qrstuvwxy'
23209:          OR a=47
23210:          OR b=135
23211:          OR a=25
23212:   }
23213: } {12 16 25 42 47 68 94 scan 0 sort 0}
23214: do_test where7-2.998.2 {
23215:   count_steps_sort {
23216:      SELECT a FROM t3
23217:       WHERE a=12
23218:          OR f='qrstuvwxy'
23219:          OR a=47
23220:          OR b=135
23221:          OR a=25
23222:   }
23223: } {12 16 25 42 47 68 94 scan 0 sort 0}
23224: do_test where7-2.999.1 {
23225:   count_steps_sort {
23226:      SELECT a FROM t2
23227:       WHERE b=451
23228:          OR b=660
23229:          OR (g='onmlkji' AND f GLOB 'yzabc*')
23230:          OR b=781
23231:          OR (g='jihgfed' AND f GLOB 'wxyza*')
23232:          OR b=198
23233:          OR b=1023
23234:          OR a=98
23235:          OR d<0.0
23236:          OR ((a BETWEEN 79 AND 81) AND a!=80)
23237:   }
23238: } {18 41 50 60 71 74 79 81 93 98 scan 0 sort 0}
23239: do_test where7-2.999.2 {
23240:   count_steps_sort {
23241:      SELECT a FROM t3
23242:       WHERE b=451
23243:          OR b=660
23244:          OR (g='onmlkji' AND f GLOB 'yzabc*')
23245:          OR b=781
23246:          OR (g='jihgfed' AND f GLOB 'wxyza*')
23247:          OR b=198
23248:          OR b=1023
23249:          OR a=98
23250:          OR d<0.0
23251:          OR ((a BETWEEN 79 AND 81) AND a!=80)
23252:   }
23253: } {18 41 50 60 71 74 79 81 93 98 scan 0 sort 0}
23254: do_test where7-2.1000.1 {
23255:   count_steps_sort {
23256:      SELECT a FROM t2
23257:       WHERE b=685
23258:          OR a=86
23259:          OR c=17017
23260:          OR ((a BETWEEN 85 AND 87) AND a!=86)
23261:          OR (g='gfedcba' AND f GLOB 'mnopq*')
23262:          OR a=80
23263:          OR b=773
23264:   }
23265: } {49 50 51 80 85 86 87 90 scan 0 sort 0}
23266: do_test where7-2.1000.2 {
23267:   count_steps_sort {
23268:      SELECT a FROM t3
23269:       WHERE b=685
23270:          OR a=86
23271:          OR c=17017
23272:          OR ((a BETWEEN 85 AND 87) AND a!=86)
23273:          OR (g='gfedcba' AND f GLOB 'mnopq*')
23274:          OR a=80
23275:          OR b=773
23276:   }
23277: } {49 50 51 80 85 86 87 90 scan 0 sort 0}
23278: do_test where7-2.1001.1 {
23279:   count_steps_sort {
23280:      SELECT a FROM t2
23281:       WHERE b=1092
23282:          OR a=23
23283:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
23284:          OR d<0.0
23285:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
23286:          OR a=91
23287:   }
23288: } {2 22 23 28 54 80 91 scan 0 sort 0}
23289: do_test where7-2.1001.2 {
23290:   count_steps_sort {
23291:      SELECT a FROM t3
23292:       WHERE b=1092
23293:          OR a=23
23294:          OR (f GLOB '?defg*' AND f GLOB 'cdef*')
23295:          OR d<0.0
23296:          OR (d>=22.0 AND d<23.0 AND d NOT NULL)
23297:          OR a=91
23298:   }
23299: } {2 22 23 28 54 80 91 scan 0 sort 0}
23300: 
23301: # test case for the performance regression fixed by
23302: # check-in 28ba6255282b on 2010-10-21 02:05:06
23303: #
23304: # The test case that follows is code from an actual
23305: # application with identifiers change and unused columns
23306: # remove.
23307: #
23308: do_execsql_test where7-3.1 {
23309:   CREATE TABLE t301 (
23310:       c8 INTEGER PRIMARY KEY,
23311:       c6 INTEGER,
23312:       c4 INTEGER,
23313:       c7 INTEGER,
23314:       FOREIGN KEY (c4) REFERENCES series(c4)
23315:   );
23316:   CREATE INDEX t301_c6 on t301(c6);
23317:   CREATE INDEX t301_c4 on t301(c4);
23318:   CREATE INDEX t301_c7 on t301(c7);
23319:   
23320:   CREATE TABLE t302 (
23321:       c1 INTEGER PRIMARY KEY,
23322:       c8 INTEGER,
23323:       c5 INTEGER,
23324:       c3 INTEGER,
23325:       c2 INTEGER,
23326:       c4 INTEGER,
23327:       FOREIGN KEY (c8) REFERENCES t301(c8)
23328:   );
23329:   CREATE INDEX t302_c3 on t302(c3);
23330:   CREATE INDEX t302_c8_c3 on t302(c8, c3);
23331:   CREATE INDEX t302_c5 on t302(c5);
23332:   
23333:   EXPLAIN QUERY PLAN
23334:   SELECT t302.c1 
23335:     FROM t302 JOIN t301 ON t302.c8 = t301.c8
23336:     WHERE t302.c2 = 19571
23337:       AND t302.c3 > 1287603136
23338:       AND (t301.c4 = 1407449685622784
23339:            OR t301.c8 = 1407424651264000)
23340:    ORDER BY t302.c5 LIMIT 200;
23341: } {
23342:   0 0 1 {SEARCH TABLE t301 USING COVERING INDEX t301_c4 (c4=?) (~5 rows)} 
23343:   0 0 1 {SEARCH TABLE t301 USING INTEGER PRIMARY KEY (rowid=?) (~1 rows)} 
23344:   0 1 0 {SEARCH TABLE t302 USING INDEX t302_c8_c3 (c8=? AND c3>?) (~2 rows)} 
23345:   0 0 0 {USE TEMP B-TREE FOR ORDER BY}
23346: }
23347: 
23348: finish_test

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>