My Project
|
00001 #ifndef SQL_RESOLVER_INCLUDED 00002 #define SQL_RESOLVER_INCLUDED 00003 00004 /* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; version 2 of the License. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ 00018 00021 int setup_order(THD *thd, Ref_ptr_array ref_pointer_array, TABLE_LIST *tables, 00022 List<Item> &fields, List <Item> &all_fields, ORDER *order); 00023 bool fix_inner_refs(THD *thd, List<Item> &all_fields, SELECT_LEX *select, 00024 Ref_ptr_array ref_pointer_array, ORDER *group_list= NULL); 00025 bool subquery_allows_materialization(Item_in_subselect *predicate, 00026 THD *thd, SELECT_LEX *select_lex, 00027 const SELECT_LEX *outer); 00028 00029 #endif /* SQL_RESOLVER_INCLUDED */