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
d5342338
Commit
d5342338
authored
Mar 17, 2005
by
igor@rurik.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Manual merge
parents
845e02d3
6f5fbaad
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
44 additions
and
14 deletions
+44
-14
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
man/mysql.1.in
man/mysql.1.in
+1
-1
man/mysql_fix_privilege_tables.1.in
man/mysql_fix_privilege_tables.1.in
+1
-1
man/mysql_zap.1.in
man/mysql_zap.1.in
+1
-1
man/mysqlaccess.1.in
man/mysqlaccess.1.in
+1
-1
man/mysqladmin.1.in
man/mysqladmin.1.in
+1
-1
man/mysqld.1.in
man/mysqld.1.in
+1
-1
man/mysqld_multi.1.in
man/mysqld_multi.1.in
+1
-1
man/mysqld_safe.1.in
man/mysqld_safe.1.in
+1
-1
man/mysqldump.1.in
man/mysqldump.1.in
+1
-1
man/mysqlman.1.in
man/mysqlman.1.in
+1
-1
man/mysqlshow.1.in
man/mysqlshow.1.in
+1
-1
man/perror.1.in
man/perror.1.in
+1
-1
man/replace.1.in
man/replace.1.in
+1
-1
mysql-test/r/olap.result
mysql-test/r/olap.result
+13
-0
mysql-test/t/olap.test
mysql-test/t/olap.test
+16
-0
sql/sql_select.cc
sql/sql_select.cc
+1
-1
No files found.
BitKeeper/etc/logging_ok
View file @
d5342338
...
...
@@ -49,6 +49,7 @@ dlenev@jabberwock.localdomain
dlenev@mysql.com
ejonore@mc03.ndb.mysql.com
gbichot@quadita2.mysql.com
gbichot@quadxeon.mysql.com
georg@beethoven.local
georg@beethoven.site
georg@lmy002.wdf.sap.corp
...
...
man/mysql.1.in
View file @
d5342338
...
...
@@ -145,7 +145,7 @@ replace(1)
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.SH AUTHOR
...
...
man/mysql_fix_privilege_tables.1.in
View file @
d5342338
...
...
@@ -30,7 +30,7 @@ replace(1)
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.SH AUTHOR
...
...
man/mysql_zap.1.in
View file @
d5342338
...
...
@@ -44,7 +44,7 @@ replace(1)
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.SH AUTHOR
...
...
man/mysqlaccess.1.in
View file @
d5342338
...
...
@@ -110,7 +110,7 @@ replace(1)
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.SH AUTHOR
...
...
man/mysqladmin.1.in
View file @
d5342338
...
...
@@ -194,7 +194,7 @@ replace(1)
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.SH AUTHOR
...
...
man/mysqld.1.in
View file @
d5342338
...
...
@@ -219,7 +219,7 @@ replace(1)
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.SH AUTHOR
...
...
man/mysqld_multi.1.in
View file @
d5342338
...
...
@@ -74,7 +74,7 @@ replace(1)
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
...
...
man/mysqld_safe.1.in
View file @
d5342338
...
...
@@ -76,7 +76,7 @@ replace(1)
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.SH AUTHOR
...
...
man/mysqldump.1.in
View file @
d5342338
...
...
@@ -263,7 +263,7 @@ replace(1)
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.SH AUTHOR
...
...
man/mysqlman.1.in
View file @
d5342338
...
...
@@ -9,7 +9,7 @@ In most cases, you can run the executable from the command line with a "--help"
argument to display a brief summary of the executable's arguments and function.
For more information about MySQL, please refer to the MySQL reference manual,
which may already be installed locally and which is also available online at
http://dev.mysql.com/doc/
http://dev.mysql.com/doc/
mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.\" end of man page
man/mysqlshow.1.in
View file @
d5342338
...
...
@@ -83,7 +83,7 @@ replace(1)
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.SH AUTHOR
...
...
man/perror.1.in
View file @
d5342338
...
...
@@ -43,7 +43,7 @@ replace(1)
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.SH AUTHOR
...
...
man/replace.1.in
View file @
d5342338
...
...
@@ -57,7 +57,7 @@ perror(1),
.P
For more information please refer to the MySQL reference
manual, which may already be installed locally and which
is also available online at http://
www.mysql.com/doc/en/
is also available online at http://
dev.mysql.com/doc/mysql/en
.SH BUGS
Please refer to http://bugs.mysql.com/ to report bugs.
.SH AUTHOR
...
...
mysql-test/r/olap.result
View file @
d5342338
...
...
@@ -379,3 +379,16 @@ a sum(b)
4 4
NULL 14
DROP TABLE t1;
CREATE TABLE t1 (a int, b int);
INSERT INTO t1 VALUES
(1,4),
(2,2), (2,2),
(4,1), (4,1), (4,1), (4,1),
(2,1), (2,1);
SELECT a, SUM(b) FROM t1 GROUP BY a WITH ROLLUP LIMIT 1;
a SUM(b)
1 4
SELECT SQL_CALC_FOUND_ROWS a, SUM(b) FROM t1 GROUP BY a WITH ROLLUP LIMIT 1;
a SUM(b)
1 4
DROP TABLE t1;
mysql-test/t/olap.test
View file @
d5342338
...
...
@@ -155,3 +155,19 @@ SELECT DISTINCT a, sum(b) FROM t1 GROUP BY a,b WITH ROLLUP;
DROP
TABLE
t1
;
#
# Tests for bugs #8617: SQL_CACL_FOUND_ROWS with rollup and limit
#
CREATE
TABLE
t1
(
a
int
,
b
int
);
INSERT
INTO
t1
VALUES
(
1
,
4
),
(
2
,
2
),
(
2
,
2
),
(
4
,
1
),
(
4
,
1
),
(
4
,
1
),
(
4
,
1
),
(
2
,
1
),
(
2
,
1
);
SELECT
a
,
SUM
(
b
)
FROM
t1
GROUP
BY
a
WITH
ROLLUP
LIMIT
1
;
SELECT
SQL_CALC_FOUND_ROWS
a
,
SUM
(
b
)
FROM
t1
GROUP
BY
a
WITH
ROLLUP
LIMIT
1
;
DROP
TABLE
t1
;
sql/sql_select.cc
View file @
d5342338
...
...
@@ -12736,7 +12736,7 @@ int JOIN::rollup_send_data(uint idx)
ref_pointer_array_size
);
if
((
!
having
||
having
->
val_int
()))
{
if
(
send_records
<
unit
->
select_limit_cnt
&&
if
(
send_records
<
unit
->
select_limit_cnt
&&
do_send_rows
&&
result
->
send_data
(
rollup
.
fields
[
i
]))
return
1
;
send_records
++
;
...
...
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