summaryrefslogtreecommitdiff
path: root/sql/sql_derived.cc
diff options
context:
space:
mode:
authorvenu@myvenu.com <>2003-02-04 18:50:48 -0800
committervenu@myvenu.com <>2003-02-04 18:50:48 -0800
commit0516b2bfee2d3f3653c35cb9c3e9a0ef8683aeec (patch)
tree6a2652dcfe4e59b5f26ae036c699d8f1ce92851b /sql/sql_derived.cc
parent6a32ae735541b4780a209e883430ded343115792 (diff)
downloadmariadb-git-0516b2bfee2d3f3653c35cb9c3e9a0ef8683aeec.tar.gz
Windows compile fixups (To be verified by respective devs)
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r--sql/sql_derived.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc
index d1a232c35b6..ced3e3d4a98 100644
--- a/sql/sql_derived.cc
+++ b/sql/sql_derived.cc
@@ -71,7 +71,7 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit, TABLE_LIST *t)
TABLE_LIST *tables= (TABLE_LIST *)sl->table_list.first;
TMP_TABLE_PARAM tmp_table_param;
bool is_union= sl->next_select() && sl->next_select()->linkage == UNION_TYPE;
- bool is_subsel= sl->first_inner_unit();
+ bool is_subsel= sl->first_inner_unit() ? 1: 0;
SELECT_LEX_NODE *save_current_select= lex->current_select;
DBUG_ENTER("mysql_derived");