#At file:///export/home/jl208045/mysql/wl4800/mysql-next-mr-opt-backporting-wl4800/ based on revid:jorgen.loland@stripped
3248 Jorgen Loland 2011-01-11
WL4800 - review comment
enum variable does not need a typename
modified:
sql/sql_select.cc
=== modified file 'sql/sql_select.cc'
--- a/sql/sql_select.cc 2011-01-10 14:55:06 +0000
+++ b/sql/sql_select.cc 2011-01-11 08:26:43 +0000
@@ -817,8 +817,7 @@ bool resolve_subquery(THD *thd, JOIN *jo
{
DBUG_ENTER("resolve_subquery");
- enum subquery_type {SQ_NONE, SQ_SEMIJOIN, SQ_MATERIALIZATION};
- subquery_type sq_choice= SQ_NONE;
+ enum {SQ_NONE, SQ_SEMIJOIN, SQ_MATERIALIZATION} sq_choice= SQ_NONE;
bool types_problem= false; // if types prevented subq materialization
SELECT_LEX *select_lex= join->select_lex;
Attachment: [text/bzr-bundle] bzr/jorgen.loland@oracle.com-20110111082643-od2k4jhic0r0xwpo.bundle
| Thread |
|---|
| • bzr commit into mysql-next-mr-bugfixing branch (jorgen.loland:3248) | Jorgen Loland | 11 Jan |