~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Brian Aker
  • Date: 2009-02-05 10:59:21 UTC
  • Revision ID: brian@tangent.org-20090205105921-2r59encsosh9roww
More class adoption/method

Show diffs side-by-side

added added

removed removed

Lines of Context:
1575
1575
    /* condition will be true on SP re-excuting */
1576
1576
    if (select_lex->item_list.elements != 0)
1577
1577
      select_lex->item_list.empty();
1578
 
    if (add_item_to_list(session, new Item_null()))
 
1578
    if (session->add_item_to_list(new Item_null()))
1579
1579
      goto error;
1580
1580
 
1581
1581
    session->set_proc_info("init");
2234
2234
  {
2235
2235
    end+= sprintf(buff, "@@session.%s", var_name);
2236
2236
    var->set_name(buff, end-buff, system_charset_info);
2237
 
    add_item_to_list(session, var);
 
2237
    session->add_item_to_list(var);
2238
2238
  }
2239
2239
  return;
2240
2240
}