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
7e8b8cdd
Commit
7e8b8cdd
authored
Nov 06, 2002
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Plain Diff
Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-in-4.1
parents
c0932c7b
38787c5d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
sql/sql_select.cc
sql/sql_select.cc
+4
-6
No files found.
sql/sql_select.cc
View file @
7e8b8cdd
...
...
@@ -444,7 +444,7 @@ JOIN::optimize()
best_read
>
(
double
)
thd
->
variables
.
max_join_size
&&
!
(
select_options
&
SELECT_DESCRIBE
))
{
/* purecov: inspected */
result
->
send_error
(
ER_TOO_BIG_SELECT
,
ER
(
ER_TOO_BIG_SELECT
));
/* purecov: inspected */
my_message
(
ER_TOO_BIG_SELECT
,
ER
(
ER_TOO_BIG_SELECT
),
MYF
(
0
));
error
=
1
;
/* purecov: inspected */
DBUG_RETURN
(
-
1
);
}
...
...
@@ -670,10 +670,7 @@ JOIN::exec()
if
(
!
having
||
having
->
val_int
())
{
if
(
do_send_rows
&&
result
->
send_data
(
fields_list
))
{
result
->
send_error
(
0
,
NullS
);
/* purecov: inspected */
error
=
1
;
}
else
error
=
(
int
)
result
->
send_eof
();
}
...
...
@@ -1092,12 +1089,13 @@ err:
thd
->
limit_found_rows
=
join
->
send_records
;
thd
->
examined_row_count
=
join
->
examined_rows
;
thd
->
proc_info
=
"end"
;
int
error
=
(
fake_select_lex
?
0
:
join
->
cleanup
(
thd
))
||
thd
->
net
.
report_error
;
int
error
=
(
fake_select_lex
?
join
->
error
:
join
->
cleanup
(
thd
))
||
thd
->
net
.
report_error
;
delete
join
;
DBUG_RETURN
(
error
);
}
else
DBUG_RETURN
(
0
);
DBUG_RETURN
(
join
->
error
);
}
/*****************************************************************************
...
...
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