~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/insert_select.cc

fixed build warnings

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) 2009 Sun Microsystems
 
4
 *  Copyright (C) 2009 Sun Microsystems, Inc.
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
62
62
    select_lex->table_list.first= (unsigned char*) second_table;
63
63
    select_lex->context.table_list=
64
64
      select_lex->context.first_name_resolution_table= second_table;
65
 
    res= mysql_insert_select_prepare(session);
 
65
    res= insert_select_prepare(session);
66
66
    if (! res && (sel_result= new select_insert(first_table,
67
67
                                                first_table->table,
68
68
                                                &session->lex->field_list,