summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-09-15 16:22:34 +0300
committerunknown <monty@hundin.mysql.fi>2001-09-15 16:22:34 +0300
commit7dc2f1a69e61a4370ae06edc77de0fd5bf98e6fb (patch)
tree8783b1d57a27183a301b7fdfaaf671cf498a7e8e /sql/sql_select.cc
parentef2e750842f4f913ef93c404e4d2d05e95a4cfd0 (diff)
downloadmariadb-git-7dc2f1a69e61a4370ae06edc77de0fd5bf98e6fb.tar.gz
Portability fixes
libmysql/libmysql.c: Cleanup & portability fixes
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 38aedbb4193..3ae337c47ed 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -4859,7 +4859,7 @@ end_write(JOIN *join, JOIN_TAB *join_tab __attribute__((unused)),
DBUG_RETURN(1); // Not a table_is_full error
table->uniques=0; // To ensure rows are the same
}
- if (++join->send_records >= join->tmp_table_param.end_write_records &
+ if (++join->send_records >= join->tmp_table_param.end_write_records &&
join->do_send_rows)
{
if (!(join->select_options & OPTION_FOUND_ROWS))