5
* This material is provided "as is", with absolutely no warranty expressed
6
* or implied. Any use is at your own risk.
8
* Permission to use or copy this software for any purpose is hereby granted
9
* without fee, provided the above notices are retained on all copies.
10
* Permission to modify the code and to distribute modified code is granted,
11
* provided the above notices are retained, and a notice that the code was
12
* modified is included with the above copyright notice.
15
/* Copy data from a textfile to table */
17
#include "mysql_priv.h"
23
mysql_load_internal(THD * thd, sql_exchange * ex, TABLE_LIST * table_list,
24
List<Item> & fields, enum enum_duplicates handle_duplicates,
25
bool read_file_from_client, thr_lock_type lock_type);
28
mysql_load(THD * thd, sql_exchange * ex, TABLE_LIST * table_list,
29
List<Item> & fields, enum enum_duplicates handle_duplicates,
30
bool read_file_from_client, thr_lock_type lock_type)
32
printf("SWSOFT_MYSQL load: \n");
33
read_file_from_client = 0; //server is always in the same process
34
return mysql_load_internal(thd, ex, table_list, fields, handle_duplicates,
35
read_file_from_client, lock_type);
39
#define mysql_load mysql_load_internal
41
#include "../sql/sql_load.cc"