~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

Refactor unused code

Show diffs side-by-side

added added

removed removed

Lines of Context:
913
913
    Reset rand_used so that detection of calls to rand() will save random
914
914
    seeds if needed by the slave.
915
915
  */
916
 
  {
917
 
    /* Forget those values, for next binlogger: */
918
 
    auto_inc_intervals_in_cur_stmt_for_binlog.empty();
919
 
  }
920
916
  if (first_successful_insert_id_in_cur_stmt > 0)
921
917
  {
922
918
    /* set what LAST_INSERT_ID() will return */
1750
1746
{
1751
1747
  free_list= 0;
1752
1748
  select_number= 1;
1753
 
  /*
1754
 
    Those two lines below are theoretically unneeded as
1755
 
    Session::cleanup_after_query() should take care of this already.
1756
 
  */
1757
 
  auto_inc_intervals_in_cur_stmt_for_binlog.empty();
1758
1749
 
1759
1750
  is_fatal_error= false;
1760
1751
  server_status&= ~ (SERVER_MORE_RESULTS_EXISTS |