diff options
author | unknown <monty@hundin.mysql.fi> | 2002-03-27 06:44:23 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-03-27 06:44:23 +0200 |
commit | e82a6417c4687bc2d3bf9e3405f48e5a6fca7051 (patch) | |
tree | 8f0178a5f508790f9d8cddcb58c72fca3ae999cd /mysql-test | |
parent | d2ef10f11b99666beae3c8f913b69d95af56a3e4 (diff) | |
parent | 1681f502bd7b4fb00f815e03a5f1a5409e779d0c (diff) | |
download | mariadb-git-e82a6417c4687bc2d3bf9e3405f48e5a6fca7051.tar.gz |
merge (remove conflicting zip files)
BitKeeper/etc/logging_ok:
auto-union
BitKeeper/deleted/.del-ChangeLog:
Delete: zlib/ChangeLog
BitKeeper/deleted/.del-descrip.mms:
Delete: zlib/descrip.mms
BitKeeper/deleted/.del-zlib.def:
Delete: zlib/os2/zlib.def
BitKeeper/deleted/.del-example.c:
Delete: zlib/example.c
BitKeeper/deleted/.del-faq:
Delete: zlib/faq
BitKeeper/deleted/.del-gzio.c:
Delete: zlib/gzio.c
BitKeeper/deleted/.del-index:
Delete: zlib/index
BitKeeper/deleted/.del-infblock.c:
Delete: zlib/infblock.c
BitKeeper/deleted/.del-infblock.h:
Delete: zlib/infblock.h
BitKeeper/deleted/.del-infcodes.c:
Delete: zlib/infcodes.c
BitKeeper/deleted/.del-infcodes.h:
Delete: zlib/infcodes.h
BitKeeper/deleted/.del-inffast.c:
Delete: zlib/inffast.c
BitKeeper/deleted/.del-Make_vms.com:
Delete: zlib/Make_vms.com
BitKeeper/deleted/.del-inffast.h:
Delete: zlib/inffast.h
BitKeeper/deleted/.del-inffixed.h:
Delete: zlib/inffixed.h
BitKeeper/deleted/.del-inflate.c:
Delete: zlib/inflate.c
BitKeeper/deleted/.del-inftrees.c:
Delete: zlib/inftrees.c
BitKeeper/deleted/.del-inftrees.h:
Delete: zlib/inftrees.h
BitKeeper/deleted/.del-infutil.c:
Delete: zlib/infutil.c
BitKeeper/deleted/.del-infutil.h:
Delete: zlib/infutil.h
BitKeeper/deleted/.del-maketree.c:
Delete: zlib/maketree.c
BitKeeper/deleted/.del-minigzip.c:
Delete: zlib/minigzip.c
BitKeeper/deleted/.del-readme:
Delete: zlib/readme
BitKeeper/deleted/.del-Makefile.riscos:
Delete: zlib/Makefile.riscos
BitKeeper/deleted/.del-trees.c:
Delete: zlib/trees.c
BitKeeper/deleted/.del-trees.h:
Delete: zlib/trees.h
BitKeeper/deleted/.del-uncompr.c:
Delete: zlib/uncompr.c
BitKeeper/deleted/.del-zconf.h:
Delete: zlib/zconf.h
BitKeeper/deleted/.del-zlib.3:
Delete: zlib/zlib.3
BitKeeper/deleted/.del-zlib.dsp:
Delete: zlib/zlib.dsp
BitKeeper/deleted/.del-zlib.h:
Delete: zlib/zlib.h
BitKeeper/deleted/.del-zlib.html:
Delete: zlib/zlib.html
BitKeeper/deleted/.del-zutil.c:
Delete: zlib/zutil.c
BitKeeper/deleted/.del-zutil.h:
Delete: zlib/zutil.h
BitKeeper/deleted/.del-adler32.c:
Delete: zlib/adler32.c
BitKeeper/deleted/.del-Makefile.pup:
Delete: zlib/amiga/Makefile.pup
BitKeeper/deleted/.del-Makefile.sas:
Delete: zlib/amiga/Makefile.sas
BitKeeper/deleted/.del-README.contrib:
Delete: zlib/contrib/README.contrib
BitKeeper/deleted/.del-visual-basic.txt:
Delete: zlib/contrib/visual-basic.txt
BitKeeper/deleted/.del-gvmat32.asm:
Delete: zlib/contrib/asm386/gvmat32.asm
BitKeeper/deleted/.del-gvmat32c.c:
Delete: zlib/contrib/asm386/gvmat32c.c
BitKeeper/deleted/.del-mkgvmt32.bat:
Delete: zlib/contrib/asm386/mkgvmt32.bat
BitKeeper/deleted/.del-zlibvc.def:
Delete: zlib/contrib/asm386/zlibvc.def
BitKeeper/deleted/.del-zlibvc.dsp:
Delete: zlib/contrib/asm386/zlibvc.dsp
BitKeeper/deleted/.del-zlibvc.dsw:
Delete: zlib/contrib/asm386/zlibvc.dsw
BitKeeper/deleted/.del-algorithm.txt:
Delete: zlib/algorithm.txt
BitKeeper/deleted/.del-match.s:
Delete: zlib/contrib/asm586/match.s
BitKeeper/deleted/.del-readme.586:
Delete: zlib/contrib/asm586/readme.586
BitKeeper/deleted/.del-match.s~1:
Delete: zlib/contrib/asm686/match.s
BitKeeper/deleted/.del-readme.686:
Delete: zlib/contrib/asm686/readme.686
BitKeeper/deleted/.del-zlib.mak:
Delete: zlib/contrib/delphi/zlib.mak
BitKeeper/deleted/.del-zlibdef.pas:
Delete: zlib/contrib/delphi/zlibdef.pas
BitKeeper/deleted/.del-d_zlib.bpr:
Delete: zlib/contrib/delphi2/d_zlib.bpr
BitKeeper/deleted/.del-d_zlib.cpp:
Delete: zlib/contrib/delphi2/d_zlib.cpp
BitKeeper/deleted/.del-readme.txt:
Delete: zlib/contrib/delphi2/readme.txt
BitKeeper/deleted/.del-zlib.bpg:
Delete: zlib/contrib/delphi2/zlib.bpg
BitKeeper/deleted/.del-compress.c:
Delete: zlib/compress.c
BitKeeper/deleted/.del-zlib.bpr:
Delete: zlib/contrib/delphi2/zlib.bpr
BitKeeper/deleted/.del-zlib.cpp:
Delete: zlib/contrib/delphi2/zlib.cpp
BitKeeper/deleted/.del-zlib.pas:
Delete: zlib/contrib/delphi2/zlib.pas
BitKeeper/deleted/.del-zlib32.bpr:
Delete: zlib/contrib/delphi2/zlib32.bpr
BitKeeper/deleted/.del-zlib32.cpp:
Delete: zlib/contrib/delphi2/zlib32.cpp
BitKeeper/deleted/.del-test.cpp:
Delete: zlib/contrib/iostream/test.cpp
BitKeeper/deleted/.del-zfstream.cpp:
Delete: zlib/contrib/iostream/zfstream.cpp
BitKeeper/deleted/.del-zfstream.h:
Delete: zlib/contrib/iostream/zfstream.h
BitKeeper/deleted/.del-zstream.h:
Delete: zlib/contrib/iostream2/zstream.h
BitKeeper/deleted/.del-zstream_test.cpp:
Delete: zlib/contrib/iostream2/zstream_test.cpp
BitKeeper/deleted/.del-crc32.c:
Delete: zlib/crc32.c
BitKeeper/deleted/.del-ChangeLogUnzip:
Delete: zlib/contrib/minizip/ChangeLogUnzip
BitKeeper/deleted/.del-miniunz.c:
Delete: zlib/contrib/minizip/miniunz.c
BitKeeper/deleted/.del-minizip.c:
Delete: zlib/contrib/minizip/minizip.c
BitKeeper/deleted/.del-readme.txt~1:
Delete: zlib/contrib/minizip/readme.txt
BitKeeper/deleted/.del-unzip.c:
Delete: zlib/contrib/minizip/unzip.c
BitKeeper/deleted/.del-unzip.def:
Delete: zlib/contrib/minizip/unzip.def
BitKeeper/deleted/.del-unzip.h:
Delete: zlib/contrib/minizip/unzip.h
BitKeeper/deleted/.del-zip.c:
Delete: zlib/contrib/minizip/zip.c
BitKeeper/deleted/.del-zip.def:
Delete: zlib/contrib/minizip/zip.def
BitKeeper/deleted/.del-zip.h:
Delete: zlib/contrib/minizip/zip.h
BitKeeper/deleted/.del-deflate.c:
Delete: zlib/deflate.c
BitKeeper/deleted/.del-zlibvc.def~1:
Delete: zlib/contrib/minizip/zlibvc.def
BitKeeper/deleted/.del-zlibvc.dsp~1:
Delete: zlib/contrib/minizip/zlibvc.dsp
BitKeeper/deleted/.del-zlibvc.dsw~1:
Delete: zlib/contrib/minizip/zlibvc.dsw
BitKeeper/deleted/.del-makefile.w32:
Delete: zlib/contrib/untgz/makefile.w32
BitKeeper/deleted/.del-untgz.c:
Delete: zlib/contrib/untgz/untgz.c
BitKeeper/deleted/.del-Makefile.b32:
Delete: zlib/msdos/Makefile.b32
BitKeeper/deleted/.del-Makefile.bor:
Delete: zlib/msdos/Makefile.bor
BitKeeper/deleted/.del-Makefile.dj2:
Delete: zlib/msdos/Makefile.dj2
BitKeeper/deleted/.del-Makefile.emx:
Delete: zlib/msdos/Makefile.emx
BitKeeper/deleted/.del-Makefile.msc:
Delete: zlib/msdos/Makefile.msc
BitKeeper/deleted/.del-deflate.h:
Delete: zlib/deflate.h
BitKeeper/deleted/.del-Makefile.tc:
Delete: zlib/msdos/Makefile.tc
BitKeeper/deleted/.del-Makefile.w32:
Delete: zlib/msdos/Makefile.w32
BitKeeper/deleted/.del-Makefile.wat:
Delete: zlib/msdos/Makefile.wat
BitKeeper/deleted/.del-zlib.def~1:
Delete: zlib/msdos/zlib.def
BitKeeper/deleted/.del-zlib.rc:
Delete: zlib/msdos/zlib.rc
BitKeeper/deleted/.del-Makefile.emx~1:
Delete: zlib/nt/Makefile.emx
BitKeeper/deleted/.del-Makefile.gcc:
Delete: zlib/nt/Makefile.gcc
BitKeeper/deleted/.del-Makefile.nt:
Delete: zlib/nt/Makefile.nt
BitKeeper/deleted/.del-zlib.dnt:
Delete: zlib/nt/zlib.dnt
BitKeeper/deleted/.del-Makefile.os2:
Delete: zlib/os2/Makefile.os2
configure.in:
Auto merged
client/mysql.cc:
Auto merged
client/mysqldump.c:
Auto merged
sql/handler.cc:
Auto merged
sql/mysqld.cc:
Auto merged
Docs/manual.texi:
merge
sql/ha_innodb.cc:
merge
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/range.result | 67 | ||||
-rw-r--r-- | mysql-test/t/range.test | 63 |
2 files changed, 130 insertions, 0 deletions
diff --git a/mysql-test/r/range.result b/mysql-test/r/range.result index 990b00fc818..a1d258455dc 100644 --- a/mysql-test/r/range.result +++ b/mysql-test/r/range.result @@ -140,3 +140,70 @@ select * from t1 where aString > "believe in love" order by aString; aString believe in myself drop table t1; +CREATE TABLE t1 ( +t1ID int(10) unsigned NOT NULL auto_increment, +art char(1) binary NOT NULL default '', +KNR char(5) NOT NULL default '', +RECHNR char(6) NOT NULL default '', +POSNR char(2) NOT NULL default '', +ARTNR char(10) NOT NULL default '', +TEX char(70) NOT NULL default '', +PRIMARY KEY (t1ID), +KEY IdxArt (art), +KEY IdxKnr (KNR), +KEY IdxArtnr (ARTNR) +) TYPE=MyISAM; +INSERT INTO t1 (art) VALUES ('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'); +select count(*) from t1 where upper(art) = 'J'; +count(*) +602 +select count(*) from t1 where art = 'J' or art = 'j'; +count(*) +602 +select count(*) from t1 where art = 'j' or art = 'J'; +count(*) +602 +select count(*) from t1 where art = 'j'; +count(*) +389 +select count(*) from t1 where art = 'J'; +count(*) +213 +drop table t1; diff --git a/mysql-test/t/range.test b/mysql-test/t/range.test index 5dfce3ddcc9..278807eeea4 100644 --- a/mysql-test/t/range.test +++ b/mysql-test/t/range.test @@ -100,3 +100,66 @@ alter table t1 drop key aString; select * from t1 where aString < "believe in myself" order by aString; select * from t1 where aString > "believe in love" order by aString; drop table t1; + +# +# Problem with binary strings +# + +CREATE TABLE t1 ( + t1ID int(10) unsigned NOT NULL auto_increment, + art char(1) binary NOT NULL default '', + KNR char(5) NOT NULL default '', + RECHNR char(6) NOT NULL default '', + POSNR char(2) NOT NULL default '', + ARTNR char(10) NOT NULL default '', + TEX char(70) NOT NULL default '', + PRIMARY KEY (t1ID), + KEY IdxArt (art), + KEY IdxKnr (KNR), + KEY IdxArtnr (ARTNR) +) TYPE=MyISAM; + +INSERT INTO t1 (art) VALUES ('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'),('j'),('J'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'), +('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'),('j'); +select count(*) from t1 where upper(art) = 'J'; +select count(*) from t1 where art = 'J' or art = 'j'; +select count(*) from t1 where art = 'j' or art = 'J'; +select count(*) from t1 where art = 'j'; +select count(*) from t1 where art = 'J'; +drop table t1; |