1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Changed to use my_global.h

Fixed problem with LIKE with latin1_de
Added parsing support of UNSIGNED LONG LONG
This commit is contained in:
monty@hundin.mysql.fi
2001-09-14 02:54:33 +03:00
parent e28586e005
commit 7cadc6e711
143 changed files with 261 additions and 179 deletions

View File

@ -128,7 +128,7 @@ DO_GDB=""
DO_DDD=""
DO_CLIENT_GDB=""
SLEEP_TIME=2
CHARACTER_SET=latin1_de
CHARACTER_SET=latin1
DBUSER=""
while test $# -gt 0; do

View File

@ -9,6 +9,8 @@ aeae 33
<EFBFBD><EFBFBD>a 32
aeb 6
<EFBFBD>c 5
<EFBFBD> 38
<EFBFBD> 39
e<EFBFBD> 28
o 37
oc 15
@ -36,8 +38,6 @@ ueb 12
<EFBFBD>c 7
uf 13
u<EFBFBD> 29
<EFBFBD> 38
<EFBFBD> 39
a b
a 35
ac 2
@ -49,6 +49,8 @@ aeae 33
<EFBFBD><EFBFBD>a 32
aeb 6
<EFBFBD>c 5
<EFBFBD> 38
<EFBFBD> 39
e<EFBFBD> 28
o 37
oc 15
@ -76,11 +78,7 @@ ueb 12
<EFBFBD>c 7
uf 13
u<EFBFBD> 29
<EFBFBD> 38
<EFBFBD> 39
a
<EFBFBD>
<EFBFBD>
u<EFBFBD>
uf
<EFBFBD>c
@ -108,6 +106,8 @@ od
oc
o
e<EFBFBD>
<EFBFBD>
<EFBFBD>
<EFBFBD>c
aeb
<EFBFBD><EFBFBD>a
@ -121,11 +121,11 @@ a
Table Op Msg_type Msg_text
test.t1 check status OK
a b
<EFBFBD> 14
<EFBFBD>a 16
<EFBFBD>c 19
<EFBFBD>o 30
a b
<EFBFBD> 38
<EFBFBD> 39
a b
a 35
@ -166,3 +166,10 @@ strcmp('
1 1 1 1
strcmp('u','<27>a') strcmp('u','<27>')
1 1
a
abc
abcd
a
test
a
test

View File

@ -2,6 +2,9 @@ a
abc
abcd
a
abc
abcd
a
test
a
test

View File

@ -14,7 +14,7 @@ select a,b from t1 order by upper(a),b;
select a from t1 order by a desc;
check table t1;
select * from t1 where a like "<22>%";
select * from t1 where a like "%<25>%";
select * from t1 where a like binary "%<25>%";
select * from t1 where a like "%<25>%";
select * from t1 where a like "%U%";
select * from t1 where a like "%ss%";
@ -34,3 +34,13 @@ select strcmp('af','
select strcmp('<27>a','ss'),strcmp('ssa','<27>'),strcmp('sssb','s<>a'),strcmp('<27>','s');
select strcmp('u','<27>a'),strcmp('u','<27>');
#
# Some other simple tests with the current character set
#
create table t1 (a varchar(10), key(a));
insert into t1 values ("a"),("abc"),("abcd"),("hello"),("test");
select * from t1 where a like "abc%";
select * from t1 where a like "test%";
select * from t1 where a like "te_t";
drop table t1;

View File

@ -2,9 +2,11 @@
# Test of like
#
drop table if exists t1;
create table t1 (a varchar(10), key(a));
insert into t1 values ("a"),("abc"),("abcd"),("hello"),("test");
select * from t1 where a like "abc%";
select * from t1 where a like "ABC%";
select * from t1 where a like "test%";
select * from t1 where a like "te_t";
drop table t1;