My Project
sql_load.h
00001 /* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
00002 
00003    This program is free software; you can redistribute it and/or modify
00004    it under the terms of the GNU General Public License as published by
00005    the Free Software Foundation; version 2 of the License.
00006 
00007    This program is distributed in the hope that it will be useful,
00008    but WITHOUT ANY WARRANTY; without even the implied warranty of
00009    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00010    GNU General Public License for more details.
00011 
00012    You should have received a copy of the GNU General Public License
00013    along with this program; if not, write to the Free Software
00014    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
00015 
00016 #ifndef SQL_LOAD_INCLUDED
00017 #define SQL_LOAD_INCLUDED
00018 
00019 #include "sql_list.h"                           /* List */
00020 
00021 class Item;
00022 
00023 #include "sql_class.h"                          /* enum_duplicates */
00024 
00025 class sql_exchange;
00026 
00027 int mysql_load(THD *thd, sql_exchange *ex, TABLE_LIST *table_list,
00028                 List<Item> &fields_vars, List<Item> &set_fields,
00029                 List<Item> &set_values_list,
00030                 enum enum_duplicates handle_duplicates, bool ignore,
00031                 bool local_file);
00032 
00033 
00034 #endif /* SQL_LOAD_INCLUDED */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines