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
402e8e5c
Commit
402e8e5c
authored
Dec 05, 2000
by
monty@narttu.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for core dump in DISTINCT
parent
a2fc71d3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
Docs/manual.texi
Docs/manual.texi
+3
-0
sql/sql_select.cc
sql/sql_select.cc
+3
-1
No files found.
Docs/manual.texi
View file @
402e8e5c
...
@@ -39222,6 +39222,9 @@ though, so Version 3.23 is not released as a stable version yet.
...
@@ -39222,6 +39222,9 @@ though, so Version 3.23 is not released as a stable version yet.
@appendixsubsec Changes in release 3.23.29
@appendixsubsec Changes in release 3.23.29
@itemize @bullet
@itemize @bullet
@item
@item
Fixed bug when doing a @code{SELECT DISTINCT ... table1 LEFT JOIN
table2..] when table2 was empty.
@item
Added @code{--abort-slave-event-count} and
Added @code{--abort-slave-event-count} and
@code{--disconnect-slave-event-count} options to @code{mysqld} for
@code{--disconnect-slave-event-count} options to @code{mysqld} for
debugging and testing of replication
debugging and testing of replication
sql/sql_select.cc
View file @
402e8e5c
...
@@ -5218,8 +5218,10 @@ remove_duplicates(JOIN *join, TABLE *entry,List<Item> &fields)
...
@@ -5218,8 +5218,10 @@ remove_duplicates(JOIN *join, TABLE *entry,List<Item> &fields)
List_iterator
<
Item
>
it
(
fields
);
List_iterator
<
Item
>
it
(
fields
);
Item
*
item
;
Item
*
item
;
while
((
item
=
it
++
))
while
((
item
=
it
++
))
if
(
item
->
tmp_table_field
())
{
if
(
item
->
tmp_table_field
()
&&
!
item
->
const_item
())
field_count
++
;
field_count
++
;
}
if
(
!
field_count
)
if
(
!
field_count
)
{
// only const items
{
// only const items
...
...
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