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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
67646ab1
Commit
67646ab1
authored
Jun 23, 2005
by
timour@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/timka/mysql/src/5.0-virgin
into mysql.com:/home/timka/mysql/src/5.0-dbg
parents
b3acc7fe
23a2643c
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
78 additions
and
41 deletions
+78
-41
Docs/Makefile.am
Docs/Makefile.am
+5
-5
Docs/Support/generate-flag-images
Docs/Support/generate-flag-images
+0
-31
Docs/Support/generate-text-files.pl
Docs/Support/generate-text-files.pl
+1
-1
extra/yassl/taocrypt/include/runtime.hpp
extra/yassl/taocrypt/include/runtime.hpp
+1
-1
mysql-test/r/index_merge_innodb.result
mysql-test/r/index_merge_innodb.result
+11
-0
mysql-test/r/subselect.result
mysql-test/r/subselect.result
+21
-0
mysql-test/t/index_merge_innodb.test
mysql-test/t/index_merge_innodb.test
+11
-0
mysql-test/t/subselect.test
mysql-test/t/subselect.test
+22
-0
sql/opt_range.cc
sql/opt_range.cc
+6
-3
No files found.
Docs/Makefile.am
View file @
67646ab1
...
...
@@ -36,22 +36,22 @@ CLEAN_FILES: $(txt_files)
GT
=
$(srcdir)
/Support/generate-text-files.pl
../INSTALL-SOURCE
:
mysql.info $(GT)
perl
-w
$(GT)
mysql.info
"
Installing"
"Tutorial
"
>
$@
perl
-w
$(GT)
mysql.info
"
installing-source"
"windows-source-build
"
>
$@
../INSTALL-WIN-SOURCE
:
mysql.info $(GT)
perl
-w
$(GT)
mysql.info
"
Windows source build"
"P
ost-installation"
>
$@
perl
-w
$(GT)
mysql.info
"
windows-source-build"
"p
ost-installation"
>
$@
# We put the description for the binary installation here so that
# people who download source wont have to see it. It is moved up to
# the toplevel by the script that makes the binary tar files.
INSTALL-BINARY
:
mysql.info $(GT)
perl
-w
$(GT)
mysql.info
"
Installing binary"
"Installing
source"
>
$@
perl
-w
$(GT)
mysql.info
"
installing-binary"
"installing-
source"
>
$@
../EXCEPTIONS-CLIENT
:
mysql.info $(GT)
perl
-w
$(GT)
mysql.info
"
MySQL FLOSS License Exception"
"Function I
ndex"
>
$@
perl
-w
$(GT)
mysql.info
"
mysql-floss-license-exception"
"function-i
ndex"
>
$@
../support-files/MacOSX/ReadMe.txt
:
mysql.info $(GT)
perl
-w
$(GT)
mysql.info
"
Mac OS X installation"
"NetWare
installation"
>
$@
perl
-w
$(GT)
mysql.info
"
mac-os-x-installation"
"netware-
installation"
>
$@
# Don't update the files from bitkeeper
%
::
SCCS/s.%
Docs/Support/generate-flag-images
deleted
100755 → 0
View file @
b3acc7fe
#!/bin/sh
flags
=
`
grep
@image mirrors.texi |
cut
-d
" "
-f1
|
cut
-d
/
-f2
|
tr
-d
"}"
|
sort
|
uniq
`
set
-x
cd
Flags
for
c
in
$flags
do
# For PNM, to be used later
giftopnm ../Raw-Flags/
$c
.gif | pnmscale
-xsize
30
>
$c
-tmp
.pnm
pnmpaste
$c
-tmp
.pnm 1 1 ../Images/flag-background.pnm
>
$c
.pnm
rm
-f
$c
-tmp
.pnm
# For GIF version
ppmtogif
$c
.pnm
>
$c
.gif
# or cjpeg -optimize -quality 70 -outfile $c.jpg
# For EPS version
pnmtops
-noturn
$c
.pnm
>
$c
.eps
# For PDF version
ps2pdf
$c
.eps
$c
.pdf
# For text version
echo
-n
""
>
$c
.txt
# PNM isn't really needed
rm
-f
$c
.pnm
done
Docs/Support/generate-text-files.pl
View file @
67646ab1
...
...
@@ -13,7 +13,7 @@ while (<IN>)
{
if
(
$in
)
{
if
(
/Node: $tnode,/
)
if
(
/Node: $tnode,/
||
/\[index/
)
{
$in
=
0
;
}
...
...
extra/yassl/taocrypt/include/runtime.hpp
View file @
67646ab1
...
...
@@ -25,7 +25,7 @@
#if !defined(yaSSL_NEW_HPP) && defined(__GNUC__)
#if !defined(yaSSL_NEW_HPP) && defined(__GNUC__)
&& !defined(__ICC)
#define yaSSL_NEW_HPP
...
...
mysql-test/r/index_merge_innodb.result
View file @
67646ab1
...
...
@@ -123,3 +123,14 @@ key1a = 2 and key1b is null and key3a = 2 and key3b is null;
count(*)
4
drop table t1,t2;
create table t1 (
id1 int,
id2 date ,
index idx2 (id1,id2),
index idx1 (id2)
) engine = innodb;
insert into t1 values(1,'20040101'), (2,'20040102');
select * from t1 where id1 = 1 and id2= '20040101';
id1 id2
1 2004-01-01
drop table t1;
mysql-test/r/subselect.result
View file @
67646ab1
...
...
@@ -2816,3 +2816,24 @@ select * from t1;
EMPNUM
E1
DROP TABLE t1,t2;
CREATE TABLE t1(select_id BIGINT, values_id BIGINT);
INSERT INTO t1 VALUES (1, 1);
CREATE TABLE t2 (select_id BIGINT, values_id BIGINT,
PRIMARY KEY(select_id,values_id));
INSERT INTO t2 VALUES (0, 1), (0, 2), (0, 3), (1, 5);
SELECT values_id FROM t1
WHERE values_id IN (SELECT values_id FROM t2
WHERE select_id IN (1, 0));
values_id
1
SELECT values_id FROM t1
WHERE values_id IN (SELECT values_id FROM t2
WHERE select_id BETWEEN 0 AND 1);
values_id
1
SELECT values_id FROM t1
WHERE values_id IN (SELECT values_id FROM t2
WHERE select_id = 0 OR select_id = 1);
values_id
1
DROP TABLE t1, t2;
mysql-test/t/index_merge_innodb.test
View file @
67646ab1
...
...
@@ -120,3 +120,14 @@ select count(*) from t1 where
drop
table
t1
,
t2
;
# Test for BUG#8441
create
table
t1
(
id1
int
,
id2
date
,
index
idx2
(
id1
,
id2
),
index
idx1
(
id2
)
)
engine
=
innodb
;
insert
into
t1
values
(
1
,
'20040101'
),
(
2
,
'20040102'
);
select
*
from
t1
where
id1
=
1
and
id2
=
'20040101'
;
drop
table
t1
;
mysql-test/t/subselect.test
View file @
67646ab1
...
...
@@ -1837,3 +1837,25 @@ WHERE t1.EMPNUM NOT IN
WHERE
t1
.
EMPNUM
=
t2
.
EMPNUM
);
select
*
from
t1
;
DROP
TABLE
t1
,
t2
;
#
# Test for bug #11487: range access in a subquery
#
CREATE
TABLE
t1
(
select_id
BIGINT
,
values_id
BIGINT
);
INSERT
INTO
t1
VALUES
(
1
,
1
);
CREATE
TABLE
t2
(
select_id
BIGINT
,
values_id
BIGINT
,
PRIMARY
KEY
(
select_id
,
values_id
));
INSERT
INTO
t2
VALUES
(
0
,
1
),
(
0
,
2
),
(
0
,
3
),
(
1
,
5
);
SELECT
values_id
FROM
t1
WHERE
values_id
IN
(
SELECT
values_id
FROM
t2
WHERE
select_id
IN
(
1
,
0
));
SELECT
values_id
FROM
t1
WHERE
values_id
IN
(
SELECT
values_id
FROM
t2
WHERE
select_id
BETWEEN
0
AND
1
);
SELECT
values_id
FROM
t1
WHERE
values_id
IN
(
SELECT
values_id
FROM
t2
WHERE
select_id
=
0
OR
select_id
=
1
);
DROP
TABLE
t1
,
t2
;
sql/opt_range.cc
View file @
67646ab1
...
...
@@ -2593,12 +2593,12 @@ static double ror_scan_selectivity(const ROR_INTERSECT_INFO *info,
{
tuple_arg
=
scan
->
sel_arg
;
/* Here we use the length of the first key part */
tuple_arg
->
store_min
(
key_part
->
length
,
&
key_ptr
,
0
);
tuple_arg
->
store_min
(
key_part
->
store_
length
,
&
key_ptr
,
0
);
}
while
(
tuple_arg
->
next_key_part
!=
sel_arg
)
{
tuple_arg
=
tuple_arg
->
next_key_part
;
tuple_arg
->
store_min
(
key_part
[
tuple_arg
->
part
].
length
,
&
key_ptr
,
0
);
tuple_arg
->
store_min
(
key_part
[
tuple_arg
->
part
].
store_
length
,
&
key_ptr
,
0
);
}
min_range
.
length
=
max_range
.
length
=
((
char
*
)
key_ptr
-
(
char
*
)
key_val
);
records
=
(
info
->
param
->
table
->
file
->
...
...
@@ -6021,7 +6021,10 @@ int QUICK_RANGE_SELECT::reset()
next
=
0
;
range
=
NULL
;
cur_range
=
(
QUICK_RANGE
**
)
ranges
.
buffer
;
if
(
file
->
inited
==
handler
::
NONE
&&
(
error
=
file
->
ha_index_init
(
index
)))
DBUG_RETURN
(
error
);
/* Do not allocate the buffers twice. */
if
(
multi_range_length
)
{
...
...
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