Drizzled Public API Documentation

pars0opt.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002 
00003 Copyright (C) 1997, 2009, Innobase Oy. All Rights Reserved.
00004 
00005 This program is free software; you can redistribute it and/or modify it under
00006 the terms of the GNU General Public License as published by the Free Software
00007 Foundation; version 2 of the License.
00008 
00009 This program is distributed in the hope that it will be useful, but WITHOUT
00010 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00011 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
00012 
00013 You should have received a copy of the GNU General Public License along with
00014 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
00015 St, Fifth Floor, Boston, MA 02110-1301 USA
00016 
00017 *****************************************************************************/
00018 
00019 /**************************************************/
00026 #pragma once
00027 #ifndef pars0opt_h
00028 #define pars0opt_h
00029 
00030 #include "univ.i"
00031 #include "que0types.h"
00032 #include "usr0types.h"
00033 #include "pars0sym.h"
00034 #include "dict0types.h"
00035 #include "row0sel.h"
00036 
00037 /*******************************************************************/
00041 UNIV_INTERN
00042 void
00043 opt_search_plan(
00044 /*============*/
00045   sel_node_t* sel_node);  
00046 /*******************************************************************/
00053 UNIV_INTERN
00054 void
00055 opt_find_all_cols(
00056 /*==============*/
00057   ibool   copy_val, 
00059   dict_index_t* index,    
00060   sym_node_list_t* col_list,  
00062   plan_t*   plan,   
00063   que_node_t* exp);   
00064 /********************************************************************/
00066 UNIV_INTERN
00067 void
00068 opt_print_query_plan(
00069 /*=================*/
00070   sel_node_t* sel_node);  
00072 #ifndef UNIV_NONINL
00073 #include "pars0opt.ic"
00074 #endif
00075 
00076 #endif