~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/insert_select.cc

Merge of Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <drizzled/show.h>
23
23
#include <drizzled/lock.h>
24
24
#include <drizzled/session.h>
 
25
#include <drizzled/probes.h>
25
26
#include <drizzled/statement/insert_select.h>
26
27
 
27
28
using namespace drizzled;
54
55
 
55
56
  if (! (res= session->openTablesLock(all_tables)))
56
57
  {
 
58
    DRIZZLE_INSERT_SELECT_START(session->query);
57
59
    /* Skip first table, which is the table we are inserting in */
58
60
    TableList *second_table= first_table->next_local;
59
61
    select_lex->table_list.first= (unsigned char*) second_table;