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
273537c2
Commit
273537c2
authored
Feb 11, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/M40/mysql-4.0
parents
e8070e9e
d37f7b03
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
7 deletions
+42
-7
BitKeeper/triggers/post-commit
BitKeeper/triggers/post-commit
+13
-7
mysql-test/r/select.result
mysql-test/r/select.result
+13
-0
mysql-test/t/select.test
mysql-test/t/select.test
+15
-0
sql/table.cc
sql/table.cc
+1
-0
No files found.
BitKeeper/triggers/post-commit
View file @
273537c2
...
@@ -20,13 +20,19 @@ if [ "$BK_STATUS" = OK ]
...
@@ -20,13 +20,19 @@ if [ "$BK_STATUS" = OK ]
then
then
CHANGESET
=
`
bk
-R
prs
-r
+
-h
-d
':P:::I:'
ChangeSet
`
CHANGESET
=
`
bk
-R
prs
-r
+
-h
-d
':P:::I:'
ChangeSet
`
BUG
=
`
bk
-R
prs
-r
+
-h
-d
':C:'
ChangeSet |
sed
-ne
's/^.*[Bb][Uu][Gg] *# *\([0-9][0-9]*\).*$/
BUG#
\1/p'
`
BUG
=
`
bk
-R
prs
-r
+
-h
-d
':C:'
ChangeSet |
sed
-ne
's/^.*[Bb][Uu][Gg] *# *\([0-9][0-9]*\).*$/\1/p'
`
if
[
"
$BUG
"
=
""
]
if
[
"
$BUG
"
=
""
]
then
then
TO
=
dev-public@mysql.com
TO
=
dev-public@mysql.com
BS
=
""
BH
=
""
else
else
TO
=
dev-bugs@mysql.com
TO
=
dev-bugs@mysql.com
BS
=
" BUG#
$BUG
"
# need newline here
BH
=
"X-Bug:
$BUG
"
fi
fi
#++
#++
# dev-public@ / dev-bugs@
# dev-public@ / dev-bugs@
...
@@ -37,8 +43,8 @@ fi
...
@@ -37,8 +43,8 @@ fi
List-ID: <bk.mysql-
$VERSION
>
List-ID: <bk.mysql-
$VERSION
>
From:
$FROM
From:
$FROM
To:
$TO
To:
$TO
Subject: bk commit -
$VERSION
tree (
$CHANGESET
)
$B
UG
Subject: bk commit -
$VERSION
tree (
$CHANGESET
)
$B
S
$BH
EOF
EOF
bk changes
-v
-r
+
bk changes
-v
-r
+
bk cset
-r
+
-d
bk cset
-r
+
-d
...
@@ -53,14 +59,14 @@ EOF
...
@@ -53,14 +59,14 @@ EOF
List-ID: <bk.mysql-
$VERSION
>
List-ID: <bk.mysql-
$VERSION
>
From:
$FROM
From:
$FROM
To:
$INTERNALS
To:
$INTERNALS
Subject: bk commit into
$VERSION
tree (
$CHANGESET
)
Subject: bk commit into
$VERSION
tree (
$CHANGESET
)
$BS
$BH
Below is the list of changes that have just been committed into a local
Below is the list of changes that have just been committed into a local
$VERSION
repository of
$USER
. When
$USER
does a push these changes will
$VERSION
repository of
$USER
. When
$USER
does a push these changes will
be propagated to the main repository and, within 24 hours after the
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
push, to the public repository.
For information on how to access the public repository
For information on how to access the public repository
see http://
www.mysql.com/doc/I/n/Installing_source_
tree.html
see http://
dev.mysql.com/doc/mysql/en/installing-source-
tree.html
EOF
EOF
bk changes
-v
-r
+
bk changes
-v
-r
+
...
@@ -80,7 +86,7 @@ EOF
...
@@ -80,7 +86,7 @@ EOF
List-ID: <bk.mysql-
$VERSION
>
List-ID: <bk.mysql-
$VERSION
>
From:
$FROM
From:
$FROM
To:
$DOCS
To:
$DOCS
Subject: bk commit -
$VERSION
tree (Manual) (
$CHANGESET
)
Subject: bk commit -
$VERSION
tree (Manual) (
$CHANGESET
)
$BS
EOF
EOF
bk changes
-v
-r
+
bk changes
-v
-r
+
...
...
mysql-test/r/select.result
View file @
273537c2
...
@@ -2364,3 +2364,16 @@ EXPLAIN SELECT i FROM t1 WHERE i=1;
...
@@ -2364,3 +2364,16 @@ EXPLAIN SELECT i FROM t1 WHERE i=1;
table type possible_keys key key_len ref rows Extra
table type possible_keys key key_len ref rows Extra
t1 const PRIMARY PRIMARY 4 const 1 Using index
t1 const PRIMARY PRIMARY 4 const 1 Using index
DROP TABLE t1;
DROP TABLE t1;
CREATE TABLE t1 ( a BLOB, INDEX (a(20)) );
CREATE TABLE t2 ( a BLOB, INDEX (a(20)) );
INSERT INTO t1 VALUES ('one'),('two'),('three'),('four'),('five');
INSERT INTO t2 VALUES ('one'),('two'),('three'),('four'),('five');
EXPLAIN SELECT * FROM t1 LEFT JOIN t2 USE INDEX (a) ON t1.a=t2.a;
table type possible_keys key key_len ref rows Extra
t1 ALL NULL NULL NULL NULL 5
t2 ref a a 23 t1.a 5
EXPLAIN SELECT * FROM t1 LEFT JOIN t2 FORCE INDEX (a) ON t1.a=t2.a;
table type possible_keys key key_len ref rows Extra
t1 ALL NULL NULL NULL NULL 5
t2 ref a a 23 t1.a 5
DROP TABLE t1, t2;
mysql-test/t/select.test
View file @
273537c2
...
@@ -1909,3 +1909,18 @@ EXPLAIN SELECT i FROM t1 WHERE i=1;
...
@@ -1909,3 +1909,18 @@ EXPLAIN SELECT i FROM t1 WHERE i=1;
EXPLAIN
SELECT
i
FROM
t1
WHERE
i
=
1
;
EXPLAIN
SELECT
i
FROM
t1
WHERE
i
=
1
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
#
# Test case for bug 7520: a wrong cost of the index for a BLOB field
#
CREATE
TABLE
t1
(
a
BLOB
,
INDEX
(
a
(
20
))
);
CREATE
TABLE
t2
(
a
BLOB
,
INDEX
(
a
(
20
))
);
INSERT
INTO
t1
VALUES
(
'one'
),(
'two'
),(
'three'
),(
'four'
),(
'five'
);
INSERT
INTO
t2
VALUES
(
'one'
),(
'two'
),(
'three'
),(
'four'
),(
'five'
);
EXPLAIN
SELECT
*
FROM
t1
LEFT
JOIN
t2
USE
INDEX
(a) ON t1.a=t2.a
;
EXPLAIN
SELECT
*
FROM
t1
LEFT
JOIN
t2
FORCE
INDEX
(
a
)
ON
t1
.
a
=
t2
.
a
;
DROP
TABLE
t1
,
t2
;
sql/table.cc
View file @
273537c2
...
@@ -486,6 +486,7 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag,
...
@@ -486,6 +486,7 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag,
if
(
!
(
field
->
flags
&
BINARY_FLAG
))
if
(
!
(
field
->
flags
&
BINARY_FLAG
))
keyinfo
->
flags
|=
HA_END_SPACE_KEY
;
keyinfo
->
flags
|=
HA_END_SPACE_KEY
;
}
}
set_if_bigger
(
outparam
->
max_key_length
,
keyinfo
->
key_length
);
if
(
i
==
0
&&
key
!=
primary_key
)
if
(
i
==
0
&&
key
!=
primary_key
)
field
->
flags
|=
field
->
flags
|=
((
keyinfo
->
flags
&
HA_NOSAME
)
&&
((
keyinfo
->
flags
&
HA_NOSAME
)
&&
...
...
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