Lines Matching refs:t1

22 execsql {CREATE TABLE test1(i1 int, i2 int, r1 real, r2 real, t1 text, t2 text)}
161 test_expr expr-3.1 {t1='abc', t2='xyz'} {t1<t2} 1
162 test_expr expr-3.2 {t1='xyz', t2='abc'} {t1<t2} 0
163 test_expr expr-3.3 {t1='abc', t2='abc'} {t1<t2} 0
164 test_expr expr-3.4 {t1='abc', t2='xyz'} {t1<=t2} 1
165 test_expr expr-3.5 {t1='xyz', t2='abc'} {t1<=t2} 0
166 test_expr expr-3.6 {t1='abc', t2='abc'} {t1<=t2} 1
167 test_expr expr-3.7 {t1='abc', t2='xyz'} {t1>t2} 0
168 test_expr expr-3.8 {t1='xyz', t2='abc'} {t1>t2} 1
169 test_expr expr-3.9 {t1='abc', t2='abc'} {t1>t2} 0
170 test_expr expr-3.10 {t1='abc', t2='xyz'} {t1>=t2} 0
171 test_expr expr-3.11 {t1='xyz', t2='abc'} {t1>=t2} 1
172 test_expr expr-3.12 {t1='abc', t2='abc'} {t1>=t2} 1
173 test_expr expr-3.13 {t1='abc', t2='xyz'} {t1=t2} 0
174 test_expr expr-3.14 {t1='xyz', t2='abc'} {t1=t2} 0
175 test_expr expr-3.15 {t1='abc', t2='abc'} {t1=t2} 1
176 test_expr expr-3.16 {t1='abc', t2='xyz'} {t1==t2} 0
177 test_expr expr-3.17 {t1='xyz', t2='abc'} {t1==t2} 0
178 test_expr expr-3.18 {t1='abc', t2='abc'} {t1==t2} 1
179 test_expr expr-3.19 {t1='abc', t2='xyz'} {t1<>t2} 1
180 test_expr expr-3.20 {t1='xyz', t2='abc'} {t1<>t2} 1
181 test_expr expr-3.21 {t1='abc', t2='abc'} {t1<>t2} 0
182 test_expr expr-3.22 {t1='abc', t2='xyz'} {t1!=t2} 1
183 test_expr expr-3.23 {t1='xyz', t2='abc'} {t1!=t2} 1
184 test_expr expr-3.24 {t1='abc', t2='abc'} {t1!=t2} 0
185 test_expr expr-3.25 {t1=NULL, t2='hi'} {t1 isnull} 1
186 test_expr expr-3.25b {t1=NULL, t2='hi'} {t1 is null} 1
187 test_expr expr-3.26 {t1=NULL, t2='hi'} {t2 isnull} 0
188 test_expr expr-3.27 {t1=NULL, t2='hi'} {t1 notnull} 0
189 test_expr expr-3.28 {t1=NULL, t2='hi'} {t2 notnull} 1
190 test_expr expr-3.28b {t1=NULL, t2='hi'} {t2 is not null} 1
191 test_expr expr-3.29 {t1='xyz', t2='abc'} {t1||t2} {xyzabc}
192 test_expr expr-3.30 {t1=NULL, t2='abc'} {t1||t2} {{}}
193 test_expr expr-3.31 {t1='xyz', t2=NULL} {t1||t2} {{}}
194 test_expr expr-3.32 {t1='xyz', t2='abc'} {t1||' hi '||t2} {{xyz hi abc}}
195 test_expr epxr-3.33 {t1='abc', t2=NULL} {coalesce(t1<t2,99)} 99
196 test_expr epxr-3.34 {t1='abc', t2=NULL} {coalesce(t2<t1,99)} 99
197 test_expr epxr-3.35 {t1='abc', t2=NULL} {coalesce(t1>t2,99)} 99
198 test_expr epxr-3.36 {t1='abc', t2=NULL} {coalesce(t2>t1,99)} 99
199 test_expr epxr-3.37 {t1='abc', t2=NULL} {coalesce(t1<=t2,99)} 99
200 test_expr epxr-3.38 {t1='abc', t2=NULL} {coalesce(t2<=t1,99)} 99
201 test_expr epxr-3.39 {t1='abc', t2=NULL} {coalesce(t1>=t2,99)} 99
202 test_expr epxr-3.40 {t1='abc', t2=NULL} {coalesce(t2>=t1,99)} 99
203 test_expr epxr-3.41 {t1='abc', t2=NULL} {coalesce(t1==t2,99)} 99
204 test_expr epxr-3.42 {t1='abc', t2=NULL} {coalesce(t2==t1,99)} 99
205 test_expr epxr-3.43 {t1='abc', t2=NULL} {coalesce(t1!=t2,99)} 99
206 test_expr epxr-3.44 {t1='abc', t2=NULL} {coalesce(t2!=t1,99)} 99
209 test_expr expr-4.1 {t1='abc', t2='Abc'} {t1<t2} 0
210 test_expr expr-4.2 {t1='abc', t2='Abc'} {t1>t2} 1
211 test_expr expr-4.3 {t1='abc', t2='Bbc'} {t1<t2} 0
212 test_expr expr-4.4 {t1='abc', t2='Bbc'} {t1>t2} 1
213 test_expr expr-4.5 {t1='0', t2='0.0'} {t1==t2} 0
214 test_expr expr-4.6 {t1='0.000', t2='0.0'} {t1==t2} 0
215 test_expr expr-4.7 {t1=' 0.000', t2=' 0.0'} {t1==t2} 0
216 test_expr expr-4.8 {t1='0.0', t2='abc'} {t1<t2} 1
217 test_expr expr-4.9 {t1='0.0', t2='abc'} {t1==t2} 0
230 test_expr expr-5.1 {t1='abc', t2='xyz'} {t1 LIKE t2} 0
231 test_expr expr-5.2 {t1='abc', t2='ABC'} {t1 LIKE t2} 1
232 test_expr expr-5.3 {t1='abc', t2='A_C'} {t1 LIKE t2} 1
233 test_expr expr-5.4 {t1='abc', t2='abc_'} {t1 LIKE t2} 0
234 test_expr expr-5.5 {t1='abc', t2='A%C'} {t1 LIKE t2} 1
235 test_expr expr-5.5b {t1='ac', t2='A%C'} {t1 LIKE t2} 1
236 test_expr expr-5.6 {t1='abxyzzyc', t2='A%C'} {t1 LIKE t2} 1
237 test_expr expr-5.7 {t1='abxyzzy', t2='A%C'} {t1 LIKE t2} 0
238 test_expr expr-5.8 {t1='abxyzzycx', t2='A%C'} {t1 LIKE t2} 0
239 test_expr expr-5.8b {t1='abxyzzycy', t2='A%CX'} {t1 LIKE t2} 0
240 test_expr expr-5.9 {t1='abc', t2='A%_C'} {t1 LIKE t2} 1
241 test_expr expr-5.9b {t1='ac', t2='A%_C'} {t1 LIKE t2} 0
242 test_expr expr-5.10 {t1='abxyzzyc', t2='A%_C'} {t1 LIKE t2} 1
243 test_expr expr-5.11 {t1='abc', t2='xyz'} {t1 NOT LIKE t2} 1
244 test_expr expr-5.12 {t1='abc', t2='ABC'} {t1 NOT LIKE t2} 0
250 test_expr expr-5.13 "t1='a\u0080c', t2='A_C'" {t1 LIKE t2} 1
251 test_expr expr-5.14 "t1='a\u07FFc', t2='A_C'" {t1 LIKE t2} 1
252 test_expr expr-5.15 "t1='a\u0800c', t2='A_C'" {t1 LIKE t2} 1
253 test_expr expr-5.16 "t1='a\uFFFFc', t2='A_C'" {t1 LIKE t2} 1
254 test_expr expr-5.17 "t1='a\u0080', t2='A__'" {t1 LIKE t2} 0
255 test_expr expr-5.18 "t1='a\u07FF', t2='A__'" {t1 LIKE t2} 0
256 test_expr expr-5.19 "t1='a\u0800', t2='A__'" {t1 LIKE t2} 0
257 test_expr expr-5.20 "t1='a\uFFFF', t2='A__'" {t1 LIKE t2} 0
258 test_expr expr-5.21 "t1='ax\uABCD', t2='A_\uABCD'" {t1 LIKE t2} 1
259 test_expr expr-5.22 "t1='ax\u1234', t2='A%\u1234'" {t1 LIKE t2} 1
260 test_expr expr-5.23 "t1='ax\uFEDC', t2='A_%'" {t1 LIKE t2} 1
261 test_expr expr-5.24 "t1='ax\uFEDCy\uFEDC', t2='A%\uFEDC'" {t1 LIKE t2} 1
275 test_expr expr-5.50 "t1='a\266c', t2='A_C'" {t1 LIKE t2} 1
276 test_expr expr-5.51 "t1='a\347', t2='A_'" {t1 LIKE t2} 1
277 test_expr expr-5.52 "t1='ax\351', t2='A_\351'" {t1 LIKE t2} 1
278 test_expr expr-5.53 "t1='ax\241', t2='A_%'" {t1 LIKE t2} 1
281 test_expr expr-5.54 {t1='abc', t2=NULL} {t1 LIKE t2} {{}}
282 test_expr expr-5.55 {t1='abc', t2=NULL} {t1 NOT LIKE t2} {{}}
283 test_expr expr-5.56 {t1='abc', t2=NULL} {t2 LIKE t1} {{}}
284 test_expr expr-5.57 {t1='abc', t2=NULL} {t2 NOT LIKE t1} {{}}
287 test_expr expr-6.1 {t1='abc', t2='xyz'} {t1 GLOB t2} 0
288 test_expr expr-6.2 {t1='abc', t2='ABC'} {t1 GLOB t2} 0
289 test_expr expr-6.3 {t1='abc', t2='A?C'} {t1 GLOB t2} 0
290 test_expr expr-6.4 {t1='abc', t2='a?c'} {t1 GLOB t2} 1
291 test_expr expr-6.5 {t1='abc', t2='abc?'} {t1 GLOB t2} 0
292 test_expr expr-6.6 {t1='abc', t2='A*C'} {t1 GLOB t2} 0
293 test_expr expr-6.7 {t1='abc', t2='a*c'} {t1 GLOB t2} 1
294 test_expr expr-6.8 {t1='abxyzzyc', t2='a*c'} {t1 GLOB t2} 1
295 test_expr expr-6.9 {t1='abxyzzy', t2='a*c'} {t1 GLOB t2} 0
296 test_expr expr-6.10 {t1='abxyzzycx', t2='a*c'} {t1 GLOB t2} 0
297 test_expr expr-6.11 {t1='abc', t2='xyz'} {t1 NOT GLOB t2} 1
298 test_expr expr-6.12 {t1='abc', t2='abc'} {t1 NOT GLOB t2} 0
299 test_expr expr-6.13 {t1='abc', t2='a[bx]c'} {t1 GLOB t2} 1
300 test_expr expr-6.14 {t1='abc', t2='a[cx]c'} {t1 GLOB t2} 0
301 test_expr expr-6.15 {t1='abc', t2='a[a-d]c'} {t1 GLOB t2} 1
302 test_expr expr-6.16 {t1='abc', t2='a[^a-d]c'} {t1 GLOB t2} 0
303 test_expr expr-6.17 {t1='abc', t2='a[A-Dc]c'} {t1 GLOB t2} 0
304 test_expr expr-6.18 {t1='abc', t2='a[^A-Dc]c'} {t1 GLOB t2} 1
305 test_expr expr-6.19 {t1='abc', t2='a[]b]c'} {t1 GLOB t2} 1
306 test_expr expr-6.20 {t1='abc', t2='a[^]b]c'} {t1 GLOB t2} 0
307 test_expr expr-6.21a {t1='abcdefg', t2='a*[de]g'} {t1 GLOB t2} 0
308 test_expr expr-6.21b {t1='abcdefg', t2='a*[df]g'} {t1 GLOB t2} 1
309 test_expr expr-6.21c {t1='abcdefg', t2='a*[d-h]g'} {t1 GLOB t2} 1
310 test_expr expr-6.21d {t1='abcdefg', t2='a*[b-e]g'} {t1 GLOB t2} 0
311 test_expr expr-6.22a {t1='abcdefg', t2='a*[^de]g'} {t1 GLOB t2} 1
312 test_expr expr-6.22b {t1='abcdefg', t2='a*[^def]g'} {t1 GLOB t2} 0
313 test_expr expr-6.23 {t1='abcdefg', t2='a*?g'} {t1 GLOB t2} 1
314 test_expr expr-6.24 {t1='ac', t2='a*c'} {t1 GLOB t2} 1
315 test_expr expr-6.25 {t1='ac', t2='a*?c'} {t1 GLOB t2} 0
321 test_expr expr-6.26 "t1='a\u0080c', t2='a?c'" {t1 GLOB t2} 1
322 test_expr expr-6.27 "t1='a\u07ffc', t2='a?c'" {t1 GLOB t2} 1
323 test_expr expr-6.28 "t1='a\u0800c', t2='a?c'" {t1 GLOB t2} 1
324 test_expr expr-6.29 "t1='a\uffffc', t2='a?c'" {t1 GLOB t2} 1
325 test_expr expr-6.30 "t1='a\u1234', t2='a?'" {t1 GLOB t2} 1
326 test_expr expr-6.31 "t1='a\u1234', t2='a??'" {t1 GLOB t2} 0
327 test_expr expr-6.32 "t1='ax\u1234', t2='a?\u1234'" {t1 GLOB t2} 1
328 test_expr expr-6.33 "t1='ax\u1234', t2='a*\u1234'" {t1 GLOB t2} 1
329 test_expr expr-6.34 "t1='ax\u1234y\u1234', t2='a*\u1234'" {t1 GLOB t2} 1
330 test_expr expr-6.35 "t1='a\u1234b', t2='a\[x\u1234y\]b'" {t1 GLOB t2} 1
331 test_expr expr-6.36 "t1='a\u1234b', t2='a\[\u1233-\u1235\]b'" {t1 GLOB t2} 1
332 test_expr expr-6.37 "t1='a\u1234b', t2='a\[\u1234-\u124f\]b'" {t1 GLOB t2} 1
333 test_expr expr-6.38 "t1='a\u1234b', t2='a\[\u1235-\u124f\]b'" {t1 GLOB t2} 0
334 test_expr expr-6.39 "t1='a\u1234b', t2='a\[a-\u1235\]b'" {t1 GLOB t2} 1
335 test_expr expr-6.40 "t1='a\u1234b', t2='a\[a-\u1234\]b'" {t1 GLOB t2} 1
336 test_expr expr-6.41 "t1='a\u1234b', t2='a\[a-\u1233\]b'" {t1 GLOB t2} 0
339 test_expr expr-6.51 {t1='ABC', t2='xyz'} {t1 GLOB t2} 0
340 test_expr expr-6.52 {t1='ABC', t2='abc'} {t1 GLOB t2} 0
341 test_expr expr-6.53 {t1='ABC', t2='a?c'} {t1 GLOB t2} 0
342 test_expr expr-6.54 {t1='ABC', t2='A?C'} {t1 GLOB t2} 1
343 test_expr expr-6.55 {t1='ABC', t2='abc?'} {t1 GLOB t2} 0
344 test_expr expr-6.56 {t1='ABC', t2='a*c'} {t1 GLOB t2} 0
345 test_expr expr-6.57 {t1='ABC', t2='A*C'} {t1 GLOB t2} 1
346 test_expr expr-6.58 {t1='ABxyzzyC', t2='A*C'} {t1 GLOB t2} 1
347 test_expr expr-6.59 {t1='ABxyzzy', t2='A*C'} {t1 GLOB t2} 0
348 test_expr expr-6.60 {t1='ABxyzzyCx', t2='A*C'} {t1 GLOB t2} 0
349 test_expr expr-6.61 {t1='ABC', t2='xyz'} {t1 NOT GLOB t2} 1
350 test_expr expr-6.62 {t1='ABC', t2='ABC'} {t1 NOT GLOB t2} 0
351 test_expr expr-6.63 {t1='ABC', t2='A[Bx]C'} {t1 GLOB t2} 1
352 test_expr expr-6.64 {t1='ABC', t2='A[Cx]C'} {t1 GLOB t2} 0
353 test_expr expr-6.65 {t1='ABC', t2='A[A-D]C'} {t1 GLOB t2} 1
354 test_expr expr-6.66 {t1='ABC', t2='A[^A-D]C'} {t1 GLOB t2} 0
355 test_expr expr-6.67 {t1='ABC', t2='A[a-dC]C'} {t1 GLOB t2} 0
356 test_expr expr-6.68 {t1='ABC', t2='A[^a-dC]C'} {t1 GLOB t2} 1
357 test_expr expr-6.69a {t1='ABC', t2='A[]B]C'} {t1 GLOB t2} 1
358 test_expr expr-6.69b {t1='A]C', t2='A[]B]C'} {t1 GLOB t2} 1
359 test_expr expr-6.70a {t1='ABC', t2='A[^]B]C'} {t1 GLOB t2} 0
360 test_expr expr-6.70b {t1='AxC', t2='A[^]B]C'} {t1 GLOB t2} 1
361 test_expr expr-6.70c {t1='A]C', t2='A[^]B]C'} {t1 GLOB t2} 0
362 test_expr expr-6.71 {t1='ABCDEFG', t2='A*[DE]G'} {t1 GLOB t2} 0
363 test_expr expr-6.72 {t1='ABCDEFG', t2='A*[^DE]G'} {t1 GLOB t2} 1
364 test_expr expr-6.73 {t1='ABCDEFG', t2='A*?G'} {t1 GLOB t2} 1
365 test_expr expr-6.74 {t1='AC', t2='A*C'} {t1 GLOB t2} 1
366 test_expr expr-6.75 {t1='AC', t2='A*?C'} {t1 GLOB t2} 0
379 test_expr expr-6.50 "t1='a\266c', t2='a?c'" {t1 GLOB t2} 1
380 test_expr expr-6.51 "t1='a\266', t2='a?'" {t1 GLOB t2} 1
381 test_expr expr-6.52 "t1='a\266', t2='a??'" {t1 GLOB t2} 0
382 test_expr expr-6.53 "t1='ax\266', t2='a??'" {t1 GLOB t2} 1
383 test_expr expr-6.54 "t1='ax\266', t2='a?\266'" {t1 GLOB t2} 1
384 test_expr expr-6.55 "t1='ax\266y\266', t2='a*\266'" {t1 GLOB t2} 1
385 test_expr expr-6.56 "t1='a\266b', t2='a\[x\266y\]b'" {t1 GLOB t2} 1
386 test_expr expr-6.57 "t1='a\266b', t2='a\[\260-\270\]b'" {t1 GLOB t2} 1
387 test_expr expr-6.58 "t1='a\266b', t2='a\[\266-\270\]b'" {t1 GLOB t2} 1
388 test_expr expr-6.59 "t1='a\266b', t2='a\[\267-\270\]b'" {t1 GLOB t2} 0
389 test_expr expr-6.60 "t1='a\266b', t2='a\[x-\267\]b'" {t1 GLOB t2} 1
390 test_expr expr-6.61 "t1='a\266b', t2='a\[x-\266\]b'" {t1 GLOB t2} 1
391 test_expr expr-6.62 "t1='a\266b', t2='a\[x-\265\]b'" {t1 GLOB t2} 0
394 test_expr expr-6.63 {t1=NULL, t2='a*?c'} {t1 GLOB t2} {{}}
395 test_expr expr-6.64 {t1='ac', t2=NULL} {t1 GLOB t2} {{}}
396 test_expr expr-6.65 {t1=NULL, t2='a*?c'} {t1 NOT GLOB t2} {{}}
397 test_expr expr-6.66 {t1='ac', t2=NULL} {t1 NOT GLOB t2} {{}}