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
d1b9ce83
Commit
d1b9ce83
authored
Apr 01, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1
into mdk10.(none):/home/reggie/bk/mysql-4.1
parents
00a549a5
0344bf16
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
6 deletions
+9
-6
mysql-test/r/group_by.result
mysql-test/r/group_by.result
+1
-1
mysql-test/t/group_by.test
mysql-test/t/group_by.test
+2
-1
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+2
-1
scripts/make_win_src_distribution.sh
scripts/make_win_src_distribution.sh
+1
-1
sql/sql_select.cc
sql/sql_select.cc
+3
-2
No files found.
mysql-test/r/group_by.result
View file @
d1b9ce83
...
@@ -693,7 +693,7 @@ concat('val-', x3.a + 3*x4.a), -- 12
...
@@ -693,7 +693,7 @@ concat('val-', x3.a + 3*x4.a), -- 12
concat('val-', @a:=x3.a + 3*x4.a + 12*C.a), -- 120
concat('val-', @a:=x3.a + 3*x4.a + 12*C.a), -- 120
concat('val-', @a + 120*D.a)
concat('val-', @a + 120*D.a)
from t1 x3, t1 x4, t1 C, t1 D where x3.a < 3 and x4.a < 4 and D.a < 4;
from t1 x3, t1 x4, t1 C, t1 D where x3.a < 3 and x4.a < 4 and D.a < 4;
delete from t2 where a = 2 and b = 'val-2' limit 30;
delete from t2 where a = 2 and b = 'val-2'
order by a,b,c,d
limit 30;
explain select c from t2 where a = 2 and b = 'val-2' group by c;
explain select c from t2 where a = 2 and b = 'val-2' group by c;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ref PRIMARY,a PRIMARY 400 const,const 6 Using where
1 SIMPLE t2 ref PRIMARY,a PRIMARY 400 const,const 6 Using where
...
...
mysql-test/t/group_by.test
View file @
d1b9ce83
...
@@ -508,7 +508,8 @@ insert into t2 select
...
@@ -508,7 +508,8 @@ insert into t2 select
concat
(
'val-'
,
@
a
:=
x3
.
a
+
3
*
x4
.
a
+
12
*
C
.
a
),
--
120
concat
(
'val-'
,
@
a
:=
x3
.
a
+
3
*
x4
.
a
+
12
*
C
.
a
),
--
120
concat
(
'val-'
,
@
a
+
120
*
D
.
a
)
concat
(
'val-'
,
@
a
+
120
*
D
.
a
)
from
t1
x3
,
t1
x4
,
t1
C
,
t1
D
where
x3
.
a
<
3
and
x4
.
a
<
4
and
D
.
a
<
4
;
from
t1
x3
,
t1
x4
,
t1
C
,
t1
D
where
x3
.
a
<
3
and
x4
.
a
<
4
and
D
.
a
<
4
;
delete
from
t2
where
a
=
2
and
b
=
'val-2'
limit
30
;
delete
from
t2
where
a
=
2
and
b
=
'val-2'
order
by
a
,
b
,
c
,
d
limit
30
;
explain
select
c
from
t2
where
a
=
2
and
b
=
'val-2'
group
by
c
;
explain
select
c
from
t2
where
a
=
2
and
b
=
'val-2'
group
by
c
;
select
c
from
t2
where
a
=
2
and
b
=
'val-2'
group
by
c
;
select
c
from
t2
where
a
=
2
and
b
=
'val-2'
group
by
c
;
...
...
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
d1b9ce83
...
@@ -2227,8 +2227,9 @@ void Dbdict::checkSchemaStatus(Signal* signal)
...
@@ -2227,8 +2227,9 @@ void Dbdict::checkSchemaStatus(Signal* signal)
restartCreateTab
(
signal
,
tableId
,
oldEntry
,
false
);
restartCreateTab
(
signal
,
tableId
,
oldEntry
,
false
);
return
;
return
;
}
//if
}
//if
break
;
}
}
ndbrequire
(
ok
);
break
;
}
}
case
SchemaFile
:
:
DROP_TABLE_STARTED
:
case
SchemaFile
:
:
DROP_TABLE_STARTED
:
jam
();
jam
();
...
...
scripts/make_win_src_distribution.sh
View file @
d1b9ce83
...
@@ -251,7 +251,7 @@ copy_dir_dirs() {
...
@@ -251,7 +251,7 @@ copy_dir_dirs() {
for
i
in
client dbug extra heap include isam
\
for
i
in
client dbug extra heap include isam
\
libmysql libmysqld merge myisam
\
libmysql libmysqld merge myisam
\
myisammrg mysys regex sql strings sql-common
\
myisammrg mysys regex sql strings sql-common
sql/examples
\
tools vio zlib
tools vio zlib
do
do
copy_dir_files
$i
copy_dir_files
$i
...
...
sql/sql_select.cc
View file @
d1b9ce83
...
@@ -7179,8 +7179,9 @@ test_if_skip_sort_order(JOIN_TAB *tab,ORDER *order,ha_rows select_limit,
...
@@ -7179,8 +7179,9 @@ test_if_skip_sort_order(JOIN_TAB *tab,ORDER *order,ha_rows select_limit,
/*
/*
We'll use ref access method on key new_ref_key. In general case
We'll use ref access method on key new_ref_key. In general case
the index search tuple for new_ref_key will be different (e.g.
the index search tuple for new_ref_key will be different (e.g.
when one of the indexes only covers prefix of the field, see
when one index is defined as (part1, part2, ...) and another as
BUG#9213 in group_by.test).
(part1, part2(N), ...) and the WHERE clause contains
"part1 = const1 AND part2=const2".
So we build tab->ref from scratch here.
So we build tab->ref from scratch here.
*/
*/
KEYUSE
*
keyuse
=
tab
->
keyuse
;
KEYUSE
*
keyuse
=
tab
->
keyuse
;
...
...
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