~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2008-11-22 23:34:06 UTC
  • Revision ID: brian@tangent.org-20081122233406-fj063eeoy2dxvdmh
Removing more options around changing replication

Show diffs side-by-side

added added

removed removed

Lines of Context:
3630
3630
  return(0);
3631
3631
}
3632
3632
 
3633
 
 
3634
 
/**
3635
 
 
3636
 
  We just do row based binlogging.
3637
 
 
3638
 
 */
3639
 
 
3640
 
int decide_logging_format(Session *session)
3641
 
{
3642
 
  if (drizzle_bin_log.is_open() && (session->options & OPTION_BIN_LOG))
3643
 
    session->set_current_stmt_binlog_row_based();
3644
 
 
3645
 
  return 0;
3646
 
}
3647
 
 
3648
3633
/*
3649
3634
  Lock all tables in list
3650
3635
 
3684
3669
  *need_reopen= false;
3685
3670
 
3686
3671
  if (!tables)
3687
 
    return(decide_logging_format(session));
 
3672
    return 0;
3688
3673
 
3689
3674
  if (!session->locked_tables)
3690
3675
  {
3729
3714
    }
3730
3715
  }
3731
3716
 
3732
 
  return(decide_logging_format(session));
 
3717
  return 0;
3733
3718
}
3734
3719
 
3735
3720