~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/insert_select.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:32:20 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913013220-5r289ttkw5w5nm2p
Added calls to the dtrace probes related to insertion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
 
55
55
  if (! (res= session->openTablesLock(all_tables)))
56
56
  {
 
57
    DRIZZLE_INSERT_SELECT_START(session->query);
57
58
    /* Skip first table, which is the table we are inserting in */
58
59
    TableList *second_table= first_table->next_local;
59
60
    select_lex->table_list.first= (unsigned char*) second_table;