~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_load.h

Merge Joe, plus I updated the tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
31
31
class file_exchange;
32
32
class Session;
33
33
class Table;
34
 
class CopyInfo;
35
 
 
36
 
int load(Session *session, file_exchange *ex, TableList *table_list,
 
34
 
 
35
typedef struct st_copy_info COPY_INFO;
 
36
 
 
37
int mysql_load(Session *session, file_exchange *ex, TableList *table_list,
37
38
               List<Item> &fields_vars, List<Item> &set_fields,
38
39
               List<Item> &set_values_list,
39
40
               enum enum_duplicates handle_duplicates, bool ignore);
40
41
    
41
 
int write_record(Session *session, Table *table, CopyInfo *info);
 
42
int write_record(Session *session, Table *table, COPY_INFO *info);
42
43
 
43
44
} /* namespace drizzled */
44
45