summaryrefslogtreecommitdiff
path: root/sql/sql_cursor.cc
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2005-11-21 10:46:17 +0100
committerunknown <mskold@mysql.com>2005-11-21 10:46:17 +0100
commit76611e3b53679eab6eb2e655e0f3a33df00a5f3a (patch)
treecf76f66b624c01c37a714e6eaa76678598e1fceb /sql/sql_cursor.cc
parent55a82cd031244647f896a92cfa25f50a63e7767f (diff)
parent32e6e6aac6520dca9af8b6e00a49f25c2f2a4d73 (diff)
downloadmariadb-git-76611e3b53679eab6eb2e655e0f3a33df00a5f3a.tar.gz
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
Diffstat (limited to 'sql/sql_cursor.cc')
-rw-r--r--sql/sql_cursor.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_cursor.cc b/sql/sql_cursor.cc
index fc169fe18e8..89c160cd70a 100644
--- a/sql/sql_cursor.cc
+++ b/sql/sql_cursor.cc
@@ -661,11 +661,10 @@ Materialized_cursor::~Materialized_cursor()
bool Select_materialize::send_fields(List<Item> &list, uint flags)
{
- bool rc;
DBUG_ASSERT(table == 0);
if (create_result_table(unit->thd, unit->get_unit_column_types(),
FALSE, thd->options | TMP_TABLE_ALL_COLUMNS, ""))
return TRUE;
- return rc;
+ return FALSE;
}