~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log_event.cc

  • Committer: Brian Aker
  • Date: 2008-11-21 01:23:06 UTC
  • Revision ID: brian@tangent.org-20081121012306-fbx9to6rgc8kursx
RemoveĀ first_successful_insert_id_in_prev_stmt_for_binlog

Show diffs side-by-side

added added

removed removed

Lines of Context:
1890
1890
  session->query_length= 0;
1891
1891
  pthread_mutex_unlock(&LOCK_thread_count);
1892
1892
  close_thread_tables(session);      
1893
 
  /*
1894
 
    As a disk space optimization, future masters will not log an event for
1895
 
    LAST_INSERT_ID() if that function returned 0 (and thus they will be able
1896
 
    to replace the Session::stmt_depends_on_first_successful_insert_id_in_prev_stmt
1897
 
    variable by (Session->first_successful_insert_id_in_prev_stmt > 0) ; with the
1898
 
    resetting below we are ready to support that.
1899
 
  */
1900
 
  session->first_successful_insert_id_in_prev_stmt_for_binlog= 0;
1901
1893
  session->first_successful_insert_id_in_prev_stmt= 0;
1902
1894
  session->stmt_depends_on_first_successful_insert_id_in_prev_stmt= 0;
1903
1895
  free_root(session->mem_root,MYF(MY_KEEP_PREALLOC));