Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
cdcf112a
Commit
cdcf112a
authored
Jan 21, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test moved to an appropriate file
parent
0ef9acc9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
19 deletions
+19
-19
mysql-test/r/myisam.result
mysql-test/r/myisam.result
+8
-0
mysql-test/r/range.result
mysql-test/r/range.result
+0
-8
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+11
-0
mysql-test/t/range.test
mysql-test/t/range.test
+0
-11
No files found.
mysql-test/r/myisam.result
View file @
cdcf112a
...
@@ -395,3 +395,11 @@ concat(a,'.')
...
@@ -395,3 +395,11 @@ concat(a,'.')
aaa.
aaa.
aaa .
aaa .
drop table t1;
drop table t1;
create table t1(a text not null, b text not null, c text not null, index (a(10),b(10),c(10)));
insert into t1 values('807780', '477', '165');
insert into t1 values('807780', '477', '162');
insert into t1 values('807780', '472', '162');
select * from t1 where a='807780' and b='477' and c='165';
a b c
807780 477 165
drop table t1;
mysql-test/r/range.result
View file @
cdcf112a
...
@@ -300,11 +300,3 @@ SELECT COUNT(*) FROM t1 WHERE (c=0 and b=1) or (c=0 and a=1);
...
@@ -300,11 +300,3 @@ SELECT COUNT(*) FROM t1 WHERE (c=0 and b=1) or (c=0 and a=1);
COUNT(*)
COUNT(*)
6
6
DROP TABLE t1;
DROP TABLE t1;
create table t1(a text not null, b text not null, c text not null, index (a(10),b(10),c(10)));
insert into t1 values('807780', '477', '165');
insert into t1 values('807780', '477', '162');
insert into t1 values('807780', '472', '162');
select * from t1 where a='807780' and b='477' and c='165';
a b c
807780 477 165
drop table t1;
mysql-test/t/myisam.test
View file @
cdcf112a
...
@@ -395,3 +395,14 @@ repair table t1;
...
@@ -395,3 +395,14 @@ repair table t1;
select
concat
(
a
,
'.'
)
from
t1
where
a
=
'aaa'
;
select
concat
(
a
,
'.'
)
from
t1
where
a
=
'aaa'
;
drop
table
t1
;
drop
table
t1
;
#
# Third bug in the same code (BUG#2295)
#
create
table
t1
(
a
text
not
null
,
b
text
not
null
,
c
text
not
null
,
index
(
a
(
10
),
b
(
10
),
c
(
10
)));
insert
into
t1
values
(
'807780'
,
'477'
,
'165'
);
insert
into
t1
values
(
'807780'
,
'477'
,
'162'
);
insert
into
t1
values
(
'807780'
,
'472'
,
'162'
);
select
*
from
t1
where
a
=
'807780'
and
b
=
'477'
and
c
=
'165'
;
drop
table
t1
;
mysql-test/t/range.test
View file @
cdcf112a
...
@@ -249,14 +249,3 @@ SELECT COUNT(*) FROM t1 WHERE (c=0 and a=1) or (c=0 and b=1);
...
@@ -249,14 +249,3 @@ SELECT COUNT(*) FROM t1 WHERE (c=0 and a=1) or (c=0 and b=1);
SELECT
COUNT
(
*
)
FROM
t1
WHERE
(
c
=
0
and
b
=
1
)
or
(
c
=
0
and
a
=
1
);
SELECT
COUNT
(
*
)
FROM
t1
WHERE
(
c
=
0
and
b
=
1
)
or
(
c
=
0
and
a
=
1
);
DROP
TABLE
t1
;
DROP
TABLE
t1
;
#
# BUG#2295 - range on blob
#
create
table
t1
(
a
text
not
null
,
b
text
not
null
,
c
text
not
null
,
index
(
a
(
10
),
b
(
10
),
c
(
10
)));
insert
into
t1
values
(
'807780'
,
'477'
,
'165'
);
insert
into
t1
values
(
'807780'
,
'477'
,
'162'
);
insert
into
t1
values
(
'807780'
,
'472'
,
'162'
);
select
*
from
t1
where
a
=
'807780'
and
b
=
'477'
and
c
=
'165'
;
drop
table
t1
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment